cd /news/generative-ai/locking-start-frame-hand-geometry-an… · home › topics › generative-ai › article
[ARTICLE · art-179909] src=dev.to ↗ pub= topic=generative-ai verified=true sentiment=↑ positive

Locking Start-Frame Hand Geometry and Re-Merging Subtitles at 0 Extra Credits in 16:9 AI Video

An engineering team at AlphaDrama documented a pre-render workflow for AI-generated video that audits each approved start keyframe for spatial and anatomical contradictions before launching image-to-video, catching two directional errors in Episode 5's five shots without re-rendering. The team also re-merged subtitles at zero additional credits by re-triggering only the FFmpeg concat/ASS burn pass after an export omitted them, keeping the wallet balance unchanged at 53,128.

recommendation

Audit approved start keyframes for spatial contradictions before paying for video renders, and fix subtitle or assembly errors by re-running only the merge pass rather than regenerating shots.

more in playbook: Controlling LLM cost
by read3 min views8 publishedDec 2, 2026

Disclosure: I'm part of the engineering team building AlphaDrama. This tutorial documents the pre-render spatial lock check and zero-credit subtitle re-merge workflow we used while shipping Episode 5 (34.17s, 1920x1080) on top of an unchanged Episode 1 character reference sheet.

Re-generating a broken 6-to-8-second native 768p AI video shot costs real render budget and wall-clock queue time. The cheapest continuity bug fix happens after you approve each start keyframe (9 credits) and before you launch image-to-video (51.15 credits/sec).

In Episode 5 (five scenes across white-jade celestial palace environments, 16:9 widescreen), checking every start keyframe pixel-by-pixel caught two directional contradictions before a single video task entered the queue—then caught one more export mistake after merge without re-rendering any shot.

Image models prioritize spatial composition over left/right anatomical wording in complex poses. When we inspected the five approved GPT Image 2.5 Sunburst start frames for Episode 5 (ep5-ff-1 through ep5-ff-5):

Shot Duration Intended Script Spec Rendered Start Frame Reality Spatial Patch Applied Before Video Render
S1 6.25s Both hands in jacket pockets Both hands literally in pockets, torso angled slightly right Locked gaze turn to camera ( 0-1.2s ); banned pulling hands from pockets
S2 8.00s Immortal peach in right hand Peach literally held in right hand (viewer left ) Kept right hand holds peach + explicit anti-hand-swap guard
S3 6.00s Cup in left hand, right-hand snap Cup literally held in right hand ,left hand poised underneath Swapped prompt roles: right hand holds cup steady, left hand snaps spark (1.2-2.0s)
S4 6.50s Cup + red ribbon on left wrist Left hand holds cup + twin red ribbons; right hand in pocket Reinforced left hand = cup + ribbon, right hand = pocket
S5 7.00s Left elbow on railing, turn toward sunset Right forearm/elbow rests on marble rail (viewer left ) holding cup in right hand Rewrote rail contact to right forearm , locked turn direction toward screen-left sunset (shoulders + torso + head rotate ~45deg together )

That 60-second audit avoided re-rolling S3 and S5 at 768p, bringing the entire 5-shot episode cleanly in at 2,109 coins total across scenes, props, keyframes, and 768p renders.

After all five Seedance 2.0 Mini 768p shots finished cleanly, our first export merge (ee27247d-027e-4743-8d1c-e0cc8e06c5f3.mp4) omitted subtitles because the merge request went out with generate_subtitles unchecked.

Because the five shot videos and voice_cues timelines live independently from the final FFmpeg assembly stage, fixing subtitles cost 0 additional render credits by re-triggering only the concat/ASS burn pass:

POST /api/v1/merge/episodes/211/merge
{
  "generate_subtitles": true,
  "transition": "cut",
  "look": "none"
}

The new merge (merge_id=53, 19,040,780 bytes raw at 1280x720, 34.08s) produced exact aligned ASS burn-in across all 5 shots ( Morning roll call..., Three-thousand-year peach?..., Laozi's alchemy furnace..., No patrols down by the Jade Pool..., Not a bad afternoon off...) with wallet balance unchanged ( 53,128 -> 53,128).

ffprobe Verification Finally, upscale cleanly from native 768p (16:9 square pixels) to 1920x1080 and verify all stream parameters before publishing:

ffmpeg -y -i nezha-vlog-ep5-768p.mp4 \
  -vf "scale=1920:1080:flags=lanczos,setsar=1" \
  -c:v libx264 -crf 17 -preset slow -pix_fmt yuv420p \
  -c:a aac -b:a 192k -movflags +faststart \
  nezha-vlog-ep5-1080p.mp4

ffprobe -v error -show_entries format=duration,size \
  -show_entries stream=codec_type,codec_name,width,height,display_aspect_ratio,r_frame_rate \
  -of json nezha-vlog-ep5-1080p.mp4

Observed 1080p output: 1920x1080, DAR 16:9, 24 fps, h264, stereo 48000 Hz AAC audio, 34.166667s, 36,511,721 bytes (8,340 kb/s), checked across an automated 4×4 grid plus 18 full-resolution per-shot stills.

Watch Episode 5 live on YouTube: https://youtu.be/AvploNUsrwM

For the deeper multi-episode architecture breakdown across Episodes 1–5, read our companion note on Hashnode: https://alphadrama.hashnode.dev/holding-one-character-sheet-across-5-lighting-regimes-celestial-palace-16-9-production-notes-ep-5

You can explore the character-locking storyboard workflow on AlphaDrama.

── more in #generative-ai 4 stories · sorted by recency
── more on @alphadrama 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/locking-start-frame-…] indexed:0 read:3min 2026-12-02 · —