{
  "id": "ee8a8542-c278-4b1c-81f9-1075d88b0b4d",
  "revision": 0,
  "last_node_id": 171,
  "last_link_id": 371,
  "nodes": [
    {
      "id": 37,
      "type": "PreviewAny",
      "pos": [
        3920,
        670
      ],
      "size": [
        210,
        300
      ],
      "flags": {
        "collapsed": false
      },
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 189
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 2: Prompt",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 46,
      "type": "PreviewAny",
      "pos": [
        4180,
        670
      ],
      "size": [
        210,
        300
      ],
      "flags": {
        "collapsed": false
      },
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 191
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 3: Prompt",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 4,
      "type": "LoadImage",
      "pos": [
        380,
        590
      ],
      "size": [
        490,
        500
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            223,
            368
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Start Frame Image",
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [
        "comfy_gpu_angled.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "comfy_gpu_angled.png",
        "upload": "image"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 8,
      "type": "LoadImage",
      "pos": [
        920,
        590
      ],
      "size": [
        490,
        500
      ],
      "flags": {
        "collapsed": false
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            224
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Product Image 1",
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [
        "comfy_gpu_flat.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "comfy_gpu_flat.png",
        "upload": "image"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 12,
      "type": "LoadImage",
      "pos": [
        1470,
        590
      ],
      "size": [
        490,
        500
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            225
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Product Image 2",
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [
        "comfy_gpu_close_up.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "comfy_gpu_close_up.png",
        "upload": "image"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 81,
      "type": "0e2c3eaa-706c-41fd-b300-b6bd9e84a0a4",
      "pos": [
        2370,
        590
      ],
      "size": [
        200,
        50
      ],
      "flags": {
        "collapsed": true
      },
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "input",
          "type": "*",
          "link": 106
        },
        {
          "name": "input_1",
          "type": "*",
          "link": 107
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            367
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.14.1",
        "proxyWidgets": [],
        "previewExposures": []
      }
    },
    {
      "id": 115,
      "type": "2b10af74-c412-4c88-b235-6b170aed965c",
      "pos": [
        3190,
        570
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "string_a",
          "type": "STRING",
          "widget": {
            "name": "string_a"
          },
          "link": 339
        },
        {
          "name": "on_false",
          "shape": 7,
          "type": "STRING",
          "link": 340
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "STRING",
          "link": 370
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "STRING",
          "links": [
            241
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.14.1",
        "proxyWidgetErrorQuarantine": [
          {
            "originalEntry": [
              "-1",
              "string_a"
            ],
            "reason": "missingSourceNode",
            "attemptedAtVersion": 1
          }
        ],
        "previewExposures": []
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "string_a": ""
      }
    },
    {
      "id": 32,
      "type": "PreviewAny",
      "pos": [
        3670,
        670
      ],
      "size": [
        210,
        300
      ],
      "flags": {
        "collapsed": false
      },
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 187
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 1: Prompt",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 38,
      "type": "PreviewAny",
      "pos": [
        3920,
        500
      ],
      "size": [
        210,
        150
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 185
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 2: # of Seconds",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 53,
      "type": "PreviewAny",
      "pos": [
        3920,
        1270
      ],
      "size": [
        210,
        270
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 198
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 5: Prompt",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 52,
      "type": "PreviewAny",
      "pos": [
        3670,
        1100
      ],
      "size": [
        210,
        150
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 306
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 4: # of Seconds",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 54,
      "type": "PreviewAny",
      "pos": [
        3920,
        1100
      ],
      "size": [
        210,
        150
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 307
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 5: # of Seconds",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 57,
      "type": "PreviewAny",
      "pos": [
        4180,
        1100
      ],
      "size": [
        210,
        150
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 308
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 6: # of Seconds",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 89,
      "type": "SaveVideo",
      "pos": [
        5610,
        420
      ],
      "size": [
        640,
        1290
      ],
      "flags": {},
      "order": 46,
      "mode": 4,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 170
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "video/ComfyUI",
        "format": "auto",
        "format.codec": "auto",
        "codec": "auto"
      }
    },
    {
      "id": 35,
      "type": "PreviewAny",
      "pos": [
        3670,
        500
      ],
      "size": [
        210,
        150
      ],
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 202
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 1: # of Seconds",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 136,
      "type": "StringToInt",
      "pos": [
        3670,
        440
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 38,
      "mode": 0,
      "inputs": [
        {
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          },
          "link": 273
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            309
          ]
        }
      ],
      "title": "Shot 1: Duration",
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "data": ""
      }
    },
    {
      "id": 137,
      "type": "StringToInt",
      "pos": [
        3920,
        440
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          },
          "link": 275
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            310
          ]
        }
      ],
      "title": "Shot 2: Duration",
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "data": ""
      }
    },
    {
      "id": 138,
      "type": "StringToInt",
      "pos": [
        4180,
        440
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          },
          "link": 277
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            311
          ]
        }
      ],
      "title": "Shot 3: Duration",
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "data": ""
      }
    },
    {
      "id": 140,
      "type": "StringToInt",
      "pos": [
        3670,
        1030
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          },
          "link": 279
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            312
          ]
        }
      ],
      "title": "Shot 4: Duration",
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "data": ""
      }
    },
    {
      "id": 141,
      "type": "StringToInt",
      "pos": [
        3920,
        1030
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          },
          "link": 281
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            313
          ]
        }
      ],
      "title": "Shot 5: Duration",
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "data": ""
      }
    },
    {
      "id": 139,
      "type": "StringToInt",
      "pos": [
        4180,
        1030
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          },
          "link": 283
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            314
          ]
        }
      ],
      "title": "Shot 6: Duration",
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "data": ""
      }
    },
    {
      "id": 91,
      "type": "a98e3426-ae7f-4a8b-ba30-a2217a51ad09",
      "pos": [
        3420,
        570
      ],
      "size": [
        210,
        260
      ],
      "flags": {
        "collapsed": true
      },
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          },
          "link": 241
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            185,
            275
          ]
        },
        {
          "name": "STRING_1",
          "type": "STRING",
          "links": [
            186,
            277
          ]
        },
        {
          "name": "STRING_2",
          "type": "STRING",
          "links": [
            187,
            315
          ]
        },
        {
          "name": "STRING_3",
          "type": "STRING",
          "links": [
            189,
            316
          ]
        },
        {
          "name": "STRING_4",
          "type": "STRING",
          "links": [
            191,
            317
          ]
        },
        {
          "name": "STRING_5",
          "type": "STRING",
          "links": [
            279,
            306
          ]
        },
        {
          "name": "STRING_6",
          "type": "STRING",
          "links": [
            281,
            307
          ]
        },
        {
          "name": "STRING_7",
          "type": "STRING",
          "links": [
            283,
            308
          ]
        },
        {
          "name": "STRING_8",
          "type": "STRING",
          "links": [
            295,
            320
          ]
        },
        {
          "name": "STRING_9",
          "type": "STRING",
          "links": [
            198,
            319
          ]
        },
        {
          "name": "STRING_10",
          "type": "STRING",
          "links": [
            294,
            318
          ]
        },
        {
          "name": "STRING_11",
          "type": "STRING",
          "links": [
            202,
            273
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.14.1",
        "proxyWidgetErrorQuarantine": [
          {
            "originalEntry": [
              "-1",
              "string"
            ],
            "reason": "missingSourceNode",
            "attemptedAtVersion": 1
          }
        ],
        "previewExposures": []
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "string": ""
      }
    },
    {
      "id": 23,
      "type": "PrimitiveInt",
      "pos": [
        2060,
        720
      ],
      "size": [
        210,
        90
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            107
          ]
        }
      ],
      "title": "Number of Shots (1-6)",
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [
        2,
        "fixed"
      ],
      "widgets_values_named": {
        "value": 2,
        "fixed": "fixed"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 47,
      "type": "PreviewAny",
      "pos": [
        4180,
        500
      ],
      "size": [
        210,
        150
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 186
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 3: # of Seconds",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 22,
      "type": "PrimitiveInt",
      "pos": [
        2060,
        590
      ],
      "size": [
        220,
        90
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            54,
            106
          ]
        }
      ],
      "title": "Number of Seconds (3-15)",
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [
        8,
        "fixed"
      ],
      "widgets_values_named": {
        "value": 8,
        "fixed": "fixed"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 34,
      "type": "KlingOmniProImageToVideoNode",
      "pos": [
        5110,
        420
      ],
      "size": [
        450,
        910
      ],
      "flags": {},
      "order": 45,
      "mode": 4,
      "inputs": [
        {
          "name": "reference_images",
          "type": "IMAGE",
          "link": 226
        },
        {
          "name": "duration",
          "type": "INT",
          "widget": {
            "name": "duration"
          },
          "link": 54
        },
        {
          "name": "storyboards.storyboard_1_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_1_prompt"
          },
          "link": 321
        },
        {
          "name": "storyboards.storyboard_1_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_1_duration"
          },
          "link": 324
        },
        {
          "name": "storyboards.storyboard_2_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_2_prompt"
          },
          "link": 322
        },
        {
          "name": "storyboards.storyboard_2_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_2_duration"
          },
          "link": 325
        },
        {
          "name": "storyboards.storyboard_3_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_3_prompt"
          },
          "link": 360
        },
        {
          "name": "storyboards.storyboard_3_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_3_duration"
          },
          "link": 359
        },
        {
          "name": "storyboards.storyboard_4_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_4_prompt"
          },
          "link": 361
        },
        {
          "name": "storyboards.storyboard_4_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_4_duration"
          },
          "link": 364
        },
        {
          "name": "storyboards.storyboard_5_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_5_prompt"
          },
          "link": 362
        },
        {
          "name": "storyboards.storyboard_5_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_5_duration"
          },
          "link": 365
        },
        {
          "name": "storyboards.storyboard_6_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_6_prompt"
          },
          "link": 363
        },
        {
          "name": "storyboards.storyboard_6_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_6_duration"
          },
          "link": 366
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            170
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KlingOmniProImageToVideoNode",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [
        "kling-v3-omni",
        "Use image 1 as a start frame and the other images as product reference for fine details. The environment should always be the same as the image 1 scene.",
        "9:16",
        3,
        "1080p",
        "6 storyboards",
        "",
        4,
        "",
        4,
        "",
        4,
        "",
        4,
        "",
        4,
        "",
        4,
        true,
        1264338454,
        "randomize"
      ],
      "widgets_values_named": {
        "model_name": "kling-v3-omni",
        "prompt": "Use image 1 as a start frame and the other images as product reference for fine details. The environment should always be the same as the image 1 scene.",
        "aspect_ratio": "9:16",
        "duration": 3,
        "resolution": "1080p",
        "storyboards": "6 storyboards",
        "storyboards.storyboard_1_prompt": "",
        "storyboards.storyboard_1_duration": 4,
        "storyboards.storyboard_2_prompt": "",
        "storyboards.storyboard_2_duration": 4,
        "storyboards.storyboard_3_prompt": "",
        "storyboards.storyboard_3_duration": 4,
        "storyboards.storyboard_4_prompt": "",
        "storyboards.storyboard_4_duration": 4,
        "storyboards.storyboard_5_prompt": "",
        "storyboards.storyboard_5_duration": 4,
        "storyboards.storyboard_6_prompt": "",
        "storyboards.storyboard_6_duration": 4,
        "generate_audio": true,
        "seed": 1264338454,
        "control_after_generate": "randomize"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 110,
      "type": "5d7e839f-932a-49a9-a1f4-f088f38d1dcb",
      "pos": [
        2060,
        420
      ],
      "size": [
        210,
        110
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "label": "image_first_frame",
          "name": "images.image0",
          "type": "IMAGE",
          "link": 223
        },
        {
          "label": "image_ref_1",
          "name": "image",
          "type": "IMAGE",
          "link": 224
        },
        {
          "label": "image_ref_2",
          "name": "image_1",
          "type": "IMAGE",
          "link": 225
        }
      ],
      "outputs": [
        {
          "label": "IMAGES",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            226
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.14.1",
        "proxyWidgets": [],
        "previewExposures": []
      }
    },
    {
      "id": 145,
      "type": "PreviewAny",
      "pos": [
        3670,
        1270
      ],
      "size": [
        210,
        270
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 294
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 4: Prompt",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 148,
      "type": "PreviewAny",
      "pos": [
        4180,
        1270
      ],
      "size": [
        210,
        270
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 295
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Shot 6: Prompt",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 150,
      "type": "Reroute",
      "pos": [
        4510,
        560
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 44,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 309
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            324
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 151,
      "type": "Reroute",
      "pos": [
        4510,
        640
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 310
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            325
          ]
        }
      ],
      "title": "reroute",
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 152,
      "type": "Reroute",
      "pos": [
        4510,
        720
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 40,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 311
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            359
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 153,
      "type": "Reroute",
      "pos": [
        4510,
        810
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 41,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 312
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            364
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 154,
      "type": "Reroute",
      "pos": [
        4510,
        910
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 42,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 313
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            365
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 155,
      "type": "Reroute",
      "pos": [
        4510,
        1010
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 43,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 314
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            366
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 156,
      "type": "Reroute",
      "pos": [
        4770,
        560
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 315
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "STRING",
          "links": [
            321
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 157,
      "type": "Reroute",
      "pos": [
        4770,
        640
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 316
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "STRING",
          "links": [
            322
          ]
        }
      ],
      "title": "reroute",
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 158,
      "type": "Reroute",
      "pos": [
        4770,
        720
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 317
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "STRING",
          "links": [
            360
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 159,
      "type": "Reroute",
      "pos": [
        4770,
        820
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 36,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 318
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "STRING",
          "links": [
            361
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 160,
      "type": "Reroute",
      "pos": [
        4770,
        910
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 319
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "STRING",
          "links": [
            362
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 161,
      "type": "Reroute",
      "pos": [
        4770,
        1010
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 320
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "STRING",
          "links": [
            363
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 162,
      "type": "Note",
      "pos": [
        4500,
        420
      ],
      "size": [
        210,
        100
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Shot 1 - 6 Durations (desc order)\n"
      ],
      "widgets_values_named": {
        "text": "Shot 1 - 6 Durations (desc order)\n"
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 163,
      "type": "Note",
      "pos": [
        4770,
        420
      ],
      "size": [
        210,
        100
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Shot 1 - 6 Prompts (desc order)"
      ],
      "widgets_values_named": {
        "text": "Shot 1 - 6 Prompts (desc order)"
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 165,
      "type": "PrimitiveStringMultiline",
      "pos": [
        2650,
        420
      ],
      "size": [
        350,
        230
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            339,
            340
          ]
        }
      ],
      "title": "Prompt Input (copy/paste prompt here to lock)",
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "value": ""
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 166,
      "type": "PreviewAny",
      "pos": [
        3070,
        740
      ],
      "size": [
        340,
        460
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 371
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Preview All Prompts",
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 170,
      "type": "MarkdownNote",
      "pos": [
        -40,
        590
      ],
      "size": [
        370,
        500
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "# Workflow Instructions\n\n1. Upload start frame and product reference images.\n2. Enter your desired values in the **Number of Seconds** node and **Number of Shots** node.\n3. Run the workflow to generate the prompts.\n4. Once the **Google Gemini** node generates a prompt you like, copy from the **Preview All Prompts** node and paste into the **Prompt Input** node. Then, Bypass all the nodes in the **LLM Generate Each Shots Prompts** group.\n5. Run the workflow to view a preview of each shot's correlating prompt and number of seconds in the **Preview Prompts** group.\n6. Unbypass **Generate and Save Video** group nodes. **IMPORTANT:** Change the `storyboards` value to the same number of shots you have selected.\n7. Run the workflow again to generate the final video."
      ],
      "widgets_values_named": {
        "text": "# Workflow Instructions\n\n1. Upload start frame and product reference images.\n2. Enter your desired values in the **Number of Seconds** node and **Number of Shots** node.\n3. Run the workflow to generate the prompts.\n4. Once the **Google Gemini** node generates a prompt you like, copy from the **Preview All Prompts** node and paste into the **Prompt Input** node. Then, Bypass all the nodes in the **LLM Generate Each Shots Prompts** group.\n5. Run the workflow to view a preview of each shot's correlating prompt and number of seconds in the **Preview Prompts** group.\n6. Unbypass **Generate and Save Video** group nodes. **IMPORTANT:** Change the `storyboards` value to the same number of shots you have selected.\n7. Run the workflow again to generate the final video."
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 171,
      "type": "GeminiNodeV3",
      "pos": [
        2640,
        740
      ],
      "size": [
        400,
        366
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [
        {
          "name": "model.prompt",
          "type": "STRING",
          "widget": {
            "name": "model.prompt"
          },
          "link": 367
        },
        {
          "name": "model.images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 368
        },
        {
          "name": "model.images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "model.audio.audio_1",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "model.video.video_1",
          "shape": 7,
          "type": "VIDEO",
          "link": null
        },
        {
          "name": "model.files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            370,
            371
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "GeminiNodeV3"
      },
      "widgets_values": [
        "Gemini 3.8 Flash",
        "",
        "static",
        "MEDIUM",
        32768,
        42,
        "randomize",
        "You are a creative director and video prompt specialist. Your job is to analyze a product image and generate a sequence of cinematic video prompts for a multi-shot product advertisement.\n\n---\n\n## INPUT\nYou will receive:\n- A product image (used as the visual start frame for Shot 1 only)\n- {N_SHOTS}: the number of shots to generate (1–6)\n- {N_SECONDS}: the total cumulative duration across all shots (max 15 seconds)\n- {USER_STORY}: optional creative direction for vibe, narrative, or tone\n\n---\n\n## STEP 1 — ANALYZE THE IMAGE\nBefore writing any prompts, internally assess the following from the product image:\n- Product type, shape, color, material, and finish\n- Existing lighting mood (hard/soft, warm/cool, dramatic/flat)\n- Background environment — describe it precisely and literally: surface type, color, texture, depth, atmospheric elements (e.g. \"matte dark grey surface, no visible background, soft overhead diffusion\"). This description becomes a locked constant for all shots.\n- Implied brand positioning (luxury, minimal, bold, playful, clinical, etc.)\n\nIf {USER_STORY} is provided, let it override or augment your inferred vibe. If it is empty, rely entirely on your image analysis.\n\n---\n\n## STEP 2 — ASSIGN A SHOT SEQUENCE\nMap {N_SHOTS} to a logical ad narrative arc. Use this as your guide:\n\n| Shot Role     | Purpose                                              |\n|---------------|------------------------------------------------------|\n| Hero (Shot 1) | Product reveal — slow, confident, visually grounding |\n| Detail        | Extreme close-up of texture, material, or finish     |\n| Feature       | Product in action, reacting to environment or use    |\n| Lifestyle     | Product in its natural world or context              |\n| Outro         | Pull back, final beauty angle, or ambient close      |\n\nCompress or expand the arc based on shot count:\n- 1–2 shots: Hero + Outro only\n- 3 shots: Hero, Feature, Outro\n- 4 shots: Hero, Detail, Feature, Outro\n- 5 shots: Hero, Detail, Feature, Lifestyle, Outro\n- 6 shots: Hero, Detail, Detail, Feature, Lifestyle, Outro\n\n---\n\n## STEP 3 — ALLOCATE DURATIONS\nDistribute seconds across shots. Rules:\n- All durations must be integers (whole seconds)\n- Total must equal exactly {N_SECONDS}\n- Weight durations by shot role and inferred pacing:\n  - Luxury/cinematic vibe: favor longer Hero and Outro, compress middle shots\n  - Energetic/bold vibe: distribute more evenly, keep all shots punchy\n  - Default weighting: Hero gets ~25%, Outro gets ~20%, remaining shots split the rest\n\n---\n\n## STEP 4 — WRITE THE PROMPTS\n\n**Shot 1 (I2V — Image to Video):**\nThe product image is the literal start frame. Write a prompt that describes the motion and camera behavior starting from that exact frame. Do not re-describe the product appearance — describe only what moves and how.\n\n**Shots 2–N (T2V — Text to Video):**\nEach prompt must be fully self-contained. Describe the product, the scene, the camera, and the motion clearly enough that a video model with no prior context can generate a coherent, on-brand clip. You must preserve the exact environment from the input image — the same surface, background, depth, and atmosphere. Do not introduce new environments, floors, settings, or atmospheric elements (mist, smoke, reflections, etc.) that were not present in the input image. The environment is a locked constant, not a creative variable.\n\n**Prompt writing rules (apply to all shots):**\n- Write in present tense, descriptive and directive\n- Lead with the most important visual element\n- Specify: camera angle, camera motion, subject action, lighting, mood\n- Keep each prompt between 40–80 words — specific but not overloaded\n- No marketing copy, no voiceover text, no titles or graphics\n- Each shot must feel visually distinct from the others — vary angle, distance, and motion meaningfully\n\n---\n\n## OUTPUT FORMAT\nOutput only the tagged shot blocks. No preamble, no explanation, no additional text.\n\n<shot1_duration>N</shot1_duration>\n<shot1_prompt>Prompt text here</shot1_prompt>\n\n<shot2_duration>N</shot2_duration>\n<shot2_prompt>Prompt text here</shot2_prompt>\n\n...and so on for all {N_SHOTS} shots."
      ],
      "widgets_values_named": {
        "model": "Gemini 3.8 Flash",
        "model.prompt": "",
        "model.video_processing": "static",
        "model.thinking_level": "MEDIUM",
        "model.max_output_tokens": 32768,
        "model.seed": 42,
        "control_after_generate": "randomize",
        "model.system_prompt": "You are a creative director and video prompt specialist. Your job is to analyze a product image and generate a sequence of cinematic video prompts for a multi-shot product advertisement.\n\n---\n\n## INPUT\nYou will receive:\n- A product image (used as the visual start frame for Shot 1 only)\n- {N_SHOTS}: the number of shots to generate (1–6)\n- {N_SECONDS}: the total cumulative duration across all shots (max 15 seconds)\n- {USER_STORY}: optional creative direction for vibe, narrative, or tone\n\n---\n\n## STEP 1 — ANALYZE THE IMAGE\nBefore writing any prompts, internally assess the following from the product image:\n- Product type, shape, color, material, and finish\n- Existing lighting mood (hard/soft, warm/cool, dramatic/flat)\n- Background environment — describe it precisely and literally: surface type, color, texture, depth, atmospheric elements (e.g. \"matte dark grey surface, no visible background, soft overhead diffusion\"). This description becomes a locked constant for all shots.\n- Implied brand positioning (luxury, minimal, bold, playful, clinical, etc.)\n\nIf {USER_STORY} is provided, let it override or augment your inferred vibe. If it is empty, rely entirely on your image analysis.\n\n---\n\n## STEP 2 — ASSIGN A SHOT SEQUENCE\nMap {N_SHOTS} to a logical ad narrative arc. Use this as your guide:\n\n| Shot Role     | Purpose                                              |\n|---------------|------------------------------------------------------|\n| Hero (Shot 1) | Product reveal — slow, confident, visually grounding |\n| Detail        | Extreme close-up of texture, material, or finish     |\n| Feature       | Product in action, reacting to environment or use    |\n| Lifestyle     | Product in its natural world or context              |\n| Outro         | Pull back, final beauty angle, or ambient close      |\n\nCompress or expand the arc based on shot count:\n- 1–2 shots: Hero + Outro only\n- 3 shots: Hero, Feature, Outro\n- 4 shots: Hero, Detail, Feature, Outro\n- 5 shots: Hero, Detail, Feature, Lifestyle, Outro\n- 6 shots: Hero, Detail, Detail, Feature, Lifestyle, Outro\n\n---\n\n## STEP 3 — ALLOCATE DURATIONS\nDistribute seconds across shots. Rules:\n- All durations must be integers (whole seconds)\n- Total must equal exactly {N_SECONDS}\n- Weight durations by shot role and inferred pacing:\n  - Luxury/cinematic vibe: favor longer Hero and Outro, compress middle shots\n  - Energetic/bold vibe: distribute more evenly, keep all shots punchy\n  - Default weighting: Hero gets ~25%, Outro gets ~20%, remaining shots split the rest\n\n---\n\n## STEP 4 — WRITE THE PROMPTS\n\n**Shot 1 (I2V — Image to Video):**\nThe product image is the literal start frame. Write a prompt that describes the motion and camera behavior starting from that exact frame. Do not re-describe the product appearance — describe only what moves and how.\n\n**Shots 2–N (T2V — Text to Video):**\nEach prompt must be fully self-contained. Describe the product, the scene, the camera, and the motion clearly enough that a video model with no prior context can generate a coherent, on-brand clip. You must preserve the exact environment from the input image — the same surface, background, depth, and atmosphere. Do not introduce new environments, floors, settings, or atmospheric elements (mist, smoke, reflections, etc.) that were not present in the input image. The environment is a locked constant, not a creative variable.\n\n**Prompt writing rules (apply to all shots):**\n- Write in present tense, descriptive and directive\n- Lead with the most important visual element\n- Specify: camera angle, camera motion, subject action, lighting, mood\n- Keep each prompt between 40–80 words — specific but not overloaded\n- No marketing copy, no voiceover text, no titles or graphics\n- Each shot must feel visually distinct from the others — vary angle, distance, and motion meaningfully\n\n---\n\n## OUTPUT FORMAT\nOutput only the tagged shot blocks. No preamble, no explanation, no additional text.\n\n<shot1_duration>N</shot1_duration>\n<shot1_prompt>Prompt text here</shot1_prompt>\n\n<shot2_duration>N</shot2_duration>\n<shot2_prompt>Prompt text here</shot2_prompt>\n\n...and so on for all {N_SHOTS} shots."
      },
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      106,
      22,
      0,
      81,
      0,
      "INT"
    ],
    [
      107,
      23,
      0,
      81,
      1,
      "INT"
    ],
    [
      185,
      91,
      0,
      38,
      0,
      "STRING"
    ],
    [
      186,
      91,
      1,
      47,
      0,
      "STRING"
    ],
    [
      187,
      91,
      2,
      32,
      0,
      "STRING"
    ],
    [
      189,
      91,
      3,
      37,
      0,
      "STRING"
    ],
    [
      191,
      91,
      4,
      46,
      0,
      "STRING"
    ],
    [
      198,
      91,
      9,
      53,
      0,
      "STRING"
    ],
    [
      202,
      91,
      11,
      35,
      0,
      "STRING"
    ],
    [
      223,
      4,
      0,
      110,
      0,
      "IMAGE"
    ],
    [
      224,
      8,
      0,
      110,
      1,
      "IMAGE"
    ],
    [
      225,
      12,
      0,
      110,
      2,
      "IMAGE"
    ],
    [
      241,
      115,
      0,
      91,
      0,
      "STRING"
    ],
    [
      273,
      91,
      11,
      136,
      0,
      "STRING"
    ],
    [
      275,
      91,
      0,
      137,
      0,
      "STRING"
    ],
    [
      277,
      91,
      1,
      138,
      0,
      "STRING"
    ],
    [
      279,
      91,
      5,
      140,
      0,
      "STRING"
    ],
    [
      281,
      91,
      6,
      141,
      0,
      "STRING"
    ],
    [
      283,
      91,
      7,
      139,
      0,
      "STRING"
    ],
    [
      294,
      91,
      10,
      145,
      0,
      "STRING"
    ],
    [
      295,
      91,
      8,
      148,
      0,
      "STRING"
    ],
    [
      306,
      91,
      5,
      52,
      0,
      "STRING"
    ],
    [
      307,
      91,
      6,
      54,
      0,
      "STRING"
    ],
    [
      308,
      91,
      7,
      57,
      0,
      "STRING"
    ],
    [
      309,
      136,
      0,
      150,
      0,
      "INT"
    ],
    [
      310,
      137,
      0,
      151,
      0,
      "INT"
    ],
    [
      311,
      138,
      0,
      152,
      0,
      "INT"
    ],
    [
      312,
      140,
      0,
      153,
      0,
      "INT"
    ],
    [
      313,
      141,
      0,
      154,
      0,
      "INT"
    ],
    [
      314,
      139,
      0,
      155,
      0,
      "INT"
    ],
    [
      315,
      91,
      2,
      156,
      0,
      "STRING"
    ],
    [
      316,
      91,
      3,
      157,
      0,
      "STRING"
    ],
    [
      317,
      91,
      4,
      158,
      0,
      "STRING"
    ],
    [
      318,
      91,
      10,
      159,
      0,
      "STRING"
    ],
    [
      319,
      91,
      9,
      160,
      0,
      "STRING"
    ],
    [
      320,
      91,
      8,
      161,
      0,
      "STRING"
    ],
    [
      339,
      165,
      0,
      115,
      0,
      "STRING"
    ],
    [
      340,
      165,
      0,
      115,
      1,
      "STRING"
    ],
    [
      170,
      34,
      0,
      89,
      0,
      "VIDEO"
    ],
    [
      226,
      110,
      0,
      34,
      0,
      "IMAGE"
    ],
    [
      54,
      22,
      0,
      34,
      1,
      "INT"
    ],
    [
      321,
      156,
      0,
      34,
      2,
      "STRING"
    ],
    [
      324,
      150,
      0,
      34,
      3,
      "INT"
    ],
    [
      322,
      157,
      0,
      34,
      4,
      "STRING"
    ],
    [
      325,
      151,
      0,
      34,
      5,
      "INT"
    ],
    [
      360,
      158,
      0,
      34,
      6,
      "STRING"
    ],
    [
      359,
      152,
      0,
      34,
      7,
      "INT"
    ],
    [
      361,
      159,
      0,
      34,
      8,
      "STRING"
    ],
    [
      364,
      153,
      0,
      34,
      9,
      "INT"
    ],
    [
      362,
      160,
      0,
      34,
      10,
      "STRING"
    ],
    [
      365,
      154,
      0,
      34,
      11,
      "INT"
    ],
    [
      363,
      161,
      0,
      34,
      12,
      "STRING"
    ],
    [
      366,
      155,
      0,
      34,
      13,
      "INT"
    ],
    [
      367,
      81,
      0,
      171,
      0,
      "STRING"
    ],
    [
      368,
      4,
      0,
      171,
      1,
      "IMAGE"
    ],
    [
      370,
      171,
      0,
      115,
      2,
      "STRING"
    ],
    [
      371,
      171,
      0,
      166,
      0,
      "STRING"
    ]
  ],
  "groups": [
    {
      "id": 3,
      "title": "Preview Prompts",
      "bounding": [
        3670,
        380,
        740,
        1170
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 4,
      "title": "Generate and Save Video",
      "bounding": [
        5100,
        370,
        1150,
        1330
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 5,
      "title": "LLM Generate Each Shots Prompts",
      "bounding": [
        2630,
        670,
        820,
        700
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "definitions": {
    "subgraphs": [
      {
        "id": "0e2c3eaa-706c-41fd-b300-b6bd9e84a0a4",
        "version": 1,
        "state": {
          "lastGroupId": 5,
          "lastNodeId": 171,
          "lastLinkId": 371,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Create Prompt",
        "inputNode": {
          "id": -10,
          "bounding": [
            2270,
            760,
            100,
            70
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            2810,
            760,
            100,
            50
          ]
        },
        "inputs": [
          {
            "id": "82ade1a9-af57-484a-9765-c261a0b6ed1e",
            "name": "input",
            "type": "*",
            "linkIds": [
              108
            ],
            "localized_name": "input",
            "pos": [
              2825,
              928
            ]
          },
          {
            "id": "90bd4542-8c87-4c40-a51d-dbf48b462a80",
            "name": "input_1",
            "type": "*",
            "linkIds": [
              109
            ],
            "localized_name": "input_1",
            "pos": [
              2825,
              948
            ]
          }
        ],
        "outputs": [
          {
            "id": "c1b4bcfa-383b-4374-9539-ea110f61c80d",
            "name": "STRING",
            "type": "STRING",
            "linkIds": [
              102
            ],
            "localized_name": "STRING",
            "pos": [
              3388.94140625,
              938
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 76,
            "type": "SomethingToString",
            "pos": [
              2420,
              950
            ],
            "size": [
              210,
              100
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "input",
                "name": "input",
                "type": "*",
                "link": 109
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  97
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "widgets_values": [
              "",
              ""
            ],
            "widgets_values_named": {
              "prefix": "",
              "suffix": ""
            }
          },
          {
            "id": 77,
            "type": "SomethingToString",
            "pos": [
              2420,
              800
            ],
            "size": [
              210,
              100
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "input",
                "name": "input",
                "type": "*",
                "link": 108
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  99
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "widgets_values": [
              "",
              ""
            ],
            "widgets_values_named": {
              "prefix": "",
              "suffix": ""
            }
          },
          {
            "id": 78,
            "type": "RegexReplace",
            "pos": [
              2630,
              620
            ],
            "size": [
              210,
              40
            ],
            "flags": {
              "collapsed": true
            },
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 96
              },
              {
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                },
                "link": 97
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  98
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "N_SHOTS",
              "",
              true,
              false,
              false,
              0
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "N_SHOTS",
              "replace": "",
              "case_insensitive": true,
              "multiline": false,
              "dotall": false,
              "count": 0
            }
          },
          {
            "id": 79,
            "type": "RegexReplace",
            "pos": [
              2630,
              670
            ],
            "size": [
              210,
              40
            ],
            "flags": {
              "collapsed": true
            },
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 98
              },
              {
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                },
                "link": 99
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  102
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "N_SECONDS",
              "",
              true,
              false,
              false,
              0
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "N_SECONDS",
              "replace": "",
              "case_insensitive": true,
              "multiline": false,
              "dotall": false,
              "count": 0
            }
          },
          {
            "id": 80,
            "type": "Text Multiline",
            "pos": [
              2420,
              620
            ],
            "size": [
              210,
              140
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  96
                ]
              }
            ],
            "title": "Template User Prompt",
            "properties": {
              "Node name for S&R": "Text Multiline",
              "cnr_id": "was-ns",
              "ver": "3.0.1"
            },
            "widgets_values": [
              "Use the input image 1, create a prompt that has {N_SHOTS} distinct shots. The total time for the shots is {N_SECONDS}. \n\n{USER_STORY}."
            ],
            "widgets_values_named": {
              "text": "Use the input image 1, create a prompt that has {N_SHOTS} distinct shots. The total time for the shots is {N_SECONDS}. \n\n{USER_STORY}."
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 96,
            "origin_id": 80,
            "origin_slot": 0,
            "target_id": 78,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 98,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 79,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 102,
            "origin_id": 79,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 108,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 77,
            "target_slot": 0,
            "type": "*"
          },
          {
            "id": 109,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 76,
            "target_slot": 0,
            "type": "*"
          },
          {
            "id": 97,
            "origin_id": 76,
            "origin_slot": 0,
            "target_id": 78,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 99,
            "origin_id": 77,
            "origin_slot": 0,
            "target_id": 79,
            "target_slot": 1,
            "type": "STRING"
          }
        ],
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        }
      },
      {
        "id": "a98e3426-ae7f-4a8b-ba30-a2217a51ad09",
        "version": 1,
        "state": {
          "lastGroupId": 5,
          "lastNodeId": 171,
          "lastLinkId": 371,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Extract Prompts",
        "inputNode": {
          "id": -10,
          "bounding": [
            3660,
            890,
            100,
            50
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            4190,
            800,
            100,
            240
          ]
        },
        "inputs": [
          {
            "id": "6b4f13ed-dda9-4730-9744-61e2a5bc325b",
            "name": "string",
            "type": "STRING",
            "linkIds": [
              174,
              176,
              173,
              175,
              177,
              183,
              178,
              179,
              182,
              181,
              180,
              172
            ],
            "localized_name": "string",
            "pos": [
              4490,
              1091
            ]
          }
        ],
        "outputs": [
          {
            "id": "bd7c508d-7b8c-4306-b546-13a67e950c44",
            "name": "STRING",
            "type": "STRING",
            "linkIds": [
              35
            ],
            "localized_name": "STRING",
            "pos": [
              5050,
              981
            ]
          },
          {
            "id": "cd12d24a-82b9-466a-baf2-6325a54024d6",
            "name": "STRING_1",
            "type": "STRING",
            "linkIds": [
              51
            ],
            "localized_name": "STRING_1",
            "pos": [
              5050,
              1001
            ]
          },
          {
            "id": "823892d4-a6e6-462a-9ca2-3672aa034c1f",
            "name": "STRING_2",
            "type": "STRING",
            "linkIds": [
              31
            ],
            "localized_name": "STRING_2",
            "pos": [
              5050,
              1021
            ]
          },
          {
            "id": "316c4863-132f-4699-b091-e9f7a1d8ee0e",
            "name": "STRING_3",
            "type": "STRING",
            "linkIds": [
              34
            ],
            "localized_name": "STRING_3",
            "pos": [
              5050,
              1041
            ]
          },
          {
            "id": "6ab0de5c-38cb-4449-bc51-076c49f99d00",
            "name": "STRING_4",
            "type": "STRING",
            "linkIds": [
              50
            ],
            "localized_name": "STRING_4",
            "pos": [
              5050,
              1061
            ]
          },
          {
            "id": "56ef2c1d-d885-4226-a1f2-5ddecc54e12f",
            "name": "STRING_5",
            "type": "STRING",
            "linkIds": [
              60
            ],
            "localized_name": "STRING_5",
            "pos": [
              5050,
              1081
            ]
          },
          {
            "id": "b39644b8-6962-4531-8a30-a479d8e67279",
            "name": "STRING_6",
            "type": "STRING",
            "linkIds": [
              62
            ],
            "localized_name": "STRING_6",
            "pos": [
              5050,
              1101
            ]
          },
          {
            "id": "7816af74-b531-489b-9bbc-3d06cf56b681",
            "name": "STRING_7",
            "type": "STRING",
            "linkIds": [
              65
            ],
            "localized_name": "STRING_7",
            "pos": [
              5050,
              1121
            ]
          },
          {
            "id": "6b2001eb-196b-4402-b93b-fbbd107d5e5a",
            "name": "STRING_8",
            "type": "STRING",
            "linkIds": [
              64
            ],
            "localized_name": "STRING_8",
            "pos": [
              5050,
              1141
            ]
          },
          {
            "id": "af50d3ae-0896-498b-8e3c-fa614ecfd861",
            "name": "STRING_9",
            "type": "STRING",
            "linkIds": [
              61
            ],
            "localized_name": "STRING_9",
            "pos": [
              5050,
              1161
            ]
          },
          {
            "id": "e8d84d00-1c5f-4034-b3fd-af697188d1f7",
            "name": "STRING_10",
            "type": "STRING",
            "linkIds": [
              59
            ],
            "localized_name": "STRING_10",
            "pos": [
              5050,
              1181
            ]
          },
          {
            "id": "28a0a169-c5b4-495c-9280-9a5d235a03fd",
            "name": "STRING_11",
            "type": "STRING",
            "linkIds": [
              32
            ],
            "localized_name": "STRING_11",
            "pos": [
              5050,
              1201
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 40,
            "type": "RegexExtract",
            "pos": [
              3810,
              -120
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 174
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  35
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot2_duration>(\\d+)</shot2_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot2_duration>(\\d+)</shot2_duration>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 48,
            "type": "RegexExtract",
            "pos": [
              3810,
              420
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 176
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  51
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot3_duration>(\\d+)</shot3_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot3_duration>(\\d+)</shot3_duration>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 31,
            "type": "RegexExtract",
            "pos": [
              3810,
              -400
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 173
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  31
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot1_prompt>(.+)</shot1_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot1_prompt>(.+)</shot1_prompt>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 39,
            "type": "RegexExtract",
            "pos": [
              3810,
              150
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 175
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  34
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot2_prompt>(.+)</shot2_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot2_prompt>(.+)</shot2_prompt>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 49,
            "type": "RegexExtract",
            "pos": [
              3810,
              680
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 177
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  50
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot3_prompt>(.+)</shot3_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot3_prompt>(.+)</shot3_prompt>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 62,
            "type": "RegexExtract",
            "pos": [
              3810,
              960
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 11,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 183
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  60
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot4_duration>(\\d+)</shot4_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot4_duration>(\\d+)</shot4_duration>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 55,
            "type": "RegexExtract",
            "pos": [
              3810,
              1510
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 178
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  62
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot5_duration>(\\d+)</shot5_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot5_duration>(\\d+)</shot5_duration>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 58,
            "type": "RegexExtract",
            "pos": [
              3810,
              2040
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 179
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  65
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot6_duration>(\\d+)</shot6_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot6_duration>(\\d+)</shot6_duration>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 61,
            "type": "RegexExtract",
            "pos": [
              3810,
              2310
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 182
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  64
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot6_prompt>(.+)</shot6_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot6_prompt>(.+)</shot6_prompt>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 60,
            "type": "RegexExtract",
            "pos": [
              3810,
              1770
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 9,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 181
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  61
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot5_prompt>(.+)</shot5_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot5_prompt>(.+)</shot5_prompt>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 59,
            "type": "RegexExtract",
            "pos": [
              3810,
              1220
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 180
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  59
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot4_prompt>(.+)</shot4_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot4_prompt>(.+)</shot4_prompt>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          },
          {
            "id": 36,
            "type": "RegexExtract",
            "pos": [
              3810,
              -670
            ],
            "size": [
              340,
              270
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 172
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  32
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "<shot1_duration>(\\d+)</shot1_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ],
            "widgets_values_named": {
              "string": "",
              "regex_pattern": "<shot1_duration>(\\d+)</shot1_duration>",
              "mode": "First Group",
              "case_insensitive": true,
              "multiline": true,
              "dotall": false,
              "group_index": 1
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 174,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 40,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 176,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 48,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 173,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 31,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 175,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 39,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 177,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 49,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 183,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 62,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 178,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 55,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 179,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 58,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 182,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 61,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 181,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 60,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 180,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 59,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 172,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 36,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 35,
            "origin_id": 40,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 51,
            "origin_id": 48,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 31,
            "origin_id": 31,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 34,
            "origin_id": 39,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 3,
            "type": "STRING"
          },
          {
            "id": 50,
            "origin_id": 49,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 4,
            "type": "STRING"
          },
          {
            "id": 60,
            "origin_id": 62,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 5,
            "type": "STRING"
          },
          {
            "id": 62,
            "origin_id": 55,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 6,
            "type": "STRING"
          },
          {
            "id": 65,
            "origin_id": 58,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 7,
            "type": "STRING"
          },
          {
            "id": 64,
            "origin_id": 61,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 8,
            "type": "STRING"
          },
          {
            "id": 61,
            "origin_id": 60,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 9,
            "type": "STRING"
          },
          {
            "id": 59,
            "origin_id": 59,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 10,
            "type": "STRING"
          },
          {
            "id": 32,
            "origin_id": 36,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 11,
            "type": "STRING"
          }
        ],
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        }
      },
      {
        "id": "5d7e839f-932a-49a9-a1f4-f088f38d1dcb",
        "version": 1,
        "state": {
          "lastGroupId": 5,
          "lastNodeId": 171,
          "lastLinkId": 371,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Resize and Batch Images",
        "inputNode": {
          "id": -10,
          "bounding": [
            1650,
            270,
            120,
            90
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            2520,
            290,
            100,
            50
          ]
        },
        "inputs": [
          {
            "id": "d5eb1ca9-e8f6-4896-a9bb-532841279926",
            "name": "images.image0",
            "type": "IMAGE",
            "linkIds": [
              4,
              11
            ],
            "localized_name": "images.image0",
            "label": "image_first_frame",
            "pos": [
              2107.3674212309124,
              346
            ]
          },
          {
            "id": "da084c29-a13e-4b72-9634-09071727d86d",
            "name": "image",
            "type": "IMAGE",
            "linkIds": [
              14
            ],
            "localized_name": "image",
            "label": "image_ref_1",
            "pos": [
              2107.3674212309124,
              366
            ]
          },
          {
            "id": "8f4f3440-0174-41ee-bd25-0baff95de4a7",
            "name": "image_1",
            "type": "IMAGE",
            "linkIds": [
              19
            ],
            "localized_name": "image_1",
            "label": "image_ref_2",
            "pos": [
              2107.3674212309124,
              386
            ]
          }
        ],
        "outputs": [
          {
            "id": "b59ef77d-662f-4f88-b3d0-4d916cda811a",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              58
            ],
            "localized_name": "IMAGE",
            "label": "IMAGES",
            "pos": [
              3050,
              366
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 6,
            "type": "BatchImagesNode",
            "pos": [
              2330,
              270
            ],
            "size": [
              150,
              100
            ],
            "flags": {
              "collapsed": false
            },
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "label": "image0",
                "localized_name": "image0",
                "name": "images.image0",
                "type": "IMAGE",
                "link": 4
              },
              {
                "localized_name": "image1",
                "name": "images.image1",
                "shape": 7,
                "type": "IMAGE",
                "link": 15
              },
              {
                "localized_name": "image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE",
                "link": 20
              },
              {
                "localized_name": "image3",
                "name": "images.image3",
                "shape": 7,
                "type": "IMAGE",
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  58
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            }
          },
          {
            "id": 14,
            "type": "GetImageSize",
            "pos": [
              1810,
              290
            ],
            "size": [
              150,
              70
            ],
            "flags": {
              "collapsed": false
            },
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 11
              }
            ],
            "outputs": [
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "links": [
                  12,
                  17
                ]
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "links": [
                  13,
                  18
                ]
              },
              {
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            }
          },
          {
            "id": 15,
            "type": "ResizeAndPadImage",
            "pos": [
              2070,
              160
            ],
            "size": [
              210,
              130
            ],
            "flags": {
              "collapsed": false
            },
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 14
              },
              {
                "localized_name": "target_width",
                "name": "target_width",
                "type": "INT",
                "widget": {
                  "name": "target_width"
                },
                "link": 12
              },
              {
                "localized_name": "target_height",
                "name": "target_height",
                "type": "INT",
                "widget": {
                  "name": "target_height"
                },
                "link": 13
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  15
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ResizeAndPadImage",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              512,
              512,
              "white",
              "area"
            ],
            "widgets_values_named": {
              "target_width": 512,
              "target_height": 512,
              "padding_color": "white",
              "interpolation": "area"
            }
          },
          {
            "id": 16,
            "type": "ResizeAndPadImage",
            "pos": [
              2070,
              390
            ],
            "size": [
              210,
              130
            ],
            "flags": {
              "collapsed": false
            },
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 19
              },
              {
                "localized_name": "target_width",
                "name": "target_width",
                "type": "INT",
                "widget": {
                  "name": "target_width"
                },
                "link": 17
              },
              {
                "localized_name": "target_height",
                "name": "target_height",
                "type": "INT",
                "widget": {
                  "name": "target_height"
                },
                "link": 18
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  20
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ResizeAndPadImage",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              512,
              512,
              "white",
              "area"
            ],
            "widgets_values_named": {
              "target_width": 512,
              "target_height": 512,
              "padding_color": "white",
              "interpolation": "area"
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 12,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 15,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 13,
            "origin_id": 14,
            "origin_slot": 1,
            "target_id": 15,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 17,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 16,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 18,
            "origin_id": 14,
            "origin_slot": 1,
            "target_id": 16,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 11,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 14,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 14,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 15,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 19,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 16,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 58,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 4,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 15,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 20,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 2,
            "type": "IMAGE"
          }
        ],
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        }
      },
      {
        "id": "2b10af74-c412-4c88-b235-6b170aed965c",
        "version": 1,
        "state": {
          "lastGroupId": 5,
          "lastNodeId": 171,
          "lastLinkId": 371,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Selected Prompt",
        "inputNode": {
          "id": -10,
          "bounding": [
            2720,
            -80,
            100,
            90
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            3490,
            -60,
            100,
            50
          ]
        },
        "inputs": [
          {
            "id": "9c107ead-6e3a-4258-bbf0-ef4f2a164282",
            "name": "string_a",
            "type": "STRING",
            "linkIds": [
              230
            ],
            "localized_name": "string_a",
            "pos": [
              55,
              20
            ]
          },
          {
            "id": "a67348a4-2c5d-4c25-ac8d-6ee9299c5c7f",
            "name": "on_false",
            "type": "STRING",
            "linkIds": [
              235
            ],
            "localized_name": "on_false",
            "pos": [
              55,
              40
            ]
          },
          {
            "id": "abb43b87-98d8-4571-976f-7b6713f8ed21",
            "name": "on_true",
            "type": "STRING",
            "linkIds": [
              234
            ],
            "localized_name": "on_true",
            "pos": [
              55,
              60
            ]
          }
        ],
        "outputs": [
          {
            "id": "9311d942-758c-421f-91d7-04aaeb2f2b64",
            "name": "output",
            "type": "STRING",
            "linkIds": [
              237
            ],
            "localized_name": "output",
            "pos": [
              20,
              20
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 112,
            "type": "StringCompare",
            "pos": [
              3050,
              -100
            ],
            "size": [
              210,
              190
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string_a",
                "name": "string_a",
                "type": "STRING",
                "widget": {
                  "name": "string_a"
                },
                "link": 230
              },
              {
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                },
                "link": 231
              }
            ],
            "outputs": [
              {
                "localized_name": "BOOLEAN",
                "name": "BOOLEAN",
                "type": "BOOLEAN",
                "links": [
                  233
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "StringCompare",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              "",
              "",
              "Equal",
              false
            ],
            "widgets_values_named": {
              "string_a": "",
              "string_b": "",
              "mode": "Equal",
              "case_sensitive": false
            }
          },
          {
            "id": 111,
            "type": "ComfySwitchNode",
            "pos": [
              3270,
              -100
            ],
            "size": [
              210,
              80
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "on_false",
                "name": "on_false",
                "shape": 7,
                "type": "STRING",
                "link": 235
              },
              {
                "localized_name": "on_true",
                "name": "on_true",
                "shape": 7,
                "type": "STRING",
                "link": 234
              },
              {
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                },
                "link": 233
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "STRING",
                "links": [
                  237
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ComfySwitchNode",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              false
            ],
            "widgets_values_named": {
              "switch": false
            }
          },
          {
            "id": 113,
            "type": "PrimitiveString",
            "pos": [
              2870,
              -10
            ],
            "size": [
              230,
              50
            ],
            "flags": {
              "collapsed": true
            },
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  231
                ]
              }
            ],
            "title": "Empty String",
            "properties": {
              "Node name for S&R": "PrimitiveString",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "widgets_values": [
              ""
            ],
            "widgets_values_named": {
              "value": ""
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 231,
            "origin_id": 113,
            "origin_slot": 0,
            "target_id": 112,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 233,
            "origin_id": 112,
            "origin_slot": 0,
            "target_id": 111,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 230,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 112,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 235,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 111,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 234,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 111,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 237,
            "origin_id": 111,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.18931004097885096,
      "offset": [
        978.0131580391212,
        1565.9158209340533
      ]
    },
    "frontendVersion": "1.54.15",
    "workflowRendererVersion": "Vue-corrected",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}