{
  "id": "5d4ec020-c06c-424e-af17-d6bfd877cd42",
  "revision": 0,
  "last_node_id": 20,
  "last_link_id": 35,
  "nodes": [
    {
      "id": 2,
      "type": "SaveVideo",
      "pos": [
        530,
        150
      ],
      "size": [
        540,
        150
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 34
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "cnr_id": "comfy-core",
        "ver": "0.27.0"
      },
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "video/ComfyUI",
        "format": "auto",
        "format.codec": "auto",
        "codec": "auto"
      }
    },
    {
      "id": 3,
      "type": "PreviewAny",
      "pos": [
        550,
        520
      ],
      "size": [
        410,
        420
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 33
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            35
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.27.0"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 5,
      "type": "LoadImage",
      "pos": [
        -320,
        150
      ],
      "size": [
        290,
        400
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            30
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.27.0"
      },
      "widgets_values": [
        "clay_toy_shop_old_man.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "clay_toy_shop_old_man.png",
        "upload": "image"
      }
    },
    {
      "id": 6,
      "type": "LoadImage",
      "pos": [
        -320,
        620
      ],
      "size": [
        290,
        400
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            31
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.27.0"
      },
      "widgets_values": [
        "comic_toy_store_strips.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "comic_toy_store_strips.png",
        "upload": "image"
      }
    },
    {
      "id": 18,
      "type": "MarkdownNote",
      "pos": [
        70,
        840
      ],
      "size": [
        400,
        180
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Duration and Aspect Ratio",
      "properties": {},
      "widgets_values": [
        "The Google Gemini Omni Video requires you to specify the `duration` and `aspect ratio` in the prompt. The `Prompt Constructor` subgraph  helps you quickly construct the prompt with `duration` and `aspect ratio`.\n"
      ],
      "widgets_values_named": {
        "text": "The Google Gemini Omni Video requires you to specify the `duration` and `aspect ratio` in the prompt. The `Prompt Constructor` subgraph  helps you quickly construct the prompt with `duration` and `aspect ratio`.\n"
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 19,
      "type": "b83478ba-1f3e-4e62-9869-c8a0c8e9a5f5",
      "pos": [
        70,
        520
      ],
      "size": [
        400,
        250
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "label": "prompt",
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          },
          "link": null
        },
        {
          "label": "aspect_ratio:",
          "name": "choice",
          "type": "COMBO",
          "widget": {
            "name": "choice"
          },
          "link": null
        },
        {
          "label": "duration",
          "name": "choice_1",
          "type": "COMBO",
          "widget": {
            "name": "choice_1"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "label": "prompt",
          "name": "STRING",
          "type": "STRING",
          "links": [
            33
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.27.0",
        "previewExposures": []
      },
      "widgets_values": [
        "\nFollow the story exactly in order starting top left. A lonely clay toy shop grandpa warmly gives a retro handheld game to a visiting child.",
        "9:16",
        "3s "
      ],
      "widgets_values_named": {
        "value": "\nFollow the story exactly in order starting top left. A lonely clay toy shop grandpa warmly gives a retro handheld game to a visiting child.",
        "choice": "9:16",
        "choice_1": "3s "
      }
    },
    {
      "id": 20,
      "type": "GeminiVideoOmniV2",
      "pos": [
        70,
        140
      ],
      "size": [
        400,
        340
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "model.prompt",
          "type": "STRING",
          "widget": {
            "name": "model.prompt"
          },
          "link": 35
        },
        {
          "name": "model.images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 30
        },
        {
          "name": "model.images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": 31
        },
        {
          "name": "model.images.image_3",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "model.videos.video_1",
          "shape": 7,
          "type": "VIDEO",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            34
          ]
        },
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GeminiVideoOmniV2"
      },
      "widgets_values": [
        "Omni Flash",
        "",
        "16:9",
        "auto",
        1,
        0.95,
        42,
        "randomize",
        "randomize"
      ],
      "widgets_values_named": {
        "model": "Omni Flash",
        "model.prompt": "",
        "model.aspect_ratio": "16:9",
        "model.task_type": "auto",
        "model.temperature": 1,
        "model.top_p": 0.95,
        "model.seed": 42,
        "control_after_generate": "randomize"
      },
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      30,
      5,
      0,
      20,
      1,
      "IMAGE"
    ],
    [
      31,
      6,
      0,
      20,
      2,
      "IMAGE"
    ],
    [
      33,
      19,
      0,
      3,
      0,
      "STRING"
    ],
    [
      34,
      20,
      0,
      2,
      0,
      "VIDEO"
    ],
    [
      35,
      3,
      0,
      20,
      0,
      "STRING"
    ]
  ],
  "groups": [],
  "definitions": {
    "subgraphs": [
      {
        "id": "b83478ba-1f3e-4e62-9869-c8a0c8e9a5f5",
        "version": 1,
        "state": {
          "lastGroupId": 0,
          "lastNodeId": 20,
          "lastLinkId": 35,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Prompt Constructor",
        "inputNode": {
          "id": -10,
          "bounding": [
            -598,
            1298,
            128,
            108
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            990,
            1288,
            128,
            68
          ]
        },
        "inputs": [
          {
            "id": "0ec4f3ba-e84d-4c2a-a3b8-539300814e88",
            "name": "value",
            "type": "STRING",
            "linkIds": [
              25
            ],
            "label": "prompt",
            "pos": [
              -494,
              1322
            ]
          },
          {
            "id": "bcf0aec9-9f80-4d88-90b7-29cea450de68",
            "name": "choice",
            "type": "COMBO",
            "linkIds": [
              26
            ],
            "label": "aspect_ratio:",
            "pos": [
              -494,
              1342
            ]
          },
          {
            "id": "7296344d-6193-44bf-a059-9b18b61aa528",
            "name": "choice_1",
            "type": "COMBO",
            "linkIds": [
              27
            ],
            "label": "duration",
            "pos": [
              -494,
              1362
            ]
          }
        ],
        "outputs": [
          {
            "id": "f5ae177f-4339-4791-a762-e77fe647f25e",
            "name": "STRING",
            "type": "STRING",
            "linkIds": [
              19
            ],
            "localized_name": "STRING",
            "label": "prompt",
            "pos": [
              1014,
              1312
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 9,
            "type": "CustomCombo",
            "pos": [
              -400,
              1040
            ],
            "size": [
              270,
              240
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "choice",
                "name": "choice",
                "type": "COMBO",
                "widget": {
                  "name": "choice"
                },
                "link": 26
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  11
                ]
              },
              {
                "localized_name": "INDEX",
                "name": "INDEX",
                "type": "INT",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "CustomCombo",
              "cnr_id": "comfy-core",
              "ver": "0.27.0"
            },
            "widgets_values": [
              "9:16",
              1,
              "16:9",
              "9:16",
              ""
            ],
            "widgets_values_named": {
              "choice": "9:16",
              "index": 1,
              "option1": "16:9",
              "option2": "9:16",
              "option3": ""
            }
          },
          {
            "id": 10,
            "type": "CustomCombo",
            "pos": [
              -410,
              1380
            ],
            "size": [
              270,
              460
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "choice",
                "name": "choice",
                "type": "COMBO",
                "widget": {
                  "name": "choice"
                },
                "link": 27
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  12
                ]
              },
              {
                "localized_name": "INDEX",
                "name": "INDEX",
                "type": "INT",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "CustomCombo",
              "cnr_id": "comfy-core",
              "ver": "0.27.0"
            },
            "widgets_values": [
              "3s ",
              0,
              "3s ",
              "4s ",
              "5s ",
              "6s ",
              "7s ",
              "8s ",
              "9s ",
              "10s ",
              ""
            ],
            "widgets_values_named": {
              "choice": "3s ",
              "index": 0,
              "option1": "3s ",
              "option2": "4s ",
              "option3": "5s ",
              "option4": "6s ",
              "option5": "7s ",
              "option6": "8s ",
              "option7": "9s ",
              "option8": "10s ",
              "option9": ""
            }
          },
          {
            "id": 11,
            "type": "StringConcatenate",
            "pos": [
              -90,
              1050
            ],
            "size": [
              400,
              250
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                },
                "link": 11
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  15
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "StringConcatenate",
              "cnr_id": "comfy-core",
              "ver": "0.27.0"
            },
            "widgets_values": [
              "Aspect Ratio: ",
              "9:16",
              ""
            ],
            "widgets_values_named": {
              "string_a": "Aspect Ratio: ",
              "string_b": "9:16",
              "delimiter": ""
            }
          },
          {
            "id": 12,
            "type": "StringConcatenate",
            "pos": [
              -90,
              1360
            ],
            "size": [
              400,
              250
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                },
                "link": 12
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  16
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "StringConcatenate",
              "cnr_id": "comfy-core",
              "ver": "0.27.0"
            },
            "widgets_values": [
              "Duration: ",
              "3s ",
              ""
            ],
            "widgets_values_named": {
              "string_a": "Duration: ",
              "string_b": "3s ",
              "delimiter": ""
            }
          },
          {
            "id": 13,
            "type": "StringConcatenate",
            "pos": [
              -90,
              1670
            ],
            "size": [
              400,
              250
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string_a",
                "name": "string_a",
                "type": "STRING",
                "widget": {
                  "name": "string_a"
                },
                "link": 15
              },
              {
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                },
                "link": 16
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  17
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "StringConcatenate",
              "cnr_id": "comfy-core",
              "ver": "0.27.0"
            },
            "widgets_values": [
              "",
              "",
              ";"
            ],
            "widgets_values_named": {
              "string_a": "",
              "string_b": "",
              "delimiter": ";"
            }
          },
          {
            "id": 15,
            "type": "PrimitiveStringMultiline",
            "pos": [
              -90,
              770
            ],
            "size": [
              400,
              200
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                },
                "link": 25
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  18
                ]
              }
            ],
            "title": "Input Text (User Prompt)",
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.27.0"
            },
            "widgets_values": [
              "\nFollow the story exactly in order starting top left. A lonely clay toy shop grandpa warmly gives a retro handheld game to a visiting child."
            ],
            "widgets_values_named": {
              "value": "\nFollow the story exactly in order starting top left. A lonely clay toy shop grandpa warmly gives a retro handheld game to a visiting child."
            }
          },
          {
            "id": 16,
            "type": "StringConcatenate",
            "pos": [
              530,
              1020
            ],
            "size": [
              400,
              250
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string_a",
                "name": "string_a",
                "type": "STRING",
                "widget": {
                  "name": "string_a"
                },
                "link": 18
              },
              {
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                },
                "link": 17
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  19
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "StringConcatenate",
              "cnr_id": "comfy-core",
              "ver": "0.27.0"
            },
            "widgets_values": [
              "",
              "",
              ""
            ],
            "widgets_values_named": {
              "string_a": "",
              "string_b": "",
              "delimiter": ""
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 11,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 12,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 12,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 15,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 13,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 16,
            "origin_id": 12,
            "origin_slot": 0,
            "target_id": 13,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 18,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 16,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 17,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": 16,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 19,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 25,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 15,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 26,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 9,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 27,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 10,
            "target_slot": 0,
            "type": "COMBO"
          }
        ],
        "extra": {}
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.8689510608063427,
      "offset": [
        425.9221539026157,
        128.3320833283122
      ]
    },
    "frontendVersion": "1.51.9",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}
