Practical Guides · knowledge base from X

2-minute AI explainer videos for ~$1 each — generate the code, not the pixels (HyperFrames, word timestamps, retention linter)

A full-time organic AI content creator (over 100M impressions and 180k followers in two months without showing his face) explains the format he can sustain daily: ~2-minute vertical videos where an agent (Claude Code) writes a GSAP-animated HTML page rendered to MP4 by HyperFrames, the ElevenLabs voice with word timestamps acts as the timeline, screenshots are real and generated footage (~18 s) goes only where an emotion is needed. Itemised cost $1.22 ($0.28 without footage), 8 steps, register rules, camera prompts, a linter that fails the build and revisions without re-recording.

✍️ Hanif · @hanifproduktif
🔗 Read the original on X · X Article · published 16 Sep 2026
📊 311 likes · 572 bookmarks · 183k views
Summary and adaptation in English; content and results belong to the author.

Part of the manual Content and distribution — the complete manual

Claimed result

  • Author: Hanif (@hanifproduktif, ~46k followers), a full-time organic AI content creator. He has tested nearly every format (micro-blog text posts, carousels, AI UGC, explainer videos): in two months over 100 million impressions and 180,000 new followers, without ever appearing on camera. He says he paid for every format himself.
  • The example video (from his Instagram): what to set up on your iPhone before somebody steals it — 113 seconds, 4 steps, 11 real iOS screenshots, 3 photoreal shots in the hook, one voice-over take.
  • Itemised cost: $1.22 (≈ $2.40 at list prices; $0.28 without generated footage). It's "the first format I can actually keep doing: two minutes, every day, for about a dollar". He rebuilt this video four times in one day.

Proof: medium-high. Item-by-item costs with the "asterisks" disclosed, verifiable open-source tools (MIT skill on GitHub), a reproducible method; audience results are stated but not tied with numbers to this specific format. Some links are affiliate links (disclosed).

The key idea

Everyone points a video model at the whole frame, and that's why it's expensive: you pay per second even for the 90% that is just type, layout, screenshots and movement. Programmatic video flips the maths: the video is an HTML page with a timeline, rendered to MP4. Kinetic type, real screenshots, an illustrated presenter: all code, all free, re-renderable forever. Generated footage goes only where a moment has to land in the viewer's body — in a 2-minute explainer about 8 seconds (18 in his example, all in the hook). The AI writes code, not pixels: code is cheap, deterministic, and changing one line and re-rendering costs nothing.

The renderer is HyperFrames: hand it an HTML file with a paused GSAP timeline and it hands back a 1080×1920 MP4. It doesn't care who wrote the HTML — so an agent can write it.

Step-by-step playbook

The cost, item by item

Item Detail Cost
Voice 1,687 characters, ElevenLabs eleven_v3, one take, word timestamps $0.28
3 first frames openai/gpt-image-2 $0.57
3 video shots 18.4 seconds at 768P $0.37
11 iPhone screenshots from the iOS Simulator $0.00
Build, lint, render, loudness HyperFrames, GSAP, ffmpeg $0.00
Agent Claude Code, flat subscription no per-video cost
Total $1.22

The "asterisks" people quoting low costs usually hide: - Voice priced at the public Starter rate ($5 for 30,000 credits); on his own allowance it's closer to $0.09. - The video shots were at a promo rate: at list price (Kling 3.0 Standard $0.42 per 5-second clip) the three shots come to ~$1.55 and the video to ~$2.40. - Without generated footage the video costs $0.28: the voice is the only thing you really pay for. - Claude Code is a subscription he'd pay anyway: he won't call it zero, but it doesn't scale per video. - Re-rendering is free, and that's what changes how you work ("try that when every render costs you nine dollars").

Step 0 — Install the skill

He packaged everything as a free skill pack for Claude Code / Codex (Hyperframe Pro, MIT licence, github.com/buildwithhanif/hyperframe-pro), installable from Claude Code's plugin marketplace (add the buildwithhanif/hyperframe-pro marketplace, then install hyperframe-pro). There's a working example in the example/ folder that renders out of the box: run it first; if you get an MP4, your setup is fine.

