Long-form SONG ads (Fish 2026-10-04, binding): read
knowledge/ad-formats/song-ad-playbook.mdfirst. Concept = iterate the paying song beat sheet (accuser blames mom → vindication); lyric red-team; Suno via kie in the AVATAR's voice (a mom), distinct style string per song, lyric_check + Gemini voice check per take;--pick N --head 0.05(first vocal ≤0.3 s); one art style per song anchored on a real winner; the scene-type table; H3 lit-band pose rule; chunked render; own floored ad set.Evolve copywriting rules — BINDING for all copy (Fish, 2026-09-16). Before writing any hook, headline, script, body, lander or listicle copy, read
/Users/ayden/.openclaw/workspace/knowledge/evolve/copywriting-rules.md(the card) and the matching section of/Users/ayden/.openclaw/workspace/knowledge/evolve/copywriting-skim.md(hooks/open loops/bridges/objections/pitch/stakes/analogies → "## 04 Strategies"; avatar→angle→mechanism→authority→awareness → "## Copywriting Fundamentals"; facts/fluff/spoken/6th-grade/beliefs → "## Copywriting Principles"; checklist + word lists → "## 09 Toolkit"). Run the 13-question checklist before anything ships. This skill's own doctrine stacks on top and never loosens it.
cartoon-h3 — VO-first batched animation lane
Adopted 2026-09-11 from davidaistar's MiniMax H3 workflow (analysis:
knowledge/cartoon-h3-workflow-analysis-2026-09-11.md, his skill + transcript in
knowledge/references/minimax-h3/). Fish: "this should be a whole new lane."
What changes vs cartoon-pipeline: the voice exists before any picture, clip length is
never derived from word counts, several beats execute inside ONE generation, and the model
hears the words it is cutting to. What does NOT change: Stage 1-2 of cartoon-pipeline
(script doctrine + gates, char/style/product refs, product-truth rules) and the QA legs.
MANDATORY CO-LOADS
direct-response-copywriter + brief-builder (script) → cartoon-pipeline references
(references/vo-script-framework.md, product fidelity, cp-016/018/019/025 VO gates) →
image-prompt-engineer (refs) → this skill → qa-gate before Discord.
PIPELINE (scripts/cartoon_h3/run.py)
1. SCRIPT existing concept pack (.md) through every existing gate — unchanged
2. REFS char ref(s) + cartoonified product ref + ONE environment sheet per world
(env sheet prompt: "isometric 3D floor plan view of the whole <room>, <style>")
3. VO line-by-line EL takes (Jordan, per-line cache) → head/tail trim → internal gaps
> MAX_GAP 0.15 s compressed (Fish 9-17; cached takes are recompressed on cache hit) → LINE_GAP 0.15 s
between lines → words.json + lines.json (pack line → word span)
4. STORYBOARD beats = sentences (split at a comma > 5 s, merge < 1.2 s), times from the words;
batches = consecutive beats ≤ 15 s, ≤ 6 panels, ending on a PACK-LINE end;
reveal/CTA beats cap their batch at 3 panels. Sonnet splits each scene intent
into per-beat panels (25-60 words, concrete, no new characters/product).
→ storyboard.md ⛔ FISH REVIEWS THIS BEFORE ANY CANVAS (touch storyboard.approved)
5. CANVAS one 16:9 GPT Image 2.5 (fal) contact sheet per batch, hero refs attached, panel count in
WORDS + grid + reading order + text ban; Gemini counts panels / reads text;
fail → identical prompt regenerated (never a prompt rewrite first)
6. SLICES ffmpeg cut of the VO at batch boundaries (asserted == batch span ± 0.06 s)
7. GEN MiniMax H3 reference-to-video per batch: Image 1 = canvas, Image 2.. = refs,
Audio 1 = slice ("timing source only, no lip-sync"); Shot N per panel, a named
Transition per seam; ONE candidate per batch (run.py default since 9-17) ⛔ --spend = Fish's green light
8. ASSEMBLE clips at batch offsets over the ONE VO, speed nudge bounded 0.9-1.1×, trim excess,
hold = regen flag (never a pass); Remotion captions from EL timings; ONE ducked
bed, no swap/hit/riser (9-11); receipts: nudge per batch, freezedetect, luma,
final ends at last word + 0.5 s; gemini_qa --type final
Run dir: output/cartoon-h3/<pack-slug>/ (vo.mp3, words.json, lines.json, plan.json,
storyboard.md, canvases/, slices/, gen/, fit/, -final.mp4, -final-discord.mp4, receipts).
COMMANDS
# storyboard only (generates the VO; no image/video spend)
python3 -m scripts.cartoon_h3.run --pack output/concept-packs/<pack>.md \
--char-ref "label=<png>" --env "<room>=<png>" ... --product-truth "<one sentence>" \
--style claymation --characters "Mom, Dad and Ryan" --stage storyboard
# after Fish approves storyboard.md
touch output/cartoon-h3/<slug>/storyboard.approved
python3 -m scripts.cartoon_h3.run ... --stage canvas # GPT Image 2.5 on fal (canvas.py default)
python3 -m scripts.cartoon_h3.run ... --stage gen --spend --backend fal --model h3-max # paid
python3 -m scripts.cartoon_h3.run ... --stage assemble
# 10-06 motion end card: automatic after assemble when the pack has `end_card:` (+ optional end_card_secs / end_card_clip /
# end_card_product); writes <slug>-final-endcard.mp4 and cuts the Discord copy from it. Skip: --no-end-card. Standalone:
python3 -m scripts.cartoon_h3.endcard <final.mp4> <out.mp4> [--secs 3] [--text "..."] [--clip <product-spin-on-navy.mp4>]
# 10-06 re-skin (same audio + beats, new style = one variable): lane song → --from-pack; outside-lane winner → --from-video
python3 -m scripts.cartoon_h3.reskin --from-pack output/concept-packs/<pack>.md --style <style>
python3 -m scripts.cartoon_h3.reskin --from-video <final.mp4> --script <lines.txt> --style <style> --slug <new-slug>
# higgsfield backend: discover the H3 job schema first (needs a live Clerk session)
python3 -m scripts.cartoon_h3.run --pack <pack> --backend higgsfield --discover
10-06b MODES (Builder cartoon-A, all driven by pack keys, default runs unchanged)
| Mode | Pack key / flag | What it does |
|---|---|---|
| On-camera line (in-scene talking) — format-gated | on_camera: 4, 9 (legacy alias native_speech: warns once) or role tag (on-camera)/(to camera). Only in a pack whose format_skill: calls for on-camera dialogue (knowledge/ad-formats/on_camera_formats.json, read by pack.format_gate; load_pack and check_plan --lint FAIL it anywhere else; no format_skill: = narrator VO, no mouths). One on-camera turn = ONE continuous shot on ONE speaker (pack.native_turns, storyboard.merge_native_turns ≤ 15 s, lint_on_camera). run.py --stage speak [--lipsync sync3\|h3] [--lipsync-res 768P\|1080P] --spend |
H3 native voice KILLED (Fish 10-06 late: "the voice on h3 isnt good, i would rather have elevenlabs"). H3 holds that beat mouth-closed; --stage speak slices the line's ElevenLabs take from vo.mp3 over the beat window and lip-syncs it onto the held close-up (start frame from gen_hd/gen at the beat): sync-3 fal-ai/sync-lipsync/v3/image-to-video default ($8/min, proven on cartoons 10-06), or --lipsync h3 = minimax/h3-max/lip-sync/image-to-video ($0.16/s 1080P, $0.08/s 768P, x1.2 past 15 s). Assemble swaps the PICTURE only (clock.splice audio base): the EL VO stays the soundtrack, the timeline never shifts, the voice matches the character everywhere. Paid; dry-run writes speak/jobs.json (payload_preview, cost) and stops. |
| Avatar overlay (sync-3, PiP only) — format-gated | avatar_overlay: <still> (+ avatar_lines:/avatar_pos:/avatar_size:/avatar_merge_gap:) or --avatar <still.png> |
sync-3 talking head KEYED over the assembled cut (fal-ai/sync-lipsync/v3/image-to-video, $8/min; speak.py avatar jobs, overlays.overlay_avatar). Fish 10-06: sync-3 as a corner head is ONLY this — never a sung chorus, never mascots. Only formats whose row says avatar: true (ai-actor-demo today). v2 (Fish 10-06): the avatar is a cut-out, never a box. The still is a cartoon bust on flat #00FF00 (python3 -m scripts.cartoon_h3.speak --avatar-still <ref.png> --out <still.png> --who "Mom" --spend, GPT Image 2.5 on kie, ~6-10 credits). The overlay samples the key from the clip, then chromakey + despill + 1 px erode/feather + bottom-16 % fade, cropped to the character. A non-green still is linted as a block and refused at --spend. One avatar = one voice (avatar_lines from one speaker; avatar_who: in dialogue packs). Default spot (10-06 position pass, Fish: "position should be near the bottom middle, they arent the focal point"): bm = bottom-middle, horizontally centred, top edge at 66% of height (just under the caption block, which ends at 64% per VideoAd.tsx CAPTION_SAFE_BOTTOM_FRAC), size 0.18 of frame width (down from the old 0.30 corner default) — small, secondary, never covering captions, clear of the bottom Reels UI. Corner spots (br/bl/tr/tl, *-low) remain available as explicit avatar_pos: overrides; a box that would cover the title header defers until the header ends (overlays.defer_past_title). |
| No-VO sheet clock | clock: sheet + per-line *(3.5s)* (or durations:) |
Silent timing track — no VO. --clip-audio / clip_audio: keep keeps each clip's own sound; captions: off hides captions; music: none drops the bed; the SFX cue sheet works unchanged. |
| Chapter breaks + title cards | chapter_break: auto\|5,23; --chapter-cards |
Forces a fresh H3 batch at chapter seams; --chapter-cards inserts a Remotion ChapterCard at those seams from ### Ch3 — Title headings or chapter_cards: (test cell; doctrine default is no cards). |
| Mid-roll offer card | offer_card: 60 nights to try it\|... (+ offer_line:/offer_secs:/offer_y:) |
Burns the offer card while the cta line plays; lint blocks any $/%/N-day figure not sourced from product_truth/offer_truth/pdp_offer. |
| ScoreCard overlay | --score-card |
Remotion ScoreCard from ## Score track / scores: / "X out of ten" lines (split.py, used at assemble). |
| DuetStack (split-screen reactor) | --duet |
Remotion DuetStack (top track from ## Top track) replaces the plain caption render (split.py, used at assemble). |
10-06 FIX A (lanes, clip-QA versioning, replace-section grid, cut-down; default runs unchanged)
| Item | Flag / entry point | What it does |
|---|---|---|
| Concurrent lanes (Fish 10-06: use every lane fal/Higgsfield allow) | --gen-workers / --canvas-workers now DEFAULT to the provider cap (scripts/lanes.py: fal = live account limit, 20 on 10-06; higgsfield = 8 per workspace; kie = 20), clipped to the job count |
Every paid call (h3.fal_generate/hf_generate/hfcli_generate/kie_generate, canvas fal/seedream/gpt/kie, speak.py, backends.py seedance, song.py kie) holds ONE machine-wide lane slot from submit to download (h3.paid_lane), so two runs at once still stay under the cap. Seedance beats of a batch now render in parallel. Higgsfield submits are checked for a job id (burst rule). Passing an explicit --gen-workers 8 etc. still works. |
| Clip-QA rubric versioning | run.py --reqa; python3 -m scripts.cartoon_h3.clipqa <run> --status / --reqa |
qa.json identity v3 = clip bytes (mtime+size) + the batch/beat fields the clip was judged on; the rubric is a separate stamp. A rubric edit or a derived plan field (tier) NEVER blocks assemble; old v2 records stay valid when the clip and its batch timing are unchanged. --reqa re-judges old-rubric records (free Gemini call, old record kept under _prev). Changed clip / beat text = stale (re-QA). |
| Replace-section reuse | song.py changed_region (piecewise), run.py --song --stage storyboard [--grid-base auto\|<base run>\|none], song.py --copy-unchanged --base <base> |
Changed region is measured with per-window lags on a band spectrogram (the real kie output shifts +0.17 s after the swapped verse); the hook storyboard keeps the BASE run's batch grid outside that window and defaults --song-end to the base ending; copy-unchanged links kept batches by grid_base_batch and carries their passing clip-QA records. Proof data: 23/23 unchanged batches reused, only the 2 window batches regenerate (was 16/27). |
| Seedream zero-ref | --canvas-backend seedream |
A sheet with 0 refs renders on GPT Image 2.5 (fal) instead (logged, receipt backend: fal (seedream zero-ref fallback)); the dry-run lists those sheets. |
| VO-check ASR | automatic | vo_check.ensure_whisper_model downloads the Whisper checkpoint with a certifi-backed verifying context (python.org build has no CA bundle) and checks its SHA-256; cached at ~/.cache/whisper/small.pt. --skip-vo-check is no longer needed for the SSL error. |
| Cut-down edit | python3 -m scripts.cartoon_h3.cutdown <run> --target 60 \| --lines 1-3,41,77-86 [--label] [--out-dir] [--dry-run] |
FREE re-cut of a finished VO run from video-silent.mp4 + vo.mp3 by whole pack lines; script captions, header, one fresh bed, freeze scan → <run>/cutdown-<label>/. VO runs only (song/sheet refused). gemini_qa the result before shipping. |
Regressions: python3 -m unittest scripts.cartoon_h3.test_fix_a (real 10-06c proof audio, clip-QA identity, seedream fallback, cut-down math). |
10-06 FINAL (parallax tier, AI morph bridges, chain-frames proof; default runs unchanged)
| Item | Flag / entry point | What it does |
|---|---|---|
| True parallax tier (FREE) | --tier-models C=parallax or preset tier-c-parallax; python3 -m scripts.cartoon_h3.backends <run> --batch N --backend parallax; standalone python3 -m scripts.cartoon_h3.parallax <still> --out x.mp4 |
Local Depth-Anything-V2-Small depth (CPU, no spend) → 3 planes with inpainted gaps → per-plane zoom/shift through ffmpeg; same stills/moves/trim-join as pan, so slices/assemble/clipqa run unchanged. All-free selections (pan/parallax) need no --spend. Tier A never; B only on paper. |
| AI morph bridges | python3 -m scripts.cartoon_h3.morph A.mp4 B.mp4 --out j.mp4 [--model pixverse-c1\|vidu\|wan-flf2v --secs 2 --mode replace\|insert --spend] or concat.py --morph <model> |
Boundary frames → fal first/last-frame model (default fal-ai/pixverse/c1/transition, $0.05/s 720p) → bridge retimed to --secs → spliced by concat.build (its --xfade-frames/--xfade-transition smooth the bridge seams). replace keeps the timeline and the original audio. Dry-run (payload + $ in <out>.morph.json) unless --spend; --bridge-file re-splices a bridge you already paid for. Paid path unproven. |
| Chain-frames proof | --chain-frames (unchanged) |
10-06d proof ($0.5085): no seam gain on a different-subject seam (SSIM 0.546 both arms); see output/model-proofs-2026-10-06d/README.md. Use only where batch N opens on batch N-1's last subject. |
Pack keys lipsync:/sync3: now error and point to on_camera: / avatar_overlay: (see _FORMAT-CORE.md §1b/§3). A speak/jobs.json left by the killed H3-native-voice route is refused at assemble (re-plan with --stage speak). --native-res is a hidden legacy flag mapped to --lipsync-res. --speak-missing fail\|skip controls whether a planned on-camera/avatar clip that never got generated fails assemble or is silently skipped.
SHARED BODY (3 hooks × 1 body, added 2026-09-16)
Pack front matter body_start: <line> marks where the shared body begins. VO = hook take + body take (0.12 s seam);
the body take, its word timings, beat descriptions, canvases and clips are cached under
output/cartoon-h3/_shared-body/<hash>/ (hash = voice + body text) and reused by every pack with the same body.
The body always starts a fresh batch. Run A first (fills the cache), then B, C. --env <name> without a path is
allowed for --stage storyboard only. Higgsfield: --backend higgsfield --spend --allow-billing (H3 is billed, 2.5 cr/s @768p).
Cache guard (10-02): a cached segment whose words match but whose scene intents differ now FAILS the storyboard
instead of silently inheriting the other pack's visuals; make the intents identical or move the line out of the segment.
HOOKS × LEADS MATRIX (added 2026-10-02)
lead_start: <line> (with body_start) adds a cached LEAD between hook and body: lines 1..lead_start-1 = hook (per
pack), lead_start..body_start-1 = lead (cached under _shared-body/lead-<hash>/), body_start+ = shared body.
Renders H hooks + L leads + 1 body, whatever the number of cuts. A lead must land after EVERY hook it's paired with.
1. Write a variants file (## Hook h2 / ## Lead l2 sections; each entry = VO line, then its **ROLE** — intent line).
2. python3 -m scripts.cartoon_h3.matrix --base <approved base pack> --variants <file> [--lead-lines A-B] [--design anchor|full] --write
→ <concept>-h<i>-l<j>-<date>.md packs + output/cartoon-h3/_matrix/<concept>.json. anchor (default) = every hook
on l1 + h1 on every lead (H+L-1 cuts, clean separate reads); full = H×L.
3. Fish approves every hook, lead and the body (script gate) → run h1-l1 first, then the rest (they reuse lead/body).
4. Ad names MUST be <concept>-h<i>-l<j> (the readout parses them).
5. python3 -m scripts.cartoon_h3.readout --concept <concept> [--days 14] [--write]: hook judged on hook rate
(3 s views / impressions, cuts sharing l1), lead on hold rate (ThruPlays / 3 s views, cuts sharing h1), set on CPA vs
breakeven; z-tested; flags "Meta picked" when one ad set starved the other cuts; prints where to test next and
appends to knowledge/brands/dawnbands/research/hook-lead-ledger.md. Legacy names: --pattern 'sl0919-h(?P<h>\d+)'.
ANIMATION HUB
python3 -m scripts.cartoon_h3.hub --deploy (or any stage with --hub) → https://animation-hub.pages.dev — every run,
every stage (script · VO · storyboard + gate state · canvases + Gemini check + prompt · slices · gen clips + cost · final + QA · receipts).
CREDIT DISCIPLINE — Higgsfield H3 (Fish 2026-09-16, binding)
Where credits went on the first run (~1,100 cr): 43.5 on a UI "Rerun" click, ~330 on second candidates (later dropped), ~140 on
5-panel batches H3 stacked (3 paid retries), ~36 on sheet retries the checker failed for LED digits. Rules that stop each:
1. Never click "Rerun" in the Higgsfield UI. It submits and bills instantly. Read params from GET /fnf/jobs?job_set_type=….
2. One candidate per batch. clipqa.py is the only regen trigger; "readable text" on a phone/clock glow is a soft flag, never a regen.
3. ≤4 panels per H3 job (MAX_PANELS = 4). A stacked batch is not fixed by re-rolling: use splitgen.py (rows of the same sheet → 2 short jobs).
4. Smoke one batch first on every new session/backend; the payload is validated before a wave. A 403 is free, a wrong payload is not.
5. Regen with --regen N, never by deleting files: the cache pull restores a parked failed clip and the job is silently skipped (then paid again later).
6. Before re-rendering a sheet, re-check the existing fails with the corrected checker; promote what passes (allow_band_digits on product batches). Sheets cost ~3 cr, video ~2.5 cr/s.
7. Killing a gen process orphans billed jobs. Recover them with recover_jobs.py <ids> (prompt match) instead of resubmitting.
8. Prompt hygiene = fewer retries: product truth once (on the product-ref line), refs named by role, per-shot audio windows, no "storyboard" in a video prompt, style block + character sheet on every job, style-anchor sheet on every canvas.
9. Duration = ceil(span), 768p, never pad audio to fill; H3 returns ceil+0.4 s and assemble trims. Never buy 2K unless Fish asks.
10. Media cache (_hf-media-cache.json) is on: re-uploads cost time not credits, but a stale mtime = a new upload; don't touch ref files mid-run.
BACKENDS + COST (verified 2026-09-11)
| Backend | Model | Price | Notes |
|---|---|---|---|
| fal | minimax/h3-max/reference-to-video |
$1.20 / 15 s (768P); promo $0.30 / 15 s until 2026-09-14 | default; fastest, best adherence |
| fal | minimax/h3/reference-to-video |
$0.06/s 768P · $0.13/s 2K | when 2K is needed |
| higgsfield | H3 in the standard sub | 20 credits / 5 s, 60 / 15 s | job type + params come from --discover, never guessed (scripts/cartoon_h3/higgsfield_h3.json) |
| Refs: ≤ 9 images, ≤ 3 audio (2-15 s each), 12 files total; audio needs an image beside it. |
VO + DIALOGUE CLARITY — BINDING (Fish 2026-10-01: "words must not clump or get hard to understand", "make sure these checks are always in the rules")
Applies to EVERY cartoon-h3 pack, single narrator or dialogue. Enforced in code: vo_check.py runs inside run.py right after the VO and
BEFORE the storyboard; a FAIL stops the run (--skip-vo-check exists and is never the answer).
1. Never fix pace by speeding the VO up or slowing it down. Fix a bad line by splitting it, re-punctuating it, or redoing the take.
2. Line length: no spoken line over 18 words in a dialogue pack; one idea per line; a long speech becomes 2-4 lines, each on its own panel.
3. Numbers are spelled with spaces in the VO text ("eight twenty two", "ten thousand", "sixteen"), never digits or hyphenated, so the take and the word timings stay aligned.
4. Dialogue packs: line tags [SPEAKER] "text", front matter voices: NAME=elevenlabs_id, ..., vo_tempo: 1.08, max_gap: 0.22, gap_same: 0.2, gap_turn: 0.4, seam_gap: 0.25, optional style_NAME. One voice per speaker, clearly different (age, pitch, energy). Every line is its own take; voices can never overlap. Each speaker's lines are level-matched on copies (the shared line cache is never edited).
5. The five checks (all written to vo-check.md / vo-check.json):
- Pace: every line of 6+ words: dialogue FAIL above 4.8 wps (warn above 4.5, drag warning below 2.4); narration WARN outside 3.0-5.4. Overall ≥ 2.9 wps dialogue (turn gaps cost ~0.15 wps), ≥ 3.4 narration (FAIL). Hook lines may be synthesized slower with hook_tempo in the pack (synthesis speed, never a post-stretch).
- Gaps: speaker change 0.30-0.55 s, same speaker 0.12-0.30 s (dialogue FAIL); dead air above 0.6 s dialogue / 0.4 s narration (FAIL).
- Clump scan: more than 9 words inside any 2 s window warns, more than 11 fails (dialogue); narration warns above 11.
- ASR round trip: Whisper transcribes vo.mp3 and the whole transcript is aligned against the whole script; any line of 3+ words missing more than 10% of its words (dialogue FAIL, narration WARN), or overall error above 5% dialogue / 10% narration, is redone. Brand and character names are exempt.
- Human listen: Fish hears the full VO on the hub before the storyboard gate.
6. One speaker turn = one panel. Short reaction lines become reaction panels; a long speech gets cutaways that keep the speaker on screen before and after. No lip-sync in H3: the speaker is legible only through framing, gesture and speaker-colored captions.
7. Any VO re-time forces a timeline rebuild and an A/V sync check.
(Limits calibrated 10-01 on the first S2 run: the first draft limits sat below natural speech; the ASR round trip is the strict, objective gate.)
BINDING RULES
- VO before pictures. No duration buckets, no per-scene VO, no
-shortestmux, no freeze pads. - Batch boundaries only on pack-line ends. A batch that would cut mid-sentence pulls back.
- Product panels: batch ≤ 3 panels, product ref attached, wordmark/shape named in the panel text.
- Storyboard gate before canvases;
--spendgate before generation. Both are Fish's. - A clip is fit by speed within 0.9-1.1× and trim only. A held frame is a regen flag in the receipt.
- Every final: dead-air receipt, freezedetect = 0, luma scan = 0, gemini_qa final, ≤ 8 MB Discord copy.
- Captions ALWAYS come from the real script (Fish 9-28, song + VO): assemble rebuilds
caption-words.jsonfrom lines.json text on the audio timings every run (caption_words.build); transcript words (Scribe/EL) are never shown, and a fallback logs a WARNING that blocks shipping. - Inherited from cartoon-pipeline: product text fidelity, fever-dream literal VO, plain-language pass, product named at reveal + spoken CTA, no photoreal product into scene gen. (The end card's real product cutout is a post overlay, not scene gen.)
- Product reference = an in-hand / in-context shot (10-06, davidaistar teardown). A white-background-only product shot makes image and video models guess scale wrong. Every product sheet gets the real cutout PLUS one buyer photo of the band on a real wrist (10-05 rule: silhouette from real units, not supplier art).
- Improvise first, then fix with an edit pass. Never force exact copy, text or many constraints into one generation prompt: generate plain (2-3 sentence prompts, 10-04 rule), then fix the one wrong thing with an edit model on that image. Regenerating from scratch is the last resort.
- Restate the refs and the model on every call. When an agent or MCP drives the generation, defaults drift silently (wrong model, voice or refs). Each gen call names its char/env/product refs and model explicitly; the receipt records them.
- Re-skins change one variable. Audio, beats and intents stay identical (reskin.py checks the audio hash and timings); only style, refs and sheets change. storyboard.approved is never copied: Fish re-approves.
KNOWN FAILURES (from the source skill + ours)
| Failure | Fix |
|---|---|
| canvas split-screen / wrong panel count | identical prompt regenerated (geometry lines are verbatim); then check refs count ≤ 9 |
| clip stacks beats into one static frame | never write "one continuous shot"; one Shot per panel + one named Transition per seam |
| character drift | ref attached with role line + preservation clause in EVERY prompt; never described from memory |
| readable words on props | "symbols without readable words" in the panel text; text ban stays; regenerate identical |
| clip early/late vs words | normal; bounded nudge in assemble, else the second candidate |
| product drift in small panels | reveal/CTA batch ≤ 3 panels (enforced in the batcher) |
| product truth pasted into every product shot ("no phone" on a shot that shows the phone) | truth sentence ONCE, on the product-reference image line (h3.video_prompt, 9-16); the per-panel suffix the storyboard adds is stripped |
| "storyboard" in the video style block → grids/panels in clips | video prompts use the style block minus "premium animated commercial storyboard"; Image 1 = "shot guide, one full-frame shot per panel, never a grid" |
| room sheets labelled as identity refs | refs named by role in the video prompt: character sheet / product reference / room sheet |
| Gemini canvas check fails every product sheet ("readable text" = the band's LED digits) | check_canvas(..., allow_band_digits=True) on product batches (9-16); clocks/screens/papers still banned — prompt says blank faces, plain glowing rectangles, blank papers |
H3 submit 403 unlimited_generation_not_allowed |
use_unlim only when an entitlement covers the job (higgsfield_unlim.submit_unlimited, 9-16) |
| per-job re-upload of the same refs (2 min each) | _hf-media-cache.json keyed by path+size+mtime, 20 h |
| assemble blocked: "clip QA failed, missing or stale" after a rubric edit (10-06, 187 cached records) | fixed 10-06 fix A: v3 identity, rubric stamped separately; the error now names the reason; --reqa only when you want the new rubric's verdict |
replace-section copy-unchanged reused 0/27 (one global lag flagged the whole song) |
fixed 10-06 fix A: piecewise changed_region + grid-preserving storyboard |
seedream image_urls: Sequence should have at least 1 items on a zero-ref batch |
fixed 10-06 fix A: zero-ref sheets fall back to GPT Image 2.5 |
VO gate fails closed: Whisper download CERTIFICATE_VERIFY_FAILED |
fixed 10-06 fix A: certifi-backed download + SHA-256 check (vo_check.ensure_whisper_model) |
| on-camera turn cut across shots ("Excuse me?" on a VO close-up, then the native line over-the-shoulder with the Clerk's back in frame; Fish 10-06: "a narrators dialogue was getting cut into multi scenes") | fixed 10-06 v2: native_turns + merge_native_turns keep the whole turn in one shot; lint_on_camera blocks split / cut / half turns and a second face in the native shot |
| sync-3 avatar in a rounded box, and a Mom avatar mouthing the Clerk's line (10-06b proof 2) | fixed 10-06 v2: green-screen still → chromakey overlay (no box); lints for a non-green still, mixed-voice avatar_lines, and an avatar_who mismatch |
| GPT Image green still flagged "not keyable" (the shoulders touch the bottom edge) | overlays.green_key samples the top edge plus the upper 60 % of the sides only (10-06 v2) |
| H3 native voice didn't match the EL narrator ("the voice on h3 isnt good"), and talking was offered for any pack (10-06e proof 1) | fixed 10-06 late: on-camera = the line's EL take + sync-3/H3 lip-sync, picture-only swap; pack.format_gate + on_camera_formats.json fail on-camera/avatar keys in formats that don't call for them |
LEARNINGS (appended 2026-10-06 v2, proofs in output/model-proofs-2026-10-06e/)
- Choose proof examples on purpose. Use a cut that passed final QA, a single narrator, and a line whose pack intent is already a to-camera close-up (guestroom h1, line 30). A build-test cut with stale QA and a dialogue turn split across shots wastes the proof.
- On-camera start frame = the beat's own HD shot (
gen_hd/batch-NNat the beat; overridespeak/oncam-bNN.frame.png). The splice then continues the same framing, with no visible seam. H3 native voice came in ~11 dB quieter than the VO; assemble's LUFS match (capped ±12 dB) handled it. - ~~The native line is in H3's voice, not the ElevenLabs narrator voice. That's accepted under the 10-06 ruling.~~ SUPERSEDED 10-06 late: Fish rejected the H3 voice; on-camera lines are the EL take + lip-sync (see below).
native_voice:is no longer read. - sync-3 keeps a flat green background flat (the key sampled from the clip was 0x00F703 vs the still's 0x05FA07), so chromakey is reliable and no matting model is needed. The proof had 0 green pixels in the avatar region on the frames checked.
- The avatar earns its place on explanation-over-b-roll lines (product/mechanism shots), not on lines where the same character is already full-frame.
LEARNINGS (appended 2026-10-06, avatar position pass)
- Default avatar position moved off the corner. Fish: "position should be near the bottom middle. they arent the focal point." New default
avatar_pos: bm,avatar_size: 0.18(pack.pyAVATAR_POS/_avatar,overlays.pyBOTTOM_MID_TOP_FRAC = 0.66/BOTTOM_MID_MAX_FRAC = 0.95,avatar_box). Box sits centred, top edge just under the caption block (captions end 0.64 of H,VideoAd.tsxCAPTION_SAFE_BOTTOM_FRAC), bottom edge capped well above the true Reels UI floor (~0.86+). Old corner spots (br/bl/tr/tl,*-low) stay as explicit overrides, defaults only changed. - Re-rendering an already-keyed avatar proof at a new position costs nothing when the sync-3 raw clip is still on disk:
overlay_avatar()re-keys + re-composites straight from the cached clip onto the clean (pre-avatar) base video, no newfal-ai/sync-lipsynccall. Proof 10-06: re-renderedoutput/model-proofs-2026-10-06e/2-avatar-keyed/avatar-keyed-bottom-middle.mp4fromavatar-s01-raw.mp4+ the original (non-cloned) guestroom run's plain final as the clean base — $0. - Keep a clean (non-cloned) copy of the base run around. The v2 proof's APFS-cloned run dir got trashed after assemble, but the original
output/cartoon-h3/<run>/...-final.mp4(pre-clone, no avatar) was still there and matched the cloned run's clock exactly (same duration, same LUFS) — that's what a later free re-render reuses as the overlay target.
LEARNINGS (appended 2026-10-06 late, EL voice + format gate)
- One voice per character, everywhere. A model's own voice next to an ElevenLabs narrator reads as two people (Fish on the 10-06e native proof). Any on-camera mouth now carries the line's EL take; the soundtrack never changes, only the picture over that beat.
- Lip-sync is a format property, not a garnish. Default = narrator VO, no mouths. A pack talks on camera only when its
format_skillrow inon_camera_formats.jsonsays so (podcast, courtroom, spoken-drama, skit, street-interview, reaction-duet, ai-actor-demo; mascot K, mini-movie 5, whistleblower face-on as variants). Cite the format's own line when adding a row. - Picture-only swap keeps the clock. The lip-sync take is generated from exactly the beat window of vo.mp3 (first word → next beat's first word), so
clock.spliceaudiobasereplaces frames 1:1; captions, SFX and the avatar need no time map.