> 一镜一图,角色锁定由 Seedream 4.0 多图参考保证。
python scripts/storyboard.py \
--script output/demo/script.json \
--char-dir output/demo/characters \
--out-dir output/demo/storyboard
输出:
storyboard/
├── S01.png
├── S02.png
├── ...
└── manifest.json # {"S01": {"path": "...", "prompt": "..."}}
prompt = f"{STYLE_PREFIX},{scene.location},{scene.time}。{scene.action}。{scene.camera}。{scene.mood}氛围。"
reference_images = [char_full for char_id in scene.characters] # 多图参考保角色一致
Seedream 4.0 支持最多 4 张 reference_image,超过时只取全身立绘。
768x1344(比 1024x1792 省成本)共 1 个版本