Nodes/comfyui-arkennemasis/arkennemasis Scene Split (one scene from a JSON plan)
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.

By Hishamahmer·Created about a month ago·Updated 9 days ago· 5
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)

    NameTypeDefaultDescription
    scenes_jsonSTRING[]The whole JSON array. Wire the SAME source into every scene branch.
    scene_indexINT11–9999Which scene this branch owns, 1-based. Unique per copy.
    image_prompt_keyoptSTRINGimage_prompt
    video_prompt_keyoptSTRINGvideo_prompt
    voice_text_keyoptSTRINGvoiceText
    scene_number_keyoptSTRINGscene
    strictoptBOOLEANfalseOn = 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)

    NameTypeDescription
    image_promptSTRING
    video_promptSTRING
    voice_textSTRING
    scene_numberINT
    scene_countINT