{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "0e2c3eaa-706c-41fd-b300-b6bd9e84a0a4",
        "inputNode": {
          "bounding": [
            2725,
            908,
            120,
            80
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "82ade1a9-af57-484a-9765-c261a0b6ed1e",
            "linkIds": [
              108
            ],
            "localized_name": "input",
            "name": "input",
            "pos": [
              2825,
              928
            ],
            "type": "*"
          },
          {
            "id": "90bd4542-8c87-4c40-a51d-dbf48b462a80",
            "linkIds": [
              109
            ],
            "localized_name": "input_1",
            "name": "input_1",
            "pos": [
              2825,
              948
            ],
            "type": "*"
          }
        ],
        "links": [
          {
            "id": 96,
            "origin_id": 80,
            "origin_slot": 0,
            "target_id": 78,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 97,
            "origin_id": 76,
            "origin_slot": 0,
            "target_id": 78,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 98,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 79,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 99,
            "origin_id": 77,
            "origin_slot": 0,
            "target_id": 79,
            "target_slot": 1,
            "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": "*"
          }
        ],
        "name": "Create Prompt",
        "nodes": [
          {
            "flags": {},
            "id": 76,
            "inputs": [
              {
                "link": 109,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  97
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2910,
              1140
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              225,
              120
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "flags": {},
            "id": 77,
            "inputs": [
              {
                "link": 108,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  99
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2904.999986602665,
              961.9999966198154
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              225,
              120
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 78,
            "inputs": [
              {
                "link": 96,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": 97,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  98
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              3164.9999832335243,
              741.9999822857089
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              225,
              34
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "",
              "N_SHOTS",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 79,
            "inputs": [
              {
                "link": 98,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": 99,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  102
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              3164.9999832335243,
              811.9999848156162
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              225,
              34
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "",
              "N_SECONDS",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 80,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  96
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2900,
              740
            ],
            "properties": {
              "Node name for S&R": "Text Multiline",
              "cnr_id": "was-ns",
              "ver": "3.0.1"
            },
            "size": [
              225,
              160
            ],
            "title": "Template User Prompt",
            "type": "Text Multiline",
            "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}."
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            3368.94140625,
            918,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "c1b4bcfa-383b-4374-9539-ea110f61c80d",
            "linkIds": [
              102
            ],
            "localized_name": "STRING",
            "name": "STRING",
            "pos": [
              3388.94140625,
              938
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 5,
          "lastLinkId": 366,
          "lastNodeId": 170,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "a98e3426-ae7f-4a8b-ba30-a2217a51ad09",
        "inputNode": {
          "bounding": [
            4390,
            1071,
            120,
            60
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "6b4f13ed-dda9-4730-9744-61e2a5bc325b",
            "linkIds": [
              174,
              176,
              173,
              175,
              177,
              183,
              178,
              179,
              182,
              181,
              180,
              172
            ],
            "localized_name": "string",
            "name": "string",
            "pos": [
              4490,
              1091
            ],
            "type": "STRING"
          }
        ],
        "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": 81,
            "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": 79,
            "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": 77,
            "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": 71,
            "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": 73,
            "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": 75,
            "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"
          }
        ],
        "name": "Extract Prompts",
        "nodes": [
          {
            "flags": {},
            "id": 40,
            "inputs": [
              {
                "link": 174,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  35
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              -140
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot2_duration>(\\d+)</shot2_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 48,
            "inputs": [
              {
                "link": 176,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  51
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              500
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot3_duration>(\\d+)</shot3_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 31,
            "inputs": [
              {
                "link": 173,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  31,
                  81
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              -480
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot1_prompt>(.+)</shot1_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 39,
            "inputs": [
              {
                "link": 175,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  34,
                  79
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              180
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot2_prompt>(.+)</shot2_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 49,
            "inputs": [
              {
                "link": 177,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  50,
                  77
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              820
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot3_prompt>(.+)</shot3_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 62,
            "inputs": [
              {
                "link": 183,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  60
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              1150
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot4_duration>(\\d+)</shot4_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 55,
            "inputs": [
              {
                "link": 178,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  62
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              1810
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot5_duration>(\\d+)</shot5_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 58,
            "inputs": [
              {
                "link": 179,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  65
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              2450
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot6_duration>(\\d+)</shot6_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 61,
            "inputs": [
              {
                "link": 182,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  64,
                  71
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              2770
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot6_prompt>(.+)</shot6_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 60,
            "inputs": [
              {
                "link": 181,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  61,
                  73
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              2130
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot5_prompt>(.+)</shot5_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 59,
            "inputs": [
              {
                "link": 180,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  59,
                  75
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              1470
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot4_prompt>(.+)</shot4_prompt>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 36,
            "inputs": [
              {
                "link": 172,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  32
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              4570,
              -800
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              400,
              262
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "<shot1_duration>(\\d+)</shot1_duration>",
              "First Group",
              true,
              true,
              false,
              1
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            5030,
            961,
            120,
            280
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "bd7c508d-7b8c-4306-b546-13a67e950c44",
            "linkIds": [
              35
            ],
            "localized_name": "STRING",
            "name": "STRING",
            "pos": [
              5050,
              981
            ],
            "type": "STRING"
          },
          {
            "id": "cd12d24a-82b9-466a-baf2-6325a54024d6",
            "linkIds": [
              51
            ],
            "localized_name": "STRING_1",
            "name": "STRING_1",
            "pos": [
              5050,
              1001
            ],
            "type": "STRING"
          },
          {
            "id": "823892d4-a6e6-462a-9ca2-3672aa034c1f",
            "linkIds": [
              31,
              81
            ],
            "localized_name": "STRING_2",
            "name": "STRING_2",
            "pos": [
              5050,
              1021
            ],
            "type": "STRING"
          },
          {
            "id": "316c4863-132f-4699-b091-e9f7a1d8ee0e",
            "linkIds": [
              34,
              79
            ],
            "localized_name": "STRING_3",
            "name": "STRING_3",
            "pos": [
              5050,
              1041
            ],
            "type": "STRING"
          },
          {
            "id": "6ab0de5c-38cb-4449-bc51-076c49f99d00",
            "linkIds": [
              50,
              77
            ],
            "localized_name": "STRING_4",
            "name": "STRING_4",
            "pos": [
              5050,
              1061
            ],
            "type": "STRING"
          },
          {
            "id": "56ef2c1d-d885-4226-a1f2-5ddecc54e12f",
            "linkIds": [
              60
            ],
            "localized_name": "STRING_5",
            "name": "STRING_5",
            "pos": [
              5050,
              1081
            ],
            "type": "STRING"
          },
          {
            "id": "b39644b8-6962-4531-8a30-a479d8e67279",
            "linkIds": [
              62
            ],
            "localized_name": "STRING_6",
            "name": "STRING_6",
            "pos": [
              5050,
              1101
            ],
            "type": "STRING"
          },
          {
            "id": "7816af74-b531-489b-9bbc-3d06cf56b681",
            "linkIds": [
              65
            ],
            "localized_name": "STRING_7",
            "name": "STRING_7",
            "pos": [
              5050,
              1121
            ],
            "type": "STRING"
          },
          {
            "id": "6b2001eb-196b-4402-b93b-fbbd107d5e5a",
            "linkIds": [
              64,
              71
            ],
            "localized_name": "STRING_8",
            "name": "STRING_8",
            "pos": [
              5050,
              1141
            ],
            "type": "STRING"
          },
          {
            "id": "af50d3ae-0896-498b-8e3c-fa614ecfd861",
            "linkIds": [
              61,
              73
            ],
            "localized_name": "STRING_9",
            "name": "STRING_9",
            "pos": [
              5050,
              1161
            ],
            "type": "STRING"
          },
          {
            "id": "e8d84d00-1c5f-4034-b3fd-af697188d1f7",
            "linkIds": [
              59,
              75
            ],
            "localized_name": "STRING_10",
            "name": "STRING_10",
            "pos": [
              5050,
              1181
            ],
            "type": "STRING"
          },
          {
            "id": "28a0a169-c5b4-495c-9280-9a5d235a03fd",
            "linkIds": [
              32
            ],
            "localized_name": "STRING_11",
            "name": "STRING_11",
            "pos": [
              5050,
              1201
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 5,
          "lastLinkId": 366,
          "lastNodeId": 170,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "5d7e839f-932a-49a9-a1f4-f088f38d1dcb",
        "inputNode": {
          "bounding": [
            1986.5803118559124,
            326,
            140.787109375,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "d5eb1ca9-e8f6-4896-a9bb-532841279926",
            "label": "image_first_frame",
            "linkIds": [
              4,
              11
            ],
            "localized_name": "images.image0",
            "name": "images.image0",
            "pos": [
              2107.3674212309124,
              346
            ],
            "type": "IMAGE"
          },
          {
            "id": "da084c29-a13e-4b72-9634-09071727d86d",
            "label": "image_ref_1",
            "linkIds": [
              14
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              2107.3674212309124,
              366
            ],
            "type": "IMAGE"
          },
          {
            "id": "8f4f3440-0174-41ee-bd25-0baff95de4a7",
            "label": "image_ref_2",
            "linkIds": [
              19
            ],
            "localized_name": "image_1",
            "name": "image_1",
            "pos": [
              2107.3674212309124,
              386
            ],
            "type": "IMAGE"
          }
        ],
        "links": [
          {
            "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"
          },
          {
            "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": 4,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "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"
          }
        ],
        "name": "Resize and Batch Images",
        "nodes": [
          {
            "flags": {
              "collapsed": false
            },
            "id": 6,
            "inputs": [
              {
                "label": "image0",
                "link": 4,
                "localized_name": "images.image0",
                "name": "images.image0",
                "type": "IMAGE"
              },
              {
                "label": "image1",
                "link": 15,
                "localized_name": "images.image1",
                "name": "images.image1",
                "type": "IMAGE"
              },
              {
                "label": "image2",
                "link": 20,
                "localized_name": "images.image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "label": "image3",
                "link": null,
                "localized_name": "images.image3",
                "name": "images.image3",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  58
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2800,
              330
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              170,
              106
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 14,
            "inputs": [
              {
                "link": 11,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  12,
                  17
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  13,
                  18
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              2166.5803118559124,
              351.20811773485957
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              180,
              66
            ],
            "type": "GetImageSize",
            "widgets_values": []
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 15,
            "inputs": [
              {
                "link": 14,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 12,
                "localized_name": "target_width",
                "name": "target_width",
                "type": "INT",
                "widget": {
                  "name": "target_width"
                }
              },
              {
                "link": 13,
                "localized_name": "target_height",
                "name": "target_height",
                "type": "INT",
                "widget": {
                  "name": "target_height"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  15
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2480,
              190
            ],
            "properties": {
              "Node name for S&R": "ResizeAndPadImage",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              225,
              130
            ],
            "type": "ResizeAndPadImage",
            "widgets_values": [
              512,
              512,
              "white",
              "area"
            ]
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 16,
            "inputs": [
              {
                "link": 19,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 17,
                "localized_name": "target_width",
                "name": "target_width",
                "type": "INT",
                "widget": {
                  "name": "target_width"
                }
              },
              {
                "link": 18,
                "localized_name": "target_height",
                "name": "target_height",
                "type": "INT",
                "widget": {
                  "name": "target_height"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  20
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2480,
              470
            ],
            "properties": {
              "Node name for S&R": "ResizeAndPadImage",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              225,
              130
            ],
            "type": "ResizeAndPadImage",
            "widgets_values": [
              512,
              512,
              "white",
              "area"
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            3030,
            346,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "b59ef77d-662f-4f88-b3d0-4d916cda811a",
            "label": "IMAGES",
            "linkIds": [
              58
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              3050,
              366
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 5,
          "lastLinkId": 366,
          "lastNodeId": 170,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "2b10af74-c412-4c88-b235-6b170aed965c",
        "inputNode": {
          "bounding": [
            3260,
            -90,
            120,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "9c107ead-6e3a-4258-bbf0-ef4f2a164282",
            "linkIds": [
              230
            ],
            "localized_name": "string_a",
            "name": "string_a",
            "pos": [
              55,
              20
            ],
            "type": "STRING"
          },
          {
            "id": "a67348a4-2c5d-4c25-ac8d-6ee9299c5c7f",
            "linkIds": [
              235
            ],
            "localized_name": "on_false",
            "name": "on_false",
            "pos": [
              55,
              40
            ],
            "type": "STRING"
          },
          {
            "id": "abb43b87-98d8-4571-976f-7b6713f8ed21",
            "linkIds": [
              234
            ],
            "localized_name": "on_true",
            "name": "on_true",
            "pos": [
              55,
              60
            ],
            "type": "STRING"
          }
        ],
        "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"
          }
        ],
        "name": "Selected Prompt",
        "nodes": [
          {
            "flags": {},
            "id": 112,
            "inputs": [
              {
                "link": 230,
                "localized_name": "string_a",
                "name": "string_a",
                "type": "STRING",
                "widget": {
                  "name": "string_a"
                }
              },
              {
                "link": 231,
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  233
                ],
                "localized_name": "BOOLEAN",
                "name": "BOOLEAN",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              3660,
              -120
            ],
            "properties": {
              "Node name for S&R": "StringCompare",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              210,
              190
            ],
            "type": "StringCompare",
            "widgets_values": [
              "",
              "",
              "Equal",
              false
            ]
          },
          {
            "flags": {},
            "id": 111,
            "inputs": [
              {
                "link": 235,
                "localized_name": "on_false",
                "name": "on_false",
                "type": "STRING"
              },
              {
                "link": 234,
                "localized_name": "on_true",
                "name": "on_true",
                "type": "STRING"
              },
              {
                "link": 233,
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  237
                ],
                "localized_name": "output",
                "name": "output",
                "type": "STRING"
              }
            ],
            "pos": [
              3920,
              -120
            ],
            "properties": {
              "Node name for S&R": "ComfySwitchNode",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              210,
              78
            ],
            "type": "ComfySwitchNode",
            "widgets_values": [
              false
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 113,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  231
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              3440,
              -10
            ],
            "properties": {
              "Node name for S&R": "PrimitiveString",
              "cnr_id": "comfy-core",
              "ver": "0.14.1"
            },
            "size": [
              270,
              58
            ],
            "title": "Empty String",
            "type": "PrimitiveString",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            4190,
            -70,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "9311d942-758c-421f-91d7-04aaeb2f2b64",
            "linkIds": [
              237
            ],
            "localized_name": "output",
            "name": "output",
            "pos": [
              20,
              20
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 5,
          "lastLinkId": 366,
          "lastNodeId": 170,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        -178.80940531246907,
        712.1225420534954
      ],
      "scale": 0.23844081996756958
    },
    "frontendVersion": "1.40.10",
    "workflowRendererVersion": "Vue"
  },
  "groups": [
    {
      "bounding": [
        4400,
        460,
        880.0003698075225,
        1403.6000077364129
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 3,
      "title": "Preview Prompts"
    },
    {
      "bounding": [
        6120,
        440,
        1376.535419425405,
        1592.0375
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 4,
      "title": "Generate and Save Video"
    },
    {
      "bounding": [
        3160,
        800,
        910.0000356262749,
        633.6001818234574
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 5,
      "title": "LLM Generate Each Shots Prompts"
    }
  ],
  "id": "ee8a8542-c278-4b1c-81f9-1075d88b0b4d",
  "last_link_id": 366,
  "last_node_id": 170,
  "links": [
    [
      54,
      22,
      0,
      34,
      1,
      "INT"
    ],
    [
      106,
      22,
      0,
      81,
      0,
      "INT"
    ],
    [
      107,
      23,
      0,
      81,
      1,
      "INT"
    ],
    [
      170,
      34,
      0,
      89,
      0,
      "VIDEO"
    ],
    [
      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"
    ],
    [
      226,
      110,
      0,
      34,
      0,
      "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"
    ],
    [
      321,
      156,
      0,
      34,
      2,
      "STRING"
    ],
    [
      322,
      157,
      0,
      34,
      4,
      "STRING"
    ],
    [
      324,
      150,
      0,
      34,
      3,
      "INT"
    ],
    [
      325,
      151,
      0,
      34,
      5,
      "INT"
    ],
    [
      334,
      4,
      0,
      164,
      0,
      "IMAGE"
    ],
    [
      335,
      81,
      0,
      164,
      4,
      "STRING"
    ],
    [
      336,
      149,
      0,
      164,
      5,
      "STRING"
    ],
    [
      338,
      164,
      0,
      115,
      2,
      "STRING"
    ],
    [
      339,
      165,
      0,
      115,
      0,
      "STRING"
    ],
    [
      340,
      165,
      0,
      115,
      1,
      "STRING"
    ],
    [
      343,
      164,
      0,
      166,
      0,
      "STRING"
    ],
    [
      359,
      152,
      0,
      34,
      7,
      "INT"
    ],
    [
      360,
      158,
      0,
      34,
      6,
      "STRING"
    ],
    [
      361,
      159,
      0,
      34,
      8,
      "STRING"
    ],
    [
      362,
      160,
      0,
      34,
      10,
      "STRING"
    ],
    [
      363,
      161,
      0,
      34,
      12,
      "STRING"
    ],
    [
      364,
      153,
      0,
      34,
      9,
      "INT"
    ],
    [
      365,
      154,
      0,
      34,
      11,
      "INT"
    ],
    [
      366,
      155,
      0,
      34,
      13,
      "INT"
    ]
  ],
  "nodes": [
    {
      "flags": {
        "collapsed": false
      },
      "id": 37,
      "inputs": [
        {
          "link": 189,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 22,
      "outputs": [],
      "pos": [
        4710.000088947091,
        799.9999926689991
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        250,
        360
      ],
      "title": "Shot 2: Prompt",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 46,
      "inputs": [
        {
          "link": 191,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 24,
      "outputs": [],
      "pos": [
        5020.000720038143,
        799.9999926689991
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        250,
        360
      ],
      "title": "Shot 3: Prompt",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 4,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            223,
            334
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        460.0000016569866,
        709.999835842744
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        580,
        600
      ],
      "title": "Load Start Frame Image",
      "type": "LoadImage",
      "widgets_values": [
        "comfy_gpu_angled.png",
        "image"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {
        "collapsed": false
      },
      "id": 8,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            224
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        1109.9998160709845,
        709.999835842744
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        580,
        600
      ],
      "title": "Load Product Image 1",
      "type": "LoadImage",
      "widgets_values": [
        "comfy_gpu_flat.png",
        "image"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 12,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            225
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        1759.9999486760328,
        709.999835842744
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        580,
        600
      ],
      "title": "Load Product Image 2",
      "type": "LoadImage",
      "widgets_values": [
        "comfy_gpu_close_up.png",
        "image"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 81,
      "inputs": [
        {
          "link": 106,
          "name": "input",
          "type": "*"
        },
        {
          "link": 107,
          "name": "input_1",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            335
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        2840.000012356519,
        710.0000176662014
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [],
        "ver": "0.14.1"
      },
      "size": [
        225,
        36
      ],
      "type": "0e2c3eaa-706c-41fd-b300-b6bd9e84a0a4",
      "widgets_values": []
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 115,
      "inputs": [
        {
          "link": 339,
          "name": "string_a",
          "type": "STRING",
          "widget": {
            "name": "string_a"
          }
        },
        {
          "link": 340,
          "name": "on_false",
          "type": "STRING"
        },
        {
          "link": 338,
          "name": "on_true",
          "type": "STRING"
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            241
          ],
          "name": "output",
          "type": "STRING"
        }
      ],
      "pos": [
        3830,
        680
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "-1",
            "string_a"
          ]
        ],
        "ver": "0.14.1"
      },
      "size": [
        225,
        36
      ],
      "type": "2b10af74-c412-4c88-b235-6b170aed965c",
      "widgets_values": [
        ""
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 32,
      "inputs": [
        {
          "link": 187,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 20,
      "outputs": [],
      "pos": [
        4410.000475310195,
        799.9999926689991
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        250,
        350
      ],
      "title": "Shot 1: Prompt",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 38,
      "inputs": [
        {
          "link": 185,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [],
      "pos": [
        4710.000088947091,
        599.9998714455318
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        225,
        161
      ],
      "title": "Shot 2: # of Seconds",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 53,
      "inputs": [
        {
          "link": 198,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 34,
      "outputs": [],
      "pos": [
        4710.000088947091,
        1529.9996737489262
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        250,
        320
      ],
      "title": "Shot 5: Prompt",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 52,
      "inputs": [
        {
          "link": 306,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 27,
      "outputs": [],
      "pos": [
        4409.999748016366,
        1319.9999442030987
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        225,
        161
      ],
      "title": "Shot 4: # of Seconds",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 54,
      "inputs": [
        {
          "link": 307,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 29,
      "outputs": [],
      "pos": [
        4710.000088947091,
        1319.9999442030987
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        225,
        161
      ],
      "title": "Shot 5: # of Seconds",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 57,
      "inputs": [
        {
          "link": 308,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 31,
      "outputs": [],
      "pos": [
        5019.999265450483,
        1319.9999442030987
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        225,
        161
      ],
      "title": "Shot 6: # of Seconds",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 89,
      "inputs": [
        {
          "link": 170,
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "mode": 4,
      "order": 47,
      "outputs": [],
      "pos": [
        6729.9997905326545,
        500.00001538518785
      ],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        760,
        1532.4375
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto"
      ]
    },
    {
      "flags": {},
      "id": 35,
      "inputs": [
        {
          "link": 202,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 38,
      "outputs": [],
      "pos": [
        4409.999748016366,
        600.0000078131249
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        225,
        161
      ],
      "title": "Shot 1: # of Seconds",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 136,
      "inputs": [
        {
          "link": 273,
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          }
        }
      ],
      "mode": 0,
      "order": 39,
      "outputs": [
        {
          "links": [
            309
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        4409.9995393987265,
        529.9999298618328
      ],
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "size": [
        225,
        8
      ],
      "title": "Shot 1: Duration",
      "type": "StringToInt",
      "widgets_values": [
        ""
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 137,
      "inputs": [
        {
          "link": 275,
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          }
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [
        {
          "links": [
            310
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        4710.000627521506,
        529.9999298618328
      ],
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "size": [
        225,
        8
      ],
      "title": "Shot 2: Duration",
      "type": "StringToInt",
      "widgets_values": [
        ""
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 138,
      "inputs": [
        {
          "link": 277,
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          }
        }
      ],
      "mode": 0,
      "order": 19,
      "outputs": [
        {
          "links": [
            311
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        5019.999542691179,
        529.9999298618328
      ],
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "size": [
        225,
        8
      ],
      "title": "Shot 3: Duration",
      "type": "StringToInt",
      "widgets_values": [
        ""
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 140,
      "inputs": [
        {
          "link": 279,
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          }
        }
      ],
      "mode": 0,
      "order": 26,
      "outputs": [
        {
          "links": [
            312
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        4409.9995393987265,
        1240.0001402827331
      ],
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "size": [
        225,
        8
      ],
      "title": "Shot 4: Duration",
      "type": "StringToInt",
      "widgets_values": [
        ""
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 141,
      "inputs": [
        {
          "link": 281,
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          }
        }
      ],
      "mode": 0,
      "order": 28,
      "outputs": [
        {
          "links": [
            313
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        4710.000627521506,
        1240.0001402827331
      ],
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "size": [
        225,
        8
      ],
      "title": "Shot 5: Duration",
      "type": "StringToInt",
      "widgets_values": [
        ""
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 139,
      "inputs": [
        {
          "link": 283,
          "name": "data",
          "type": "STRING",
          "widget": {
            "name": "data"
          }
        }
      ],
      "mode": 0,
      "order": 30,
      "outputs": [
        {
          "links": [
            314
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        5019.999542691179,
        1240.0001402827331
      ],
      "properties": {
        "Node name for S&R": "StringToInt",
        "cnr_id": "comfyui-string-converter",
        "ver": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11"
      },
      "size": [
        225,
        8
      ],
      "title": "Shot 6: Duration",
      "type": "StringToInt",
      "widgets_values": [
        ""
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 91,
      "inputs": [
        {
          "link": 241,
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          }
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [
        {
          "links": [
            185,
            275
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "links": [
            186,
            277
          ],
          "name": "STRING_1",
          "type": "STRING"
        },
        {
          "links": [
            187,
            315
          ],
          "name": "STRING_2",
          "type": "STRING"
        },
        {
          "links": [
            189,
            316
          ],
          "name": "STRING_3",
          "type": "STRING"
        },
        {
          "links": [
            191,
            317
          ],
          "name": "STRING_4",
          "type": "STRING"
        },
        {
          "links": [
            279,
            306
          ],
          "name": "STRING_5",
          "type": "STRING"
        },
        {
          "links": [
            281,
            307
          ],
          "name": "STRING_6",
          "type": "STRING"
        },
        {
          "links": [
            283,
            308
          ],
          "name": "STRING_7",
          "type": "STRING"
        },
        {
          "links": [
            295,
            320
          ],
          "name": "STRING_8",
          "type": "STRING"
        },
        {
          "links": [
            198,
            319
          ],
          "name": "STRING_9",
          "type": "STRING"
        },
        {
          "links": [
            294,
            318
          ],
          "name": "STRING_10",
          "type": "STRING"
        },
        {
          "links": [
            202,
            273
          ],
          "name": "STRING_11",
          "type": "STRING"
        }
      ],
      "pos": [
        4110,
        680
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "-1",
            "string"
          ]
        ],
        "ver": "0.14.1"
      },
      "size": [
        225,
        36
      ],
      "type": "a98e3426-ae7f-4a8b-ba30-a2217a51ad09",
      "widgets_values": [
        ""
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 23,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            107
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        2469.999458538088,
        870.0000237332465
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        250,
        83
      ],
      "title": "Number of Shots (1-6)",
      "type": "PrimitiveInt",
      "widgets_values": [
        2,
        "fixed"
      ]
    },
    {
      "flags": {},
      "id": 47,
      "inputs": [
        {
          "link": 186,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 18,
      "outputs": [],
      "pos": [
        5020.000720038143,
        600.0000078131249
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        225,
        161
      ],
      "title": "Shot 3: # of Seconds",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 22,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            54,
            106
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        2469.999458538088,
        709.999835842744
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        250,
        83
      ],
      "title": "Number of Seconds (3-15)",
      "type": "PrimitiveInt",
      "widgets_values": [
        8,
        "fixed"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 34,
      "inputs": [
        {
          "link": 226,
          "name": "reference_images",
          "type": "IMAGE"
        },
        {
          "link": 54,
          "name": "duration",
          "type": "INT",
          "widget": {
            "name": "duration"
          }
        },
        {
          "link": 321,
          "name": "storyboards.storyboard_1_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_1_prompt"
          }
        },
        {
          "link": 324,
          "name": "storyboards.storyboard_1_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_1_duration"
          }
        },
        {
          "link": 322,
          "name": "storyboards.storyboard_2_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_2_prompt"
          }
        },
        {
          "link": 325,
          "name": "storyboards.storyboard_2_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_2_duration"
          }
        },
        {
          "link": 360,
          "name": "storyboards.storyboard_3_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_3_prompt"
          }
        },
        {
          "link": 359,
          "name": "storyboards.storyboard_3_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_3_duration"
          }
        },
        {
          "link": 361,
          "name": "storyboards.storyboard_4_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_4_prompt"
          }
        },
        {
          "link": 364,
          "name": "storyboards.storyboard_4_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_4_duration"
          }
        },
        {
          "link": 362,
          "name": "storyboards.storyboard_5_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_5_prompt"
          }
        },
        {
          "link": 365,
          "name": "storyboards.storyboard_5_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_5_duration"
          }
        },
        {
          "link": 363,
          "name": "storyboards.storyboard_6_prompt",
          "type": "STRING",
          "widget": {
            "name": "storyboards.storyboard_6_prompt"
          }
        },
        {
          "link": 366,
          "name": "storyboards.storyboard_6_duration",
          "type": "INT",
          "widget": {
            "name": "storyboards.storyboard_6_duration"
          }
        }
      ],
      "mode": 4,
      "order": 46,
      "outputs": [
        {
          "links": [
            170
          ],
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        6130.000026505408,
        509.99988402191343
      ],
      "properties": {
        "Node name for S&R": "KlingOmniProImageToVideoNode",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        530,
        1080.65625
      ],
      "type": "KlingOmniProImageToVideoNode",
      "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"
      ]
    },
    {
      "flags": {},
      "id": 110,
      "inputs": [
        {
          "label": "image_first_frame",
          "link": 223,
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "label": "image_ref_1",
          "link": 224,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "label": "image_ref_2",
          "link": 225,
          "name": "image_1",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "label": "IMAGES",
          "links": [
            226
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2469.999458538088,
        499.999788105866
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [],
        "ver": "0.14.1"
      },
      "size": [
        240,
        124
      ],
      "type": "5d7e839f-932a-49a9-a1f4-f088f38d1dcb",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 145,
      "inputs": [
        {
          "link": 294,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 36,
      "outputs": [],
      "pos": [
        4409.999748016366,
        1529.9996737489262
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        250,
        320
      ],
      "title": "Shot 4: Prompt",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 148,
      "inputs": [
        {
          "link": 295,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 32,
      "outputs": [],
      "pos": [
        5019.999265450483,
        1529.9996737489262
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        250,
        320
      ],
      "title": "Shot 6: Prompt",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 149,
      "inputs": [],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            336
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        3168.5459446715395,
        1361.925873604525
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        225,
        8
      ],
      "title": "System Prompt",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "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."
      ]
    },
    {
      "flags": {},
      "id": 150,
      "inputs": [
        {
          "link": 309,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 45,
      "outputs": [
        {
          "links": [
            324
          ],
          "name": "",
          "type": "INT"
        }
      ],
      "pos": [
        5409.999672295736,
        669.999993421508
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 151,
      "inputs": [
        {
          "link": 310,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 40,
      "outputs": [
        {
          "links": [
            325
          ],
          "name": "",
          "type": "INT"
        }
      ],
      "pos": [
        5409.999672295736,
        769.9999403935807
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "title": "reroute",
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 152,
      "inputs": [
        {
          "link": 311,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 41,
      "outputs": [
        {
          "links": [
            359
          ],
          "name": "",
          "type": "INT"
        }
      ],
      "pos": [
        5409.999672295736,
        870.0000237332465
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 153,
      "inputs": [
        {
          "link": 312,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 42,
      "outputs": [
        {
          "links": [
            364
          ],
          "name": "",
          "type": "INT"
        }
      ],
      "pos": [
        5409.999672295736,
        969.9998797935905
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 154,
      "inputs": [
        {
          "link": 313,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 43,
      "outputs": [
        {
          "links": [
            365
          ],
          "name": "",
          "type": "INT"
        }
      ],
      "pos": [
        5409.999672295736,
        1089.9999979835352
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 155,
      "inputs": [
        {
          "link": 314,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 44,
      "outputs": [
        {
          "links": [
            366
          ],
          "name": "",
          "type": "INT"
        }
      ],
      "pos": [
        5409.999672295736,
        1209.999661614836
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 156,
      "inputs": [
        {
          "link": 315,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 21,
      "outputs": [
        {
          "links": [
            321
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        5730.000229900198,
        669.999993421508
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 157,
      "inputs": [
        {
          "link": 316,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 23,
      "outputs": [
        {
          "links": [
            322
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        5730.000229900198,
        769.9999403935807
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "title": "reroute",
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 158,
      "inputs": [
        {
          "link": 317,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 25,
      "outputs": [
        {
          "links": [
            360
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        5730.000229900198,
        870.0000237332465
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 159,
      "inputs": [
        {
          "link": 318,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 37,
      "outputs": [
        {
          "links": [
            361
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        5730.000229900198,
        984.0000132828602
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 160,
      "inputs": [
        {
          "link": 319,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 35,
      "outputs": [
        {
          "links": [
            362
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        5730.000229900198,
        1089.9999979835352
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 161,
      "inputs": [
        {
          "link": 320,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 33,
      "outputs": [
        {
          "links": [
            363
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        5730.000229900198,
        1209.999661614836
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 162,
      "inputs": [],
      "mode": 0,
      "order": 6,
      "outputs": [],
      "pos": [
        5400.00010942924,
        509.9998964427342
      ],
      "properties": {},
      "size": [
        240,
        101
      ],
      "type": "Note",
      "widgets_values": [
        "Shot 1 - 6 Durations (desc order)\n"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 163,
      "inputs": [],
      "mode": 0,
      "order": 7,
      "outputs": [],
      "pos": [
        5719.999576092958,
        509.9998964427342
      ],
      "properties": {},
      "size": [
        240,
        101
      ],
      "type": "Note",
      "widgets_values": [
        "Shot 1 - 6 Prompts (desc order)"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 164,
      "inputs": [
        {
          "link": 334,
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": null,
          "name": "video",
          "shape": 7,
          "type": "VIDEO"
        },
        {
          "link": null,
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        },
        {
          "link": 335,
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        },
        {
          "link": 336,
          "name": "system_prompt",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "system_prompt"
          }
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            338,
            343
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        3180,
        870
      ],
      "properties": {
        "Node name for S&R": "GeminiNode"
      },
      "size": [
        400,
        404.65625
      ],
      "type": "GeminiNode",
      "widgets_values": [
        "",
        "gemini-3-pro-preview",
        11185935742735,
        "randomize",
        ""
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 165,
      "inputs": [],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            339,
            340
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        3179.9996956939735,
        500.00001538518785
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "size": [
        400,
        270
      ],
      "title": "Prompt Input (copy/paste prompt here to lock)",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        ""
      ]
    },
    {
      "flags": {},
      "id": 166,
      "inputs": [
        {
          "link": 343,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [],
      "pos": [
        3658.5456801443624,
        871.9258691631552
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.14.1"
      },
      "size": [
        400,
        550
      ],
      "title": "Preview All Prompts",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 170,
      "inputs": [],
      "mode": 0,
      "order": 9,
      "outputs": [],
      "pos": [
        -50,
        710
      ],
      "properties": {},
      "size": [
        440,
        590
      ],
      "type": "MarkdownNote",
      "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."
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}