# Tráiler anime de un pelícano: Beak Velocity, hecho por completo en código

El benchmark del pelícano en bicicleta hecho tráiler anime de acción de 72 segundos, animado y musicado en código por un agente de IA. Prompt y pasos.

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

## Qué crea

El prompt toma el famoso benchmark del "pelícano en bicicleta" y pide un tráiler anime de acción de 60 a 75 segundos, totalmente en serio, protagonizado por un pelícano original. El pedaleo tiene que ser físicamente correcto: una bici de cuadro de diamante bien hecha, las patas en los pedales girando la biela en sincronía con la cadena y la rueda trasera, y las alas en el manillar, todo comprobado en una hoja de giro del personaje y en una hoja del ciclo de pedaleo antes de animar. Sugiere una estructura (apertura en frío, tarjetas de lore, montaje de entrenamiento, rival, carrera cuesta abajo, power-up, título y escena poscréditos) y exige una banda sonora de rock sintetizada.

El resultado es BEAK VELOCITY, de 72 s, creado en Claude Code con un modelo solicitado como claude-sonnet-5-5 (etiquetado como Sonnet 5.6 (next) por Rez). Un pelícano con bufanda compite contra un halcón peregrino montaña abajo, gana y, en la escena poscréditos, le salen once peces de la bolsa del pico.

## El prompt (prompt.md)

El prompt.md exacto del repositorio, palabra por palabra. Todos los modelos del repositorio recibieron este mismo prompt. Donde aparece el marcador {{FOLDER}}, sustitúyelo por una carpeta de salida vacía antes de enviarlo.

```
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.
```

## Generaciones

### Sonnet 5.6 (next): BEAK VELOCITY

Modelo solicitado: claude-sonnet-5-5. Entorno: Claude Code (via T3 Code). Esfuerzo de razonamiento: xhigh. Tiempo de creación: 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

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

Creado en Claude Code (a través de T3 Code) en unos 138 minutos, con la GPU compartida con otras cuatro sesiones (etiquetado como Sonnet 5.6 (next) por Rez; solicitado como claude-sonnet-5-5 con esfuerzo xhigh). El agente escribió un pequeño motor WebGL2: el pelícano, el halcón y las bicis son mallas construidas con matemáticas en cada fotograma, con cel shading a tres tonos y una pasada de tinta renderizada a 3840x2160 que afina las líneas hasta desaparecer. Los radios tienen desenfoque rotacional por píxel, y la música, de una guitarra Karplus-Strong a los metales, se sintetiza en Node a 160 BPM para que un pulso dure exactamente 9 fotogramas. Las comprobaciones del rig midieron separaciones de 1,5 mm entre pata y pedal y una rueda trasera fija en 2,5 vueltas por vuelta de biela a lo largo de 431 pasos de pedaleo; los renderizados repetidos en orden aleatorio coincidieron sin ningún píxel de diferencia. Puntos débiles declarados: la caída parece un amasijo, la carrera en paralelo cuesta de seguir, las alas parecen brazos de maniquí de cerca y la película se siente más como 3D cel-shaded que como anime dibujado a mano.

Archivos originales: https://github.com/RezAIT00/agent-demos/tree/main/prompts/pelican-anime-trailer/generations/sonnet-5.6-next. Nuestra copia: https://github.com/subclip-app/agent-demos/tree/main/prompts/pelican-anime-trailer/generations/sonnet-5.6-next

## Créalo en Subclip

1. **Hojas antes que planos.** Conecta tu agente mediante el MCP de Subclip, crea un proyecto de 1920x1080 a 24 fps y mantén la primera regla del prompt: renderiza primero la hoja de personaje y la hoja del ciclo de pedaleo, revísalas con `view_frame` y solo entonces anima. Una biela mal hecha es el chiste entero fallando.
2. **Crea los planos como capas.** Cada plano es una capa runtime de `add_runtime_layer`, validada con `validate_runtime_layer_source`. Las skills [HyperFrames motion layers](https://www.subclip.app/es/agent-skills/community/hyperframes-motion-layers) y [cartoon animation](https://www.subclip.app/es/agent-skills/community/cartoon-animation) explican la tinta, las líneas de velocidad, los smears y la animación a doses. Calcula el ángulo de la rueda a partir del ángulo de la biela para que la transmisión siga sincronizada en cualquier fotograma al que salte la línea de tiempo.
3. **Comprueba el renderizador 3D.** El original escribió su propio motor WebGL2 cel-shaded con una pasada de tinta a 4K. Sé sincero con el renderizador: todavía no se ha verificado el soporte de WebGPU ni de WebGL2 pesado en el renderizador de capas y la exportación de Subclip. Crea primero una capa de prueba de 5 segundos, revísala en la vista previa y en un MP4 exportado, y ten preparada una alternativa en Canvas2D o WebGL simple por si alguna sale en blanco o va lenta.
4. **Música y efectos de sonido.** El prompt pide una banda sonora sintetizada, así que renderízala a un archivo y colócala como elemento de audio con los golpes en los cortes. El clic de la rueda libre, el zumbido de la cadena, los derrapes y los whooshes pueden ir como elementos de audio aparte, sintetizados o encontrados con `search_public_audio`.
5. **Crítica y exportación.** Pide al agente `get_timeline_contact_sheet` cada vez que termine una sección, y después `view_frame` en los momentos clave (el primer fotograma, cada gran transformación, el último fotograma). Los fotogramas fijos ocultan los problemas de movimiento, así que dale a reproducir en la vista previa antes de aprobar nada. Pasa las comprobaciones de [character animation QA](https://www.subclip.app/es/agent-skills/community/character-animation-qa) sobre la caída y las alas, y exporta con `export_video`.

## Skills de la comunidad relacionadas

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

## Fuente y créditos

Prompts y generaciones de **Rez** ([@RezAIT00](https://x.com/RezAIT00)), de [github.com/RezAIT00/agent-demos](https://github.com/RezAIT00/agent-demos). Nuestra copia del repositorio: [github.com/subclip-app/agent-demos](https://github.com/subclip-app/agent-demos).

Carpeta original del prompt: https://github.com/RezAIT00/agent-demos/tree/main/prompts/pelican-anime-trailer. Nuestra copia: https://github.com/subclip-app/agent-demos/tree/main/prompts/pelican-anime-trailer

[Todos los ejemplos](https://www.subclip.app/es/agent-skills/community/examples)