# Trailer de anime do pelicano: Beak Velocity, feito inteiramente em código

O benchmark do pelicano de bicicleta vira um trailer de anime de ação de 72 segundos, animado e musicado em código por um agente de IA. Prompt e passos.

Canonical URL: https://www.subclip.app/pt/agent-skills/community/examples/pelican-anime-trailer

## O que ele cria

O prompt pega o famoso benchmark do "pelicano andando de bicicleta" e pede um trailer de anime de ação totalmente sério, de 60 a 75 segundos, estrelado por um pelicano original. A pedalada precisa estar fisicamente certa: uma bicicleta com quadro diamante correto, pés nos pedais girando o pedivela em sincronia com a corrente e a roda traseira, asas no guidão, tudo conferido numa folha de turnaround e numa folha de ciclo de pedalada antes de animar. Ele sugere uma estrutura (abertura fria, cartões de lore, montagem de treino, rival, corrida morro abaixo, power-up, título e cena pós-créditos) e exige uma trilha de rock sintetizada.

O resultado é BEAK VELOCITY, com 72 s, criado no Claude Code com um modelo solicitado como claude-sonnet-5-5 (rotulado Sonnet 5.6 (next) por Rez). Um pelicano de cachecol disputa uma descida de montanha com um falcão-peregrino, vence, e na cena pós-créditos onze peixes saem do papo dele.

## O prompt (prompt.md)

O prompt.md exato do repositório, palavra por palavra. Todos os modelos do repositório receberam este mesmo prompt. Onde houver o placeholder {{FOLDER}}, troque por uma pasta de saída vazia antes de enviar.

