Planning a Multi-Shot AI Video in JSON (and Checking the Character Limits Before You Paste)
说明与用途
脚本验证每个镜头和总长度的字符限制,并检查连续性短语,确保 AI 视频输出一致。
问题
Managing per-shot and total character limits while ensuring continuity details in multi-shot AI video prompts.
结果
The script ensures each shot stays within 500 characters, the total stays within 1200, and continuity phrases are present, preventing visual inconsistencies.
工作流
- 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.
证据
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.
- 记录日期: 2026-11-01T02:44:17.806Z