Ten kilometres, floating
UGC ad in the style of big sportswear brands: condensed caps, echo, packshot
- 0–1.25 s Selfie after the morning run, huge: “10 KM. MY VERDICT.”
- 1.25–2.7 s Punch-in on the face, the hook rises out through its mask
- 2.7–4.12 s Jump cut: “Then I tried these.”
- 4.12–5.78 s Zoom-blur into slow motion, outline numerals count 01 → 10 and lock
- 5.78–7.62 s Back to her, close: “and it feels like I'm …”
- 7.62–8.66 s Speed ramp: “SCHWEBEN.” rises as an echo stack, the foot lifts off
- 8.66–9.41 s Her smile
- 9.41–12.6 s Packshot: an arm holds the shoe up in front of “FEEL THE GROUND.”, then “FLOAT ABOVE IT.”
- UGC ad
- 12.6 s · with sound
- 1080 × 1920 · 30 fps
- Kling 3.0 Pro
- 18.9 MB
Prompt
Edit a 12.6-second vertical (1080 × 1920, 30 fps) UGC ad for the fictional running shoe Verdan (plain seamless sage knit, cream foam sole, no logo) the way big sportswear brands cut their social spots. Inputs: a 10 s Kling 3.0 Pro selfie take of a runner after her morning run, lip-synced (HeyGen, precision) to one German ElevenLabs line; a 5 s Kling 3.0 Pro slow-motion B-roll of the shoe rolling heel to toe on damp asphalt; a cut-out still of an arm holding the shoe up (from the Verdan showcase); the voice with word timestamps. Everything else is code on top of the footage. Every frame is a pure function of t.
VOICE (German, ElevenLabs v4)
"Ich wollte eigentlich keine neuen Laufschuhe mehr. Dann hab ich die hier probiert. Zehn Kilometer heute – und es fühlt sich an, als würd ich schweben."
Cut the two longest pauses (0.38 s, 0.21 s) out of the voice AND the selfie at the same source times, so the jump cuts stay lip-synced.
TYPE SYSTEM
One family only: Archivo 900 on the narrowest width axis (extra-condensed), all caps, tight tracking. One accent, an electric sage-lime #D9F56B; white on footage, deep forest #14231A on the packshot. Restraint over decoration: no frames, no corner marks, no labels or timecodes, no boxes, cards or pills.
EDIT AND GRAPHICS
0.00–1.25 Selfie, wide. Hook bottom left, huge: "10 KM." (white) over "MEIN FAZIT." (accent). Each line leaves upward through its own mask as the first punch-in hits.
1.25–2.70 Punch-in to 1.17 on the face. From here word-by-word captions: all caps, 118 px, centred at y ≈ 1650, each word cuts in hard on its timestamp, key words (LAUFSCHUHE, PROBIERT, KILOMETER, HEUTE, FÜHLT) in the accent.
2.70–4.12 Jump cut, medium.
4.12–5.78 Zoom-blur into the B-roll. Giant outline numerals (900 px, 3.5 px white stroke) count 01 → 10 on "Zehn Kilometer" and lock as solid accent on "heute"; a small "KM" in the same face sits on their baseline.
5.78–7.62 Zoom-blur back to her, close.
7.62–8.66 Zoom-blur into the push-off with a speed ramp (1.4× → 0.5×). "SCHWEBEN." becomes an echo stack: the solid accent word in the middle, two thin outline copies above and below fading out, the stack opens up and rises as the foot leaves the frame.
8.66–9.41 Her smile.
9.41–12.6 Zoom-blur into the packshot: a flat sage wall, "FEEL THE" (solid forest) over "GROUND." (outline) sized to the frame width, each line rising through its mask; the arm rises from below and holds the shoe in front of the second line, then floats gently. At 1.6 s the lines swap to "FLOAT" / "ABOVE IT.". Bottom left the Verdan mark and wordmark, bottom right "JETZT TESTEN" with an arrow and a drawn underline, under them a small quiet line "Fiktive Marke. Bild, Bewegung und Stimme KI-generiert." The last 0.35 s cross-fade into frame 0.
Every cut lands 3 % too close and settles (critically damped spring); zoom-blur = 10 sub-frames.
LOOK
Both clips upscaled to 4K by an AI upscaler first (the 1080p AI footage was soft), drawn down to 1080p. One grade for both (contrast up, saturation down, a touch of warmth on the B-roll) and a soft vignette. No film grain: it turns to mush in the encode.
AUDIO
Voice on top; quiet park ambience about 20 dB below; a footstep into the B-roll and one on the push-off; a soft tick on every counter step and a sub thump when "10" locks; air whooshes under every zoom-blur; a shimmer under "SCHWEBEN"; a sub thump when the packshot lines land and a whoosh on the line swap; a light music bed at −24 dB, ducked under the voice; −16 LUFS.
TECHNIQUE
Render mode seeks each clip exactly (4K sources, keyframe every 4 frames) and waits for "seeked"; the live page plays 720p sources natively and only nudges them back when they drift. Canvas 2D sets fontStretch = "extra-condensed" after each font change. Encode at high quality (CRF 17): AI footage falls apart at low bitrates.
TECHNIQUE
- One self-contained HTML page plus one JS file (no inline script, no libraries, no network requests). Stage exactly 1080×1080 CSS px, or the size named above (1080×1920 for portrait).
- Expose window.MOTION = { duration, fps: 30, width, height, seek(t) } with the stage size in width and height. seek(t) redraws the frame for time t from scratch: no state between frames, no Math.random (seeded PRNG only), no Date, no CSS transitions, no timers.
- Loop: seek(0) and seek(duration) must look identical.
- With ?render=1 the stage sits unscaled at the top left (for frame capture). Without it, scale the stage to fit the window and loop with requestAnimationFrame.
- prefers-reduced-motion: show one representative still, no loop.
CHECK
Render stills at the listed times, look at every one, fix anything that overlaps, is cut off, aliased or unreadable, then render again. Report only when frame 0 equals the last frame.
Stills: every 0.5 s, plus both sides of every cut — check that type never covers her eyes or mouth, the packshot lines fit the width and the second line stays readable behind the shoe. How to recreate it
-
Give the prompt to a coding agent
Create an empty folder and paste the prompt into Claude Code, Codex or Cursor. The agent writes one HTML page and one script — the animation then runs right in the browser.
-
Let it check the stills
The prompt makes the agent render stills and look at them itself. Only refine what you don't like in the picture: “scene 3 is too busy” works better than a new prompt.
-
Render to MP4
Because every animation can draw any frame exactly through
window.MOTION.seek(t), a small script renders it frame by frame — no stutter, no screen recording. Then ffmpeg joins the frames into a clip.
# 1 · Render every frame (Chrome, Node ≥ 22) node render.mjs http://localhost:3000/ \ frames/ frames 30 # 2 · Join the frames into an MP4 ffmpeg -framerate 30 -i frames/%05d.png \ -c:v libx264 -preset slow -crf 22 \ -pix_fmt yuv420p -movflags +faststart \ my-motion.mp4
Background
A UGC clip for the fictional running shoe Verdan: after her morning run a runner talks into her phone camera, edited to agency standard: jump cuts without pauses, punch-ins, huge condensed caps, outline numerals counting to 10, “SCHWEBEN” as a rising echo stack and a packshot where an arm holds the shoe up in front of the line. Picture and motion from Higgsfield, voice from ElevenLabs, a lip-sync pass, everything else as code. 12.6 seconds, 9:16, with sound, spoken in German — with a prompt to recreate it.
What I learned building it
UGC only looks professional in the edit: pauses out, a new picture every second and a half, transitions that carry motion. Because the lips are synced to the voice, every pause has to leave picture and sound at the same source time — then the jump cut stays in sync.
How it was made
Photoreal image plates from Higgsfield, the animation as code, voice and sound from ElevenLabs. Below is exactly what was used: the same prompts, the same voice, the same sounds.
- 01
Higgsfield Soul 2 → Kling 3.0 Pro Image plates