```
Work through this task to the finished video in this turn. Don't stop to ask questions; make your own calls and note them in NOTES.md.

# "A pelican riding a bicycle": a badass anime trailer, made entirely in code

Output folder: `{{FOLDER}}` (create it; write only inside it).

## Goal
"Generate an SVG of a pelican riding a bicycle" is the famous meme benchmark for AI models: most of them draw a broken bike and a pelican that can't possibly ride it. Turn that pelican into the hero of a **badass anime trailer**, 60-75 seconds long. Play it completely straight, like a sports or action anime season trailer, with total sincerity and total hype. The joke is how seriously it takes itself.

## The hero
- An **original pelican** of your own design. No existing characters and no lookalikes.
- Big beak with a throat pouch, a long neck, webbed feet, and a strong anime silhouette: a determined eye with a highlight glint, and wind-swept feathers.
- Give it one signature accessory, such as a scarf, goggles or a headband, and maybe a scar.
- **Riding must be physically believable.** The bicycle is a correct diamond frame with two wheels, spokes, a chain, a crank and pedals, handlebars and a saddle. The pelican's feet are on the pedals, turning the crank in sync with the chain and the rear wheel. Its wings grip the bars. Getting this right is the whole point of the meme, so render a turnaround of the pelican on the bike and check the contact points before you animate.
- Optional: a rival of your own design, such as another bird on a sleeker bike.

## Suggested shape (change it if you have something better)
1. Cold open with a hook in the first 2 seconds: an extreme close-up of an eye opening, or a pedal clicking in.
2. Lore text cards (in code-drawn lettering, cut against the music), e.g. "They said a pelican could never ride."
3. Training montage: falling over, getting back up, rain, night roads.
4. The rival.
5. A mountain downhill race at a ridiculous speed: speed lines, sparks off the rim, sliding a hairpin, jumping a gap over a canyon or between rooftops.
6. The power-up moment: the aura ignites, wings spread, the beak opens in a silent scream.
7. Title card, then a short stinger gag after the title (for example, the pouch is full of fish).

## Anime look
- Cel shading with 2-3 tones, ink outlines with tapering line weight, and dramatic painted skies and backgrounds.
- Anime grammar:
  - speed lines, smear frames, and impact frames (ink-inverted, used sparingly)
  - camera shake, crash zooms and Dutch angles
  - held dramatic poses with a wind-blown hold
  - split-screen panels, and bold kinetic title typography
- Output 1920x1080 at **24 fps**. Animate the characters on twos (12 drawings per second) the way real anime does; camera moves and effects run on ones. The wheels must not look broken, so use motion blur or smear on the spokes.
- All lettering is drawn by your code (stroked or SDF letterforms). Don't use font files or system fonts. The title is yours to choose.

## Music and sound
- A hard-hitting, original anime-opening or trailer track synthesized in code, for example with numpy. Use no borrowed melodies.
- Arrangement: drums, distorted guitar (Karplus-Strong plus distortion), bass, strings and brass stabs, a riser into the drop, and a key change at the climax.
- Big hits synced to the cuts.
- Sound design: freewheel ticks, chain whir, wind roar, tire skids, whooshes and impacts.
- No TTS and no recorded or downloaded audio. A pelican squawk or a wordless battle cry synthesized in code is welcome if it sounds good.

## Rules
- Everything is made in code. No image, video, audio, font or 3D-model files, no generative models, no network requests, and no third-party characters.
- Make one self-contained index.html exposing `window.DURATION` and `window.renderAt(t)`. Each frame must be a deterministic, pure function of t. The renderer is up to you: Canvas2D, WebGL2 or WebGPU, with no libraries.
- Capture frame-exact with headless Edge or Chrome and pipe the frames to ffmpeg.
- Keep VRAM use reasonable and never kill processes you didn't start.

## Process and checks
1. Write TREATMENT.md first: the beats with timings, the pelican and bike design, the music plan, and the 3 moments meant to make people rewatch.
2. Render character_sheet.png: the pelican in 5 expressions, plus a pedal-cycle sheet showing the feet on the pedals across a full crank rotation. Check it before animating.
3. Build the film, then do at least 2 critique passes. Each pass:
   - render a contact sheet (one frame every 2 s) plus stills of the key moments, and look at them yourself
   - fix the weakest shots
   - be honest about whether it's actually badass and funny, or generic
4. Before delivery:
   - Luma audit: no unintended brightness pops between frames.
   - Flashes: at most 3 per second, with impact frames counted.
   - Audio: about −14 LUFS integrated, true peak ≤ −1 dBTP, no clipping.
   - Decode: full decode with `ffmpeg -v error` comes back clean, and audio and video durations match.

## Deliver (all in the output folder)
- index.html, plus src/ and tools/ with your source.
- pelican_trailer.mp4: H.264 crf 16, yuv420p, +faststart, AAC 320k.
- pelican_trailer_x.mp4: a smaller copy for X, around 8 Mbit/s.
- soundtrack.wav, contact_sheet.png, thumbnail.png, character_sheet.png.
- TREATMENT.md and NOTES.md: what you built, how it renders, the checks and their numbers, build time, and your honest list of weak spots.

Finish with a short reply giving the file paths, duration, sizes, loudness, and the 3 weakest moments.
```

## Gerações

### Sonnet 5.6 (next): BEAK VELOCITY

Modelo solicitado: claude-sonnet-5-5. Ambiente do agente: Claude Code (via T3 Code). Esforço de raciocínio: xhigh. Tempo de criação: 138 minutos. GPU: NVIDIA GeForce RTX 5090. Renderizador: custom WebGL2 cel-shaded 3D engine with an ink pass, plus a Canvas2D layer for effects and lettering, written by the agent, no libraries. Vídeo: 1920x1080, 72 s.

Vídeo: https://subclipweb.subclip.app/agent-skills/community/examples/pelican-anime-trailer/sonnet-5.6-next.mp4?v=3

Folha de contato: https://subclipweb.subclip.app/agent-skills/community/examples/pelican-anime-trailer/sonnet-5.6-next-contact-sheet.jpg