Step 1 — Write the script out loud

  • ~300 spoken words per 2 minutes.
  • Rule 1: every number on screen must be spoken. If a card says "15 GB" and the voice never says "fifteen", people feel the mismatch even if they can't name it. His linter fails the build over this.
  • Rule 2: hard stop at 2:59. Past three minutes Instagram stops pushing the video to non-followers. If it runs long, cut a step; never speed up the voice.
  • Structure of his script prompt: a 300-word spoken script for a 9:16 explainer about [topic]; the first sentence puts the viewer inside the problem (no "in this video"); four numbered steps, each one thing they can do on their phone tonight; say every number out loud; second person; no filler adjectives; end with one action.

Step 2 — Record the voice once and keep the timestamps

  • It's the step everyone skips and the one that makes the rest work. Use ElevenLabs' /with-timestamps endpoint instead of the normal one: it returns the audio and the start/end of every word (e.g. "stolen" 1.04–1.39 s; "The" 1.72–1.81; "thief" 1.89–2.24).
  • That JSON is your timeline — not one built in an editor, but the one the narration already had.
  • In the example: eleven_v3, voice Liam, 1,687 characters, one take, 110.8 seconds, zero re-records.

Step 3 — Plan the beats before the code

One row per beat, answering four questions: what is this beat's job, what's the one "hero" on screen, how is the character framed, which zones of the frame are used. Writing it as a table makes problems visible: two beats in a row with the same framing = boring, change it; a beat with two heroes must be split; a beat with no hero is where people skip.

Step 4 — Pick the right "register" for each beat (where the money goes)

Three registers, only three:

The beat is… Register Cost
a threat, a real event, something happening to you generated photoreal footage paid
an app, a setting, a screen a real screenshot from a real device free
a feeling, a concept, an abstraction drawn (vector library) free
  • Generated footage belongs only in the first row: in the 113-second video that was 18 seconds, all in the hook.
  • Two calls per shot: an image model makes the first frame, an image-to-video model moves it. Every clip is capped at 10 seconds.
  • He uses WaveSpeedAI (one API key for ~a thousand image and video models, so you can price-shop per shot; disclosed affiliate link) and openai/gpt-image-2 for first frames.
  • Don't agonise over the video model: it's 2-second B-roll under a scrim, cropped to 9:16 and re-encoded at 30 fps. Kling 3.0 Standard at $0.42 per 5 s, Gemini Omni Flash as an alternative: for a two-second cutaway neither does less than an expensive model would. Pick on price.
  • Describe the camera, not the scene: "cinematic, beautiful, 8K" gets you AI stock. Name the rig, the glass, the sensor. Structure of his prompt: a still frame from a fixed outdoor security camera, high angle looking down at a café terrace at night; authentic CCTV quality — wide-angle lens with barrel distortion, heavy low-light sensor noise and grain, crushed shadows, blown-out orange streetlight highlights, slightly soft focus, desaturated colour, mild motion blur on the walking figure; documentary realism, not cinematic; no text or watermarks; faces indistinct and not identifiable.
  • For the motion call one line matters more than the rest: fixed security camera, completely locked off, never moves, pans or zooms. Without it the model adds a slow push-in and it stops reading as surveillance footage.
  • 768P, never 1080P: it's exactly double the price per second, and after grading, scrim, crop and re-encode he couldn't tell them apart even at 100% crop.
  • If there's a screen in the shot, say it's off: the model invents a wrong lock screen (clock, icons, garbled text). Always paste a sentence like: the phone screen is completely black, switched off for the entire shot, never lights up, and no clock, icons, text or interface ever appears on it.
  • Hands are generated, not drawn: cartoon hands look like mittens and wreck any frame that also has a real screenshot. Generate a hand on a pure black background and cut it out as a reusable part. Two mistakes that cost him a render: a switched-off phone is as black as the background, so a naive key erases it (a hand holding nothing); if the wrist runs off the edge of the source image, fade the alpha or the straight crop line reads as a sticker.

Step 5 — Build on word cues, not stopwatch numbers

  • Not one timing in his generator is a typed number. Function TA = "time after": the moment a word is spoken after the previous cue; cues chain, you never count occurrences. Example logic: the CCTV footage runs from 0 until "thief"; the word STOLEN slams in 0.37 s after it's said; the card with the real Find My screenshot appears on its word.
  • Change a word in the script and the video re-times itself. Delete a word a cue depends on and the build stops with an error like "cue "thief" not found, re-cue this beat": you can't quietly drift out of sync.

