{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {},
        "groups": [],
        "id": "3762e4c1-c5e0-4e1b-9449-e5ea5e9948cd",
        "inputNode": {
          "bounding": [
            -598,
            1298,
            128,
            108
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "0ec4f3ba-e84d-4c2a-a3b8-539300814e88",
            "label": "prompt",
            "linkIds": [
              25
            ],
            "name": "value",
            "pos": [
              -494,
              1322
            ],
            "type": "STRING"
          },
          {
            "id": "bcf0aec9-9f80-4d88-90b7-29cea450de68",
            "label": "aspect_ratio:",
            "linkIds": [
              26
            ],
            "name": "choice",
            "pos": [
              -494,
              1342
            ],
            "type": "COMBO"
          },
          {
            "id": "7296344d-6193-44bf-a059-9b18b61aa528",
            "label": "duration",
            "linkIds": [
              27
            ],
            "name": "choice_1",
            "pos": [
              -494,
              1362
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 11,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 12,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 12,
            "target_slot": 1,
            "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"
          }
        ],
        "name": "Prompt Constructor",
        "nodes": [
          {
            "flags": {},
            "id": 9,
            "inputs": [
              {
                "link": 26,
                "localized_name": "choice",
                "name": "choice",
                "type": "COMBO",
                "widget": {
                  "name": "choice"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  11
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              },
              {
                "links": null,
                "localized_name": "INDEX",
                "name": "INDEX",
                "type": "INT"
              }
            ],
            "pos": [
              -400,
              1040
            ],
            "properties": {
              "Node name for S&R": "CustomCombo"
            },
            "size": [
              270,
              240
            ],
            "type": "CustomCombo",
            "widgets_values": [
              "9:16",
              1,
              "16:9",
              "9:16",
              ""
            ]
          },
          {
            "flags": {},
            "id": 10,
            "inputs": [
              {
                "link": 27,
                "localized_name": "choice",
                "name": "choice",
                "type": "COMBO",
                "widget": {
                  "name": "choice"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  12
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              },
              {
                "links": null,
                "localized_name": "INDEX",
                "name": "INDEX",
                "type": "INT"
              }
            ],
            "pos": [
              -410,
              1380
            ],
            "properties": {
              "Node name for S&R": "CustomCombo"
            },
            "size": [
              270,
              460
            ],
            "type": "CustomCombo",
            "widgets_values": [
              "3s ",
              0,
              "3s ",
              "4s ",
              "5s ",
              "6s ",
              "7s ",
              "8s ",
              "9s ",
              "10s ",
              ""
            ]
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": null,
                "localized_name": "string_a",
                "name": "string_a",
                "type": "STRING",
                "widget": {
                  "name": "string_a"
                }
              },
              {
                "link": 11,
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                }
              },
              {
                "link": null,
                "localized_name": "delimiter",
                "name": "delimiter",
                "type": "STRING",
                "widget": {
                  "name": "delimiter"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  15
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              -90,
              1050
            ],
            "properties": {
              "Node name for S&R": "StringConcatenate"
            },
            "size": [
              400,
              250
            ],
            "type": "StringConcatenate",
            "widgets_values": [
              "Aspect Ratio: ",
              "9:16",
              ""
            ]
          },
          {
            "flags": {},
            "id": 12,
            "inputs": [
              {
                "link": null,
                "localized_name": "string_a",
                "name": "string_a",
                "type": "STRING",
                "widget": {
                  "name": "string_a"
                }
              },
              {
                "link": 12,
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                }
              },
              {
                "link": null,
                "localized_name": "delimiter",
                "name": "delimiter",
                "type": "STRING",
                "widget": {
                  "name": "delimiter"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  16
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              -90,
              1360
            ],
            "properties": {
              "Node name for S&R": "StringConcatenate"
            },
            "size": [
              400,
              250
            ],
            "type": "StringConcatenate",
            "widgets_values": [
              "Duration: ",
              "3s ",
              ""
            ]
          },
          {
            "flags": {},
            "id": 13,
            "inputs": [
              {
                "link": 15,
                "localized_name": "string_a",
                "name": "string_a",
                "type": "STRING",
                "widget": {
                  "name": "string_a"
                }
              },
              {
                "link": 16,
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                }
              },
              {
                "link": null,
                "localized_name": "delimiter",
                "name": "delimiter",
                "type": "STRING",
                "widget": {
                  "name": "delimiter"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  17
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              -90,
              1670
            ],
            "properties": {
              "Node name for S&R": "StringConcatenate"
            },
            "size": [
              400,
              250
            ],
            "type": "StringConcatenate",
            "widgets_values": [
              "",
              "",
              ";"
            ]
          },
          {
            "flags": {},
            "id": 15,
            "inputs": [
              {
                "link": 25,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  18
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              -90,
              770
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline"
            },
            "size": [
              400,
              200
            ],
            "title": "Input Text (User Prompt)",
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              "Wes Anderson style, perfectly symmetrical wide shot of a pastel-pink hotel lobby, two bellhops in matching mustard uniforms stand frozen at attention either side of a brass elevator, the elevator doors slide open in unison, a tiny dog wearing a bow tie trots out toward camera, slow dolly-in, flat lighting, ornate wallpaper"
            ]
          },
          {
            "flags": {},
            "id": 16,
            "inputs": [
              {
                "link": 18,
                "localized_name": "string_a",
                "name": "string_a",
                "type": "STRING",
                "widget": {
                  "name": "string_a"
                }
              },
              {
                "link": 17,
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                }
              },
              {
                "link": null,
                "localized_name": "delimiter",
                "name": "delimiter",
                "type": "STRING",
                "widget": {
                  "name": "delimiter"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  19
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              530,
              1020
            ],
            "properties": {
              "Node name for S&R": "StringConcatenate"
            },
            "size": [
              400,
              250
            ],
            "type": "StringConcatenate",
            "widgets_values": [
              "",
              "",
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            990,
            1288,
            128,
            68
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "f5ae177f-4339-4791-a762-e77fe647f25e",
            "label": "prompt",
            "linkIds": [
              19
            ],
            "localized_name": "STRING",
            "name": "STRING",
            "pos": [
              1014,
              1312
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 30,
          "lastNodeId": 21,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "ds": {
      "offset": [
        673.3333333333333,
        338.1327160493827
      ],
      "scale": 0.6893617021276596
    },
    "frontendVersion": "1.47.6"
  },
  "groups": [],
  "id": "5d4ec020-c06c-424e-af17-d6bfd877cd42",
  "last_link_id": 30,
  "last_node_id": 21,
  "links": [
    [
      3,
      5,
      0,
      2,
      0,
      "VIDEO"
    ],
    [
      4,
      5,
      1,
      3,
      0,
      "STRING"
    ],
    [
      30,
      21,
      0,
      5,
      1,
      "STRING"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 2,
      "inputs": [
        {
          "link": 3,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        },
        {
          "link": null,
          "localized_name": "format",
          "name": "format",
          "type": "COMBO",
          "widget": {
            "name": "format"
          }
        },
        {
          "link": null,
          "localized_name": "codec",
          "name": "codec",
          "type": "COMBO",
          "widget": {
            "name": "codec"
          }
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": null,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "pos": [
        530,
        150
      ],
      "properties": {},
      "size": [
        540,
        430
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto"
      ]
    },
    {
      "flags": {},
      "id": 3,
      "inputs": [
        {
          "link": 4,
          "localized_name": "source",
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": null,
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        1100,
        150
      ],
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "size": [
        410,
        420
      ],
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 5,
      "inputs": [
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          }
        },
        {
          "link": 30,
          "localized_name": "model.prompt",
          "name": "model.prompt",
          "type": "STRING",
          "widget": {
            "name": "model.prompt"
          }
        },
        {
          "label": "image_1",
          "link": null,
          "localized_name": "model.images.image_1",
          "name": "model.images.image_1",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "label": "video_1",
          "link": null,
          "localized_name": "model.videos.video_1",
          "name": "model.videos.video_1",
          "shape": 7,
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "model.temperature",
          "name": "model.temperature",
          "type": "FLOAT",
          "widget": {
            "name": "model.temperature"
          }
        },
        {
          "link": null,
          "localized_name": "model.top_p",
          "name": "model.top_p",
          "type": "FLOAT",
          "widget": {
            "name": "model.top_p"
          }
        },
        {
          "link": null,
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            3
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        },
        {
          "links": [
            4
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        80,
        150
      ],
      "properties": {
        "Node name for S&R": "GeminiVideoOmni"
      },
      "size": [
        400,
        232
      ],
      "type": "GeminiVideoOmni",
      "widgets_values": [
        "Omni Flash",
        "",
        1,
        0.95,
        42,
        "randomize"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 20,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [],
      "pos": [
        -350,
        470
      ],
      "properties": {},
      "size": [
        400,
        180
      ],
      "title": "Note: Duration and Aspect Ratio",
      "type": "MarkdownNote",
      "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"
      ]
    },
    {
      "flags": {},
      "id": 21,
      "inputs": [
        {
          "label": "prompt",
          "link": null,
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          }
        },
        {
          "label": "aspect_ratio:",
          "link": null,
          "name": "choice",
          "type": "COMBO",
          "widget": {
            "name": "choice"
          }
        },
        {
          "label": "duration",
          "link": null,
          "name": "choice_1",
          "type": "COMBO",
          "widget": {
            "name": "choice_1"
          }
        }
      ],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "label": "prompt",
          "links": [
            30
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -350,
        150
      ],
      "properties": {
        "previewExposures": [],
        "proxyWidgets": [
          [
            "15",
            "value"
          ],
          [
            "9",
            "choice"
          ],
          [
            "10",
            "choice"
          ]
        ]
      },
      "size": [
        400,
        250
      ],
      "type": "3762e4c1-c5e0-4e1b-9449-e5ea5e9948cd",
      "widgets_values": []
    }
  ],
  "revision": 0,
  "version": 0.4
}