Criado no Claude Code (via T3 Code) em cerca de 138 minutos, com a GPU dividida com outras quatro sessões (rotulado Sonnet 5.6 (next) por Rez; solicitado como claude-sonnet-5-5 com esforço xhigh). O agente escreveu um pequeno motor WebGL2: o pelicano, o falcão e as bicicletas são malhas construídas por matemática a cada frame, com cel shading em três tons e uma passada de nanquim renderizada em 3840x2160 que afina as linhas até sumirem. Os raios das rodas ganham motion blur rotacional por pixel, e a trilha, da guitarra Karplus-Strong aos metais, é sintetizada em Node a 160 BPM, de modo que uma batida dura exatamente 9 frames. As verificações do rig mediram folgas de 1,5 mm entre pé e pedal e uma roda traseira travada em 2,5 voltas por volta do pedivela ao longo de 431 passos de pedalada; re-renderizações embaralhadas bateram com zero pixels de diferença. Pontos fracos declarados: a queda parece um emaranhado, a corrida lado a lado é difícil de acompanhar, as asas parecem braços de manequim de perto e o filme lembra mais 3D cel-shaded do que anime desenhado à mão.

Arquivos originais: https://github.com/RezAIT00/agent-demos/tree/main/prompts/pelican-anime-trailer/generations/sonnet-5.6-next. Nossa cópia: https://github.com/subclip-app/agent-demos/tree/main/prompts/pelican-anime-trailer/generations/sonnet-5.6-next

## Faça no Subclip

1. **Folhas antes dos planos.** Conecte seu agente pelo Subclip MCP, crie um projeto de 1920x1080 a 24 fps e mantenha a primeira regra do prompt: renderize primeiro a folha de personagem e a folha de ciclo de pedalada, olhe para elas com `view_frame` e só então anime. Um pedivela errado é a piada inteira dando errado.
2. **Crie os planos como camadas.** Cada plano é uma camada de runtime de `add_runtime_layer`, validada com `validate_runtime_layer_source`. As skills [HyperFrames motion layers](https://www.subclip.app/pt/agent-skills/community/hyperframes-motion-layers) e [animação de desenho animado](https://www.subclip.app/pt/agent-skills/community/cartoon-animation) cobrem nanquim, linhas de velocidade, smears e timing em twos. Mantenha o ângulo da roda derivado do ângulo do pedivela para que a transmissão fique travada em qualquer frame para o qual a timeline pular.
3. **Confira o renderizador 3D.** O original escreveu o próprio motor WebGL2 cel-shaded com uma passada de nanquim em 4K. Seja honesto sobre o renderizador: o suporte a WebGPU e a WebGL2 pesado dentro do renderizador de camadas e do caminho de exportação do Subclip ainda não foi verificado. Crie primeiro uma camada de teste de 5 segundos, confira no preview e num MP4 exportado, e deixe um fallback em Canvas2D ou WebGL simples pronto caso um dos dois saia em branco ou lento.
4. **Trilha e efeitos sonoros.** O prompt pede uma trilha sintetizada, então renderize-a num arquivo e coloque como item de áudio com as batidas nos cortes. Tique-taque da roda livre, zumbido da corrente, derrapagens e whooshes podem entrar como itens de áudio separados, sintetizados ou encontrados com `search_public_audio`.
5. **Crítica e exportação.** Peça ao agente um `get_timeline_contact_sheet` sempre que uma seção ficar pronta e depois `view_frame` nos momentos importantes (o primeiro frame, cada grande transformação, o último frame). Stills escondem problemas de movimento, então dê play no preview antes de aprovar qualquer coisa. Rode as verificações de [QA de animação de personagens](https://www.subclip.app/pt/agent-skills/community/character-animation-qa) na queda e nas asas e depois exporte com `export_video`.

## Skills da comunidade relacionadas

- https://www.subclip.app/pt/agent-skills/community/cartoon-animation
- https://www.subclip.app/pt/agent-skills/community/character-animation-qa
- https://www.subclip.app/pt/agent-skills/community/hyperframes-motion-layers

## Fonte e créditos

Prompts e gerações de **Rez** ([@RezAIT00](https://x.com/RezAIT00)), de [github.com/RezAIT00/agent-demos](https://github.com/RezAIT00/agent-demos). Nossa cópia do repositório: [github.com/subclip-app/agent-demos](https://github.com/subclip-app/agent-demos).

Pasta original do prompt: https://github.com/RezAIT00/agent-demos/tree/main/prompts/pelican-anime-trailer. Nossa cópia: https://github.com/subclip-app/agent-demos/tree/main/prompts/pelican-anime-trailer

[Todos os exemplos](https://www.subclip.app/pt/agent-skills/community/examples)