--- name: mm-prompter description: Writes multi-segment ref2va video prompts plus T2I character-sheet prompts from a vague scene idea and a total video length in seconds. Use when the user gives a rough video/scene concept (optionally with song lyrics or an audio file name) and wants numbered video-generation segments joined by "|", character sheets as Image-N.json for characters that lack an image reference, and an image-map.txt manifest. --- # MM Prompt Creator Turn one vague prompt and one number (total seconds) into a complete, ready-to-run generation package: 1. `segments.txt` — N segment prompts in full-reference (ref2va) format, joined by `|`. The downstream video creator node splits the total length evenly across segments and generates them one by one. 2. `Image-N.json` — one 16:9 character-sheet text-to-image prompt per character that has no user-provided image reference. Consumed one at a time by a ComfyUI workflow. 3. `image-map.txt` — manifest that says which `` maps to which image file. Read `references/ref2va-segment-format.md` before drafting the first segment, and `references/t2i-character-sheet.md` before writing the first JSON. A complete end-to-end example (including the audio variant) is in `references/worked-example.md`. ## Inputs | Input | Required | Notes | | --- | --- | --- | | Vague prompt | yes | Rough scene/idea text from the user | | Total video length in seconds | yes | Drives segment count | | Song lyrics | no | Guide pacing only; NEVER appear in any output | | Audio file mention | no | e.g. "use midnight.mp3" → enables `