Summary note: This is a summary of Finn’s (@finnardley) long X post from 5 November 2026, “Claude Opus 5.5 makes animal-facts Shorts entirely in code”, not a reprint of the original. Original link: https://x.com/finnardley/status/2118149077842133334

Finn posted a “daily reminder”: videos like this can be fully automated. He used Claude Opus 5.5 to make an animal-facts Short entirely in code, spent nothing at all on AI video generation, and then published the whole prompt for free. The prompt is very completely structured, in six parts — input, direction, structure, build, pitfalls, and launch — and is summarised below, section by section, following the original’s structure. All figures, tool names, and parameters come from the original.

1. The Conclusion First: Cost and Output

  • Finished-film specs: 1080×1920 vertical, 60 fps, 30 to 35 seconds.
  • Only 4 AI images were used for the artwork, at about $0.12.
  • The voiceover used ElevenLabs, about 600 characters consuming about 300 credits; there is also a free route (Kokoro for voiceover plus Whisper for the timeline).
  • AI video generation cost zero: every frame was drawn by code, with no text-to-video model called at all.
  • The prompt requires the script and shot list to come first and be confirmed before any money is spent, avoiding wasted spend.

2. Input: Ask Three Questions First, Then Start

The prompt begins by requiring the model to ask the user three things:

  1. Pick an animal or topic: the user gives one directly, or the model suggests 3 candidates, each with 5 true facts that get progressively more “awful”, each fact more outrageous than the last.
  2. Ask which image model to use: GPT Image 2, or any model that supports 4K reference images, at about $0.03 per image.
  3. Ask which voiceover to use: ElevenLabs, or the free Kokoro.

After asking, the model must first write the script and a shot list broken down by the second, show it to the user, and only start spending anything once it has been confirmed. This “confirm first, spend later” order is the money-saving key to the whole prompt.

3. Direction: The Art Style, the Host, and the Animal in Detail

The finished film imitates the kind of animal-facts channel where “a guy in a hoodie holds a microphone and appears in every segment to explain” — but realised entirely in flat 2D cartoon style: thick dark-brown outlines, flat colours, simple cel shading, and big round eyes.

Host: a cartoon young man with messy brown hair, glasses, a plain light-grey hoodie with no logo, dark jeans, and white trainers, always holding a black microphone. On screen he is about 1000 to 1050 pixels tall, with his feet beyond the bottom edge of the frame, cropped at the shins; he pops up from below the frame in 0.32 seconds, with overshoot easing; when he speaks to camera, his mouth opens and closes with the voiceover; his face always stays above the subtitle capsule.

Animal: the same character drawn in 9 poses — neutral, shocked, angry, plus a costume look for each fact (an old man with a beard and a cane, a wig-wearing look, a teenager with braces, a drunk look, a front-facing face, and a defeated look served up on a plate). Each fact gets its own costume, and that contrast is the joke.

Pacing: a new scene every 1.5 to 3 seconds, with the composition never repeating; something is always moving — when the animal swims, its tail sways and it bobs up and down by about 10 pixels, the camera pushes in 2% to 4% per shot, pose changes have a squash feel, and hits make the frame shake.

Titles and subtitles: titles show one or two big words per beat, in the Luckiest Guy font (Google Fonts), 104 to 190 pixels, positioned at vertical 430, slightly tilted and swaying side to side; the outline is 0.22 times the font size, with colours appearing in pairs (yellow, red, white, pink, and green, each with a dark shadow). Subtitles are white capsules of 1 to 4 words, at vertical 1470, in 66-pixel type, with keywords highlighted in yellow with a dark outline, the capsule scaling from 0.82 to 1 within 0.13 seconds. When an animal’s name is spoken, a red ellipse circles it.

Prohibitions: no mixing photorealistic cut-outs into the cartoon picture, no real human faces, no putting the original channel’s logo or name on screen, no still frames lasting more than 1 second, and no letting the host block the animal’s face when a keyword appears.

4. Structure: How the 33.5-Second Timeline Is Laid Out

