Planning a Multi-Shot AI Video in JSON (and Checking the Character Limits Before You Paste)
Description and use
The script validates per-shot and total character limits and continuity phrases in a JSON storyboard, ensuring consistent AI video output.
Problem
Managing per-shot and total character limits while ensuring continuity details in multi-shot AI video prompts.
Outcome
The script ensures each shot stays within 500 characters, the total stays within 1200, and continuity phrases are present, preventing visual inconsistencies.
Workflow
- Create a JSON file with "continuity" array and "shots" array.
- Run the provided Python script:
python check.py storyboard.json. - Review script output: if "OK to paste" then proceed; otherwise fix reported issues.
- Paste validated prompts into the GPT Image 2.5 editor.
- Generate the video.
- Verify continuity visually.
- Iterate if necessary.
Evidence
Each @element token counts as 37 characters.
The editor shows a per-shot counter (Shot 0/500) and a total counter (Total 0/1200).
Delete "grey coat" from shot 2 and the script reports the missing continuity detail, which is exactly the kind of slip that produces a different-looking character halfway through.
- Record date: 2026-11-01T02:44:17.806Z