Step 6 — Let a linter fail your build

Gates that protect retention, all exiting non-zero (about thirty in total). The main ones: - dead air: more than 1.2 seconds with nothing hero-sized on screen; - a card that outstays its step, contradicting what's being said; - the character in the first two seconds (the hook belongs to the viewer's problem, not the mascot); - two beats in a row with the same framing (a cut to an identical picture isn't a cut); - a number on screen nobody says; - anything over 2:59.

"A failed lint costs seconds, a failed render costs minutes, and a post that flops costs a day of reach."

Step 7 — Render, then actually look at it

  • MP4 1080×1920, loudness normalised to −14 LUFS, true peak under −0.5 dBTP.
  • Pull a contact sheet at 1 frame per second and read it before anyone else sees the video. A render exiting successfully proves nothing: twice he shipped a video with a whole beat pure black and spotless logs.

Step 8 — Revise without re-recording

  • Swapping a line: generate only the new sentence, passing the sentences either side as previous_text and next_text (so the delivery matches), level-match it, splice it in sample-exactly, then re-time everything after it by the length actually inserted. He replaced this video's entire call to action after it was finished: one sentence regenerated, you can't hear the seam.
  • Too long? Cap every pause between words at ~0.24 s in the existing take: a 2:57 video dropped to 2:36 and sounded better, because TTS leaves 0.5–0.8 s between sentences and it drags.
  • Never speed up the audio to hit a number: people hear it.

Proof that register is the whole game

Same script, same voice, same timing to the frame; only the first ten seconds differ: - v1: hook from the vector library (phone, kinetic type, a speed-line snatch). Footage cost $0. - v2: hook from three generated shots (a security camera watching a phone lifted off a café table, hands switching a dead phone off, a hooded figure going through it in an alley). Footage cost $0.94. - v1 isn't badly made, but "it doesn't do anything to you": a phone graphic is information; v2 makes you think wait, that could be my phone, and that thought buys the next ten seconds. Ninety-four cents: put money on the beats that carry a feeling and nothing on the rest.

The loop in 8 lines

  1. Script: 300 spoken words, every number said, under 2:59.
  2. Voice once, with word timestamps: that JSON is the timeline.
  3. Beat plan before code: job, hero, framing, zones.
  4. Register check: threat → photoreal, screen → screenshot, feeling → drawn.
  5. Build on word cues.
  6. Lint: fail your own build for dead air and boredom.
  7. Render, then read the contact sheet.
  8. Revise by swapping a line, not re-recording.

Tools and costs

Tool Use Cost
Hyperframe Pro (skill pack, MIT) the whole workflow inside Claude Code / Codex free
HyperFrames (hyperframes.heygen.com) HTML with GSAP timeline → 1080×1920 MP4 free
GSAP animation/timeline free
Claude Code (or Codex) the agent writing the HTML flat subscription
ElevenLabs (eleven_v3, /with-timestamps) voice + per-word timestamps Starter $5 / 30,000 credits → ~$0.28 per video (affiliate link)
WaveSpeedAI one key for ~1,000 image/video models pay-as-you-go (affiliate link)
openai/gpt-image-2 first frames ~$0.19 each ($0.57 for 3)
Kling 3.0 Standard / Gemini Omni Flash image-to-video, 768P, max 10 s $0.42 per 5 s at list price
iOS Simulator (with Xcode) clean app screenshots free
ffmpeg loudness normalisation, encoding, contact sheets free

Limitations

  • "How-to on apps and phones" niche: the format shines when there are real screenshots to show; for topics without interfaces you need more drawings or more footage (and costs rise).
  • The audience results (100M impressions, 180k followers) cover all the formats tested over two months, not just this one.
  • Costs tied to promo prices and personal plans (voice at $0.09 on his allowance; footage on promo): at list price ~$2.40 per video.
  • It takes familiarity with Claude Code/Codex, plugins, ffmpeg and Xcode (the iOS Simulator needs a Mac).
  • Affiliate links (ElevenLabs, WaveSpeedAI) and a 1-1 consulting offer in the article.
  • Instagram's 3-minute threshold and platform distribution rules may change.
← More guides in “Content and distribution”