The whole film is 30 to 35 seconds, about 115 words, advancing at about 3.5 words per second. Times are based on a 33.5-second finished film, scaled to the voiceover. The segments are arranged as follows:

  • 0 to 1.9 seconds, the hook: pose a question like “why X is the most unsettling animal in the ocean”; the animal slides in from off-screen at 0.75 seconds, while the host pops up in the bottom-right corner at the same time, already talking; when the animal’s name is spoken, a red circle and a name title appear, and the host switches to a pointing pose for 0.7 seconds.
  • 1.9 to 3.7 seconds, emphasising “unsettling”: push the camera in, tint the water red, switch the animal to its angry pose, add an impact starburst, and highlight the word “unsettling” in red.
  • 3.7 to 8.2 seconds, fact one (a surprising number): a number rolls up to its target value, then is presented with a comparison anyone can understand (for example, “older than America”), with a costume look and props popping in.
  • 8.2 to 12.7 seconds, facts two and three, played as jokes: one is a costume change plus a new scene, the other is a race the animal loses — when “slower than you walk” is spoken, the host simply strolls past it.
  • 12.7 to 15.6 seconds, a gross detail: push in to a close-up of the animal’s face.
  • 15.6 to 16.7 seconds, “but it gets worse”: a red alert colour grade plus a pulsing vignette, the animal roars at the camera, and the host switches from explaining to a terrified expression.
  • 16.7 to 21 seconds, the worst fact: the host hides behind a victim, who then disappears with a “pop”; an X-ray shot shows the inside of the animal’s body.
  • 21 to 27.7 seconds, the human perspective: every line is acted out by members of the cast, with the host joining in too (for example, acting drunk side by side with a drunk Viking).
  • 27.7 to 29 seconds: someone happily eats it, and the host turns green and gags.
  • 29 to 33.5 seconds, callback to the joke: it circles back to the opening hook, the host talks to camera, and breaks character laughing on the final word; after the final word ends, hold for 1.15 seconds.

5. The Build: Making the Finished Film in Seven Steps

Step 1, tools: Python, Playwright (with Chromium or Edge), FFmpeg, OpenCV, Pillow, numpy, soundfile. Install anything that’s missing, and tell the user what was installed.

Step 2, artwork: 4 images in total, about $0.12. Every image prompt must begin by stating “strictly match the reference image’s art style: flat 2D cartoon, thick dark-brown outlines, flat colours plus simple cel shading, big eyes, clean vector feel”; pick the most satisfactory one as the style reference and feed it back to unify the rest. The four images are: the animal pose sheet (1:1, 4K, a 3×3 grid of nine poses, pure white background, plenty of white space, no grid lines, no text, no ground shadows, each pose a complete side view facing right, except for the front-facing face); the cast sheet (1:1, 4K, 9 different characters and props, written the same way); the background grid (9:16, 4K, a 3×3 grid of nine equally tall, tall empty scenes, thin white dividing lines, no characters, no text, the middle-to-lower part left empty); and the host sheet (9:16, 4K, 9 equal large full-body poses: facing the audience with the microphone under the chin and the mouth closed; the exact same pose but with the mouth wide open; talking while pointing; terrified with hands covering the face; cowering and shaking with sweat drops; running in profile; laughing with the head thrown back; face turned green, holding a toothpick and gagging; drunk with spiral eyes).

Step 3, cut-outs: take seed points every 64 pixels from the edges and flood-fill away the white, using a formula on a 3-pixel feathered edge band to restore the white fringing; group by the grid cell the centre point falls in, and discard fragments smaller than 150 pixels; split the background grid along the white dividing lines (a dividing line is detected when the mean of the minimum channel across a row or column exceeds 232), crop 4 pixels inside, then cover 1080×1920 with the Lanczos algorithm, plus sharpening (radius 2, strength 60%).

Step 4, host lip-sync: use the glasses and eyes for template matching to align the open-mouth pose to the closed-mouth pose, pasting only the mouth across through a feathered ellipse, so opening and closing uses the same drawing and the outlines don’t jitter. The mouth track is computed from the voiceover at 60 fps: for each frame, compute the RMS volume, smooth over 3 frames, and open the mouth when it exceeds the threshold (the 70th percentile minus 15 dB) and exceeds 0.55 times the loudest frame within 0.1 seconds before and after; each state is held for at least 3 frames, and when the mouth has been open continuously for more than 14 frames, insert 3 closed frames every 12 frames — about 8 open-close cycles per second. Each host pose is anchored by the horizontal coordinates of the feet and the centre of the head, so switching poses doesn’t shift position.

