ComfyUI Node
arkennemasis Scene Split (one scene from a JSON plan)
Pull scene N out of a JSON array of scenes — the fan-out step that lets one workflow drive many scene branches. Out-of-range indices silently skip the branch instead of failing the run.
arkennemasis Scene Split (one scene from a JSON plan)
- image_prompt
- video_prompt
- voice_text
- scene_number
- scene_count
◄scenes_json[]►
◄scene_index1►
◄image_prompt_keyimage_prompt►
◄video_prompt_keyvideo_prompt►
◄voice_text_keyvoiceText►
◄scene_number_keyscene►
◄strictfalse►
Categoryarkennemasis/Utility
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| scenes_json | STRING | [] | The whole JSON array. Wire the SAME source into every scene branch. |
| scene_index | INT | 11–9999 | Which scene this branch owns, 1-based. Unique per copy. |
| image_prompt_keyopt | STRING | image_prompt | — |
| video_prompt_keyopt | STRING | video_prompt | — |
| voice_text_keyopt | STRING | voiceText | — |
| scene_number_keyopt | STRING | scene | — |
| strictopt | BOOLEAN | false | On = raise when this index is missing. Off (default) = skip the branch quietly, so a short plan does not fail a canvas built for more scenes. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image_prompt | STRING | — |
| video_prompt | STRING | — |
| voice_text | STRING | — |
| scene_number | INT | — |
| scene_count | INT | — |