# Bande-annonce anime du pélican : Beak Velocity, réalisée entièrement en code

Le benchmark du pélican à vélo devient une bande-annonce d'anime d'action de 72 secondes, animée et mise en musique en code par un agent IA. Prompt et étapes.

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

## Ce qu'il construit

Le prompt reprend le célèbre benchmark du " pélican à vélo " et demande une bande-annonce d'anime d'action de 60 à 75 secondes, tout à fait sincère, avec un pélican original en vedette. Le pédalage doit être physiquement juste : un vrai cadre de vélo en losange, les pattes sur les pédales qui font tourner le pédalier en synchronisation avec la chaîne et la roue arrière, les ailes sur le guidon, le tout vérifié sur une planche de rotation et une planche de cycle de pédalage avant l'animation. Il propose une structure (ouverture choc, cartons de lore, montage d'entraînement, rival, course en descente, montée en puissance, titre et scène post-générique) et exige une musique rock synthétisée.

Le résultat est BEAK VELOCITY, 72 s, construit dans Claude Code avec un modèle demandé comme claude-sonnet-5-5 (étiqueté Sonnet 5.6 (next) par Rez). Un pélican en écharpe affronte un faucon pèlerin dans la descente d'une montagne, gagne, et dans la scène post-générique onze poissons sortent de sa poche.

## Le prompt (prompt.md)

Le prompt.md exact du dépôt, mot pour mot. Chaque modèle du dépôt a reçu ce même prompt. Là où il contient un espace réservé {{FOLDER}}, remplacez-le par un dossier de sortie vide avant de l'envoyer.

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

## Générations

### Sonnet 5.6 (next): BEAK VELOCITY

Modèle demandé: claude-sonnet-5-5. Environnement: Claude Code (via T3 Code). Effort de raisonnement: xhigh. Durée de création: 138 minutes. GPU: NVIDIA GeForce RTX 5090. Moteur de rendu: custom WebGL2 cel-shaded 3D engine with an ink pass, plus a Canvas2D layer for effects and lettering, written by the agent, no libraries. Vidéo: 1920x1080, 72 s.

Vidéo: https://subclipweb.subclip.app/agent-skills/community/examples/pelican-anime-trailer/sonnet-5.6-next.mp4?v=3

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

Construit dans Claude Code (via T3 Code) en environ 138 minutes, avec un GPU partagé entre quatre autres sessions (étiqueté Sonnet 5.6 (next) par Rez ; demandé comme claude-sonnet-5-5 en effort xhigh). L'agent a écrit un petit moteur WebGL2 : le pélican, le faucon et les vélos sont des maillages calculés à chaque image, en cel shading à trois tons avec une passe d'encre rendue en 3840x2160 qui affine les traits jusqu'à rien. Les rayons reçoivent un flou de rotation par pixel, et la musique, de la guitare Karplus-Strong aux cuivres, est synthétisée dans Node à 160 BPM pour qu'un temps dure exactement 9 images. Les vérifications du rig ont mesuré des écarts pied-pédale de 1,5 mm et une roue arrière verrouillée à 2,5 tours par tour de pédalier sur 431 pas de pédalage ; des re-rendus dans le désordre concordent sans aucune différence de pixel. Points faibles déclarés : la chute ressemble à un enchevêtrement, la course côte à côte est difficile à suivre, les ailes ressemblent de près à des bras de mannequin, et le film fait plus 3D en cel shading qu'anime dessiné à la main.

Fichiers d'origine : https://github.com/RezAIT00/agent-demos/tree/main/prompts/pelican-anime-trailer/generations/sonnet-5.6-next. Notre copie : https://github.com/subclip-app/agent-demos/tree/main/prompts/pelican-anime-trailer/generations/sonnet-5.6-next

## Le créer dans Subclip

1. **Les planches avant les plans.** Connectez votre agent via le MCP Subclip, créez un projet 1920x1080 à 24 ips et gardez la première règle du prompt : rendez d'abord la planche personnage et la planche de cycle de pédalage, regardez-les avec `view_frame`, et seulement ensuite animez. Un pédalier faux, c'est toute la blague qui tombe à plat.
2. **Construisez les plans en calques.** Chaque plan est un calque runtime créé avec `add_runtime_layer`, validé avec `validate_runtime_layer_source`. Les skills [HyperFrames motion layers](https://www.subclip.app/fr/agent-skills/community/hyperframes-motion-layers) et [cartoon animation](https://www.subclip.app/fr/agent-skills/community/cartoon-animation) couvrent l'encre, les lignes de vitesse, les smears et l'animation en deux. Dérivez l'angle des roues de l'angle du pédalier pour que la transmission reste verrouillée sur chaque image où saute la timeline.
3. **Vérifiez le moteur 3D.** L'original a écrit son propre moteur WebGL2 en cel shading avec une passe d'encre en 4K. Soyez lucide sur le moteur de rendu : la prise en charge de WebGPU et du WebGL2 lourd dans le moteur de calques et la chaîne d'export de Subclip n'a pas encore été vérifiée. Construisez d'abord un calque de test de 5 secondes, vérifiez-le dans l'aperçu et dans un MP4 exporté, et gardez une solution de repli en Canvas2D ou en WebGL simple si l'un des deux sort vide ou lent.
4. **Musique et effets sonores.** Le prompt demande une musique synthétisée : rendez-la dans un fichier et placez-la comme élément audio, avec les accents sur les coupes. Les cliquetis de roue libre, le ronronnement de la chaîne, les dérapages et les whooshs peuvent être ajoutés comme éléments audio séparés, synthétisés ou trouvés avec `search_public_audio`.
5. **Critique et export.** Demandez à l'agent `get_timeline_contact_sheet` chaque fois qu'une section est terminée, puis `view_frame` sur les moments qui comptent (la première image, chaque grande transformation, la dernière image). Les images fixes cachent les problèmes de mouvement : lancez la lecture dans l'aperçu avant de valider quoi que ce soit. Lancez les vérifications de [character animation QA](https://www.subclip.app/fr/agent-skills/community/character-animation-qa) sur la chute et les ailes, puis exportez avec `export_video`.

## Skills de la communauté associés

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

## Source et crédit

Prompts et générations par **Rez** ([@RezAIT00](https://x.com/RezAIT00)), issus de [github.com/RezAIT00/agent-demos](https://github.com/RezAIT00/agent-demos). Notre copie du dépôt : [github.com/subclip-app/agent-demos](https://github.com/subclip-app/agent-demos).

Dossier du prompt d'origine : https://github.com/RezAIT00/agent-demos/tree/main/prompts/pelican-anime-trailer. Notre copie : https://github.com/subclip-app/agent-demos/tree/main/prompts/pelican-anime-trailer

[Tous les exemples](https://www.subclip.app/fr/agent-skills/community/examples)