Step 5, voiceover: ElevenLabs eleven_v4, with the timestamped API, a calm, deep documentary narration, stability 0.5, similarity 0.75, recorded in one take, about 600 characters for about 300 credits. Cut out the pauses (in 10-millisecond frames below −40 dB, keep only the first and last 0.06 seconds of any part longer than 0.2 seconds, with 8-millisecond fades in and out), then speed the whole thing up by 1.15× and add 0.15 seconds of lead-in; rebuild word-level timestamps by character alignment, pulling earlier when timestamps conflict. The free route is Kokoro for voiceover plus Whisper for the timeline.

Step 6, the finished film: one HTML canvas, where every frame is a pure function of time — providing seek(t), READY, END, and an event interface with sound timings, with one function per shot. The tail sway cuts the cut-out into 28 vertical strips and displaces each strip following a sine function; pop-ups, pose-change impacts, and shakes are all implemented with damped cosine easing formulas; all props are drawn in code (a scrolling number counter, a fluttering flag, a flipping calendar, green smoke, buzzing flies, confetti, a red circle, arrows, impact starbursts, puffs of smoke, bubbles). The red alert is achieved with a filter combination of greyscale plus sepia plus hue rotation; the X-ray shot uses greyscale plus invert plus sepia plus hue rotation, with a dark-blue background, a 60-pixel cyan grid, and scan lines. Repeated words must be located by which occurrence they are, or edit points will land on the wrong line.

Step 7, checking, rendering, and mixing: before the formal render, first produce a comparison sheet of 12 to 15 frames, checking at the keywords and fixing problems like blocked faces, the host covering the animal’s face, and titles going off-frame; render at 60 fps, sampling 8 motion-blur sub-frames within each half-frame span, and finally encode with libx264 at CRF 19. The music is free quirky piano suspense background music from Pixabay, with the voiceover 11 to 14 dB above the music in each phrase; Mixkit sound effects get one per event, aligned by peak (a “thud” when a title appears, a “whoosh” on entry, an impact on the heavy beat, bites, springs, a sad trombone for failure, a “pop” for disappearing, bubble sounds); the final mix is at −14 LUFS.

6. Pitfalls: 5 Mistakes the Author Made

  • If the red alert is done as a pure colour tint, blue seawater turns green: convert to sepia first, then do the hue rotation.
  • A long title at 160-pixel type will overflow: split it across two beats — first “OLDER THAN”, then “AMERICA” in red.
  • If the host walks across the frame while a keyword appears, he will block the animal’s face: let his movement happen after the keyword, keep him at 0.62× size, or draw him behind the animal.
  • A photorealistic sticker animal with code-drawn eyes, placed next to a real human host, looks like low-quality content: unifying the whole film in one flat cartoon style solves it.
  • If two talking poses differ in anything other than the mouth, switching the whole image will make the outlines jitter: paste only the mouth.

7. Who This Prompt Is Worth Copying

It suits people who want to batch-produce vertical science Shorts without paying a text-to-video fee for every video: set the prompt, art style, timeline, and render pipeline once, then reuse them by swapping the animal or topic. The cost is setting up the Python + Playwright + FFmpeg toolchain up front, and accepting the style ceiling of “all visuals drawn in code” — photorealistic shots and real people on camera are outside this approach’s range.

8. Notes

  • The full prompt was shared publicly by the author; this site has not reprinted it word for word — the above is a structured paraphrase following the original’s six parts.
  • The figures such as about $0.12 in image costs, about 300 voiceover credits, and “zero spend on AI video generation” are the author’s own account; this site has not independently verified them — actual costs depend on the pricing of the services used at the time.
  • The post itself referenced an earlier post by the author on the same topic; this article is based on the complete-prompt post from 5 November.

Written byAuthor

Buy me a coffee~

Solana

Solana

Solana

Solana

Solana

Solana

Background music
Jump to comments
Settings
Back to top
Go to bottom
Collapse toolbox