Two Soul 2 stills that Kling 3.0 Pro turned into one clip each: ten seconds of selfie and five seconds of slow motion. Variants with printed stripes on the shoe, a logo on the shirt or an emblem on the tongue were thrown out. The packshot is the “arm holds the shoe up” cut-out from the Verdan showcase.
- 02
ElevenLabs Eleven v4
Voice · Ela
- Ich wollte eigentlich keine neuen Laufschuhe mehr. (I really didn't want new running shoes.)
- Dann hab ich die hier probiert. (Then I tried these.)
- Zehn Kilometer heute – (Ten kilometres today –)
- und es fühlt sich an, als würd ich schweben. (and it feels like I'm floating.)
Kling only approximates German (it said “swimming” instead of “floating”). So Ela speaks the line exactly, and a lip-sync pass (HeyGen, precision mode) fits the lips in the selfie clip to her voice.
- 03
Claude Code
Animation
368 lines of code
Camera, type, numbers and graphics as canvas code, every frame computed from the time. The prompt is in the panel above.
- 04
ffmpeg −16 LUFS
Mix
22 sound cues
Voice, sound effects and music placed on the picture's events, music ducked under the voice, measured to −16 LUFS.
Image prompts, word for word (2)
Authentic UGC selfie video frame shot on a phone front camera, vertical 9:16, arm's length: a friendly woman in her late twenties just after a morning run in a city park, light natural sweat, dark hair in a loose ponytail, completely plain heather grey long-sleeve running top with no logos or prints, smiling warmly at the camera, holding one running sneaker in her free hand up beside her face, normal realistic shoe size. The sneaker: smooth seamless pale sage green knit upper in one single colour with no printed lines, no stripes, no panels, no logos, no text, sage laces, thick soft cream foam midsole. Soft golden morning light, green park and path softly blurred behind her, realistic skin texture, natural phone-camera look. No text, no watermark.
Cinematic ground-level side profile close-up, vertical 9:16, early morning in a city park: one runner's foot landing heel-to-toe on a slightly damp asphalt path, the shoe seen exactly from the side. The shoe is completely plain and unbranded: a smooth seamless pale sage green knit upper in one single colour, plain tongue, sage green laces, thick soft cream foam midsole with a curved rocker shape, absolutely no logos, no marks, no stripes, no text anywhere. Black running tights, golden backlight, fine water droplets on the asphalt, shallow depth of field with soft green park bokeh, crisp knit texture, realistic photograph. No text, no watermark.
More motions
-
An agent platform, introduced UI motion 0:15 -
Agents that pick the model UI motion 0:14 -
A sentence becomes an app UI motion 0:15 -
An operating system, introduced UI motion 0:47.2 -
Your new design partner Voice-over 0:54.3 -
The journey of an order Explainer 0:34 -
Make it move Kinetic typography 0:08 -
From noise to a workflow Particles 0:14 -
The Gimli Glider Voice-over 0:19 -
Oscilloscope intro Oscilloscope 0:20 -
A keystroke in cross-section Explainer 0:20 -
A ring called Orbit UI motion 0:10 -
The bug that wants to stay Short film 0:20 -
Shin, not foot Voice-over 0:17 -
Jellyfish in a light shaft Organic loop 0:18 -
A logo that comes alive Logo reveal 0:08 -
How circles draw any shape Explainer 0:20 -
Pixel wizard Pixel art 0:16 -
The shortest war Voice-over 0:16 -
Loose mosaic wall Mosaic 0:20 -
Near fall Physics simulation 0:09 -
A Negroni, explained Explainer 0:20 -
Where the fuel money goes Voice-over 0:19.5 -
One print, nothing else Title sequence 0:20 -
Infinite zoom into the detail Infinite zoom 0:15 -
Cube stack Short film 0:07 -
A request at 22:47 Chat story 0:17 -
Claude Code in three steps Voice-over 0:17.5 -
The inbox factory Isometric loop 0:12 -
From 0 to 100 % soft Physics simulation 0:10 -
One line, three inks Showreel 0:20 -
The request breaks out Physics simulation 0:15 -
The slicing machine Isometric loop 0:09 -
How backlinks work Explainer 0:20 -
A ball that grows with every bounce Physics simulation 0:10 -
One shape, fourteen states UI motion 0:14 -
What makes a home Paper cut-out 0:20 -
Words that carry Kinetic typography 0:20 -
Shard logo reveal Logo reveal 0:11