{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {},
        "groups": [],
        "id": "9b3e081c-daf7-47d9-9080-5415be5215d3",
        "inputNode": {
          "bounding": [
            -6728.534070722246,
            1475.2619799128663,
            150.9140625,
            88
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "7bc321cd-df31-4c39-aaf7-7f0d01326189",
            "linkIds": [
              5,
              562
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              -6601.620008222246,
              1499.2619799128663
            ],
            "type": "IMAGE"
          },
          {
            "id": "e89d2cd8-daa3-4e29-8a69-851db85072cb",
            "linkIds": [
              12
            ],
            "name": "bg_removal_name",
            "pos": [
              -6601.620008222246,
              1519.2619799128663
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 3,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 13,
            "target_slot": 1,
            "type": "BACKGROUND_REMOVAL"
          },
          {
            "id": 4,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": 15,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 5,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 13,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 11,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "MASK"
          },
          {
            "id": 12,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 14,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 559,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 415,
            "target_slot": 2,
            "type": "MASK"
          },
          {
            "id": 560,
            "origin_id": 415,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 562,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 415,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 563,
            "origin_id": 418,
            "origin_slot": 0,
            "target_id": 415,
            "target_slot": 1,
            "type": "IMAGE"
          }
        ],
        "name": "Remove Background (Optional)",
        "nodes": [
          {
            "flags": {},
            "id": 13,
            "inputs": [
              {
                "link": 5,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 3,
                "localized_name": "bg_removal_model",
                "name": "bg_removal_model",
                "type": "BACKGROUND_REMOVAL"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  4,
                  11
                ],
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK"
              }
            ],
            "pos": [
              -6540,
              1440
            ],
            "properties": {
              "Node name for S&R": "RemoveBackground"
            },
            "size": [
              310,
              80
            ],
            "type": "RemoveBackground",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 14,
            "inputs": [
              {
                "link": 12,
                "localized_name": "bg_removal_name",
                "name": "bg_removal_name",
                "type": "COMBO",
                "widget": {
                  "name": "bg_removal_name"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  3
                ],
                "localized_name": "bg_model",
                "name": "bg_model",
                "type": "BACKGROUND_REMOVAL"
              }
            ],
            "pos": [
              -6540,
              1300
            ],
            "properties": {
              "Node name for S&R": "LoadBackgroundRemovalModel",
              "models": [
                {
                  "directory": "background_removal",
                  "name": "birefnet.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors"
                }
              ]
            },
            "size": [
              320,
              90
            ],
            "type": "LoadBackgroundRemovalModel",
            "widgets_values": [
              "birefnet.safetensors"
            ]
          },
          {
            "flags": {},
            "id": 15,
            "inputs": [
              {
                "link": 4,
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  559
                ],
                "localized_name": "MASK",
                "name": "MASK",
                "type": "MASK"
              }
            ],
            "pos": [
              -6530,
              1570
            ],
            "properties": {
              "Node name for S&R": "InvertMask"
            },
            "size": [
              290,
              50
            ],
            "type": "InvertMask",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 415,
            "inputs": [
              {
                "link": 562,
                "localized_name": "destination",
                "name": "destination",
                "type": "IMAGE"
              },
              {
                "link": 563,
                "localized_name": "source",
                "name": "source",
                "type": "IMAGE"
              },
              {
                "link": 559,
                "localized_name": "mask",
                "name": "mask",
                "shape": 7,
                "type": "MASK"
              },
              {
                "link": null,
                "localized_name": "x",
                "name": "x",
                "type": "INT",
                "widget": {
                  "name": "x"
                }
              },
              {
                "link": null,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              },
              {
                "link": null,
                "localized_name": "resize_source",
                "name": "resize_source",
                "type": "BOOLEAN",
                "widget": {
                  "name": "resize_source"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  560
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -6210,
              1570
            ],
            "properties": {
              "Node name for S&R": "ImageCompositeMasked"
            },
            "size": [
              280,
              190
            ],
            "type": "ImageCompositeMasked",
            "widgets_values": [
              0,
              0,
              true
            ]
          },
          {
            "flags": {},
            "id": 418,
            "inputs": [
              {
                "link": null,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": null,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "widget": {
                  "name": "batch_size"
                }
              },
              {
                "link": null,
                "localized_name": "red",
                "name": "red",
                "type": "FLOAT",
                "widget": {
                  "name": "red"
                }
              },
              {
                "link": null,
                "localized_name": "green",
                "name": "green",
                "type": "FLOAT",
                "widget": {
                  "name": "green"
                }
              },
              {
                "link": null,
                "localized_name": "blue",
                "name": "blue",
                "type": "FLOAT",
                "widget": {
                  "name": "blue"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  561,
                  563
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -6530,
              1660
            ],
            "properties": {
              "Node name for S&R": "ImageConstant"
            },
            "size": [
              290,
              270
            ],
            "type": "ImageConstant",
            "widgets_values": [
              512,
              512,
              1,
              0,
              0,
              0
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            -5880,
            1510,
            128,
            88
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "16e7863c-4c38-46c2-aa74-e82991fbfe8d",
            "linkIds": [
              560
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              -5856,
              1534
            ],
            "type": "IMAGE"
          },
          {
            "id": "f7240c19-5b80-406e-a8e2-9b12440ee2d6",
            "linkIds": [
              11
            ],
            "name": "mask",
            "pos": [
              -5856,
              1554
            ],
            "type": "MASK"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 9,
          "lastLinkId": 574,
          "lastNodeId": 423,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        2154.58544859669,
        -717.5198859040503
      ],
      "scale": 0.45355890345356126
    },
    "frontendVersion": "1.44.18",
    "links_added_by_ue": [],
    "ue_links": []
  },
  "groups": [
    {
      "bounding": [
        -1460,
        1150,
        1870,
        760
      ],
      "color": "#3f789e",
      "flags": {},
      "id": 8,
      "title": "Image based (Select all nodes then Ctrl-B to enable/disable)"
    },
    {
      "bounding": [
        -1460,
        1930,
        1870,
        770
      ],
      "color": "#88A",
      "flags": {},
      "id": 9,
      "title": "VLM based (Select all nodes then Ctrl-B to enable/disable)"
    }
  ],
  "id": "c9ddbbfd-4e75-4ed9-845c-de5a4ad7d17f",
  "last_link_id": 574,
  "last_node_id": 423,
  "links": [
    [
      452,
      314,
      0,
      316,
      0,
      "STRING"
    ],
    [
      466,
      310,
      0,
      330,
      0,
      "IMAGE"
    ],
    [
      468,
      330,
      0,
      314,
      1,
      "STRING"
    ],
    [
      482,
      337,
      0,
      338,
      0,
      "VIDEO"
    ],
    [
      493,
      321,
      0,
      340,
      1,
      "INT"
    ],
    [
      494,
      321,
      0,
      287,
      2,
      "INT"
    ],
    [
      496,
      282,
      0,
      287,
      0,
      "IMAGE"
    ],
    [
      502,
      347,
      0,
      282,
      0,
      "IMAGE"
    ],
    [
      516,
      380,
      0,
      375,
      0,
      "IMAGE"
    ],
    [
      517,
      375,
      0,
      376,
      0,
      "IMAGE"
    ],
    [
      520,
      378,
      0,
      379,
      0,
      "VIDEO"
    ],
    [
      527,
      321,
      0,
      376,
      2,
      "INT"
    ],
    [
      528,
      296,
      0,
      401,
      7,
      "IMAGE"
    ],
    [
      529,
      310,
      0,
      401,
      8,
      "IMAGE"
    ],
    [
      530,
      401,
      0,
      347,
      0,
      "IMAGE"
    ],
    [
      531,
      401,
      0,
      331,
      0,
      "IMAGE"
    ],
    [
      536,
      405,
      0,
      401,
      3,
      "INT"
    ],
    [
      537,
      405,
      1,
      401,
      4,
      "INT"
    ],
    [
      538,
      316,
      0,
      406,
      0,
      "STRING"
    ],
    [
      539,
      296,
      0,
      406,
      7,
      "IMAGE"
    ],
    [
      540,
      406,
      0,
      377,
      0,
      "IMAGE"
    ],
    [
      541,
      406,
      0,
      380,
      0,
      "IMAGE"
    ],
    [
      542,
      405,
      0,
      406,
      3,
      "INT"
    ],
    [
      543,
      405,
      1,
      406,
      4,
      "INT"
    ],
    [
      544,
      287,
      0,
      407,
      0,
      "IMAGE"
    ],
    [
      545,
      407,
      0,
      337,
      0,
      "IMAGE"
    ],
    [
      546,
      376,
      0,
      408,
      0,
      "IMAGE"
    ],
    [
      547,
      408,
      0,
      378,
      0,
      "IMAGE"
    ],
    [
      550,
      410,
      0,
      340,
      0,
      "IMAGE"
    ],
    [
      551,
      410,
      2,
      378,
      2,
      "FLOAT"
    ],
    [
      552,
      410,
      2,
      337,
      2,
      "FLOAT"
    ],
    [
      553,
      413,
      0,
      410,
      0,
      "VIDEO"
    ],
    [
      554,
      409,
      0,
      413,
      0,
      "VIDEO"
    ],
    [
      556,
      414,
      0,
      296,
      0,
      "IMAGE"
    ],
    [
      572,
      423,
      0,
      405,
      0,
      "IMAGE"
    ],
    [
      573,
      423,
      0,
      414,
      0,
      "IMAGE"
    ],
    [
      574,
      340,
      0,
      423,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {
        "collapsed": true
      },
      "id": 282,
      "inputs": [
        {
          "link": 502,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 20,
      "outputs": [
        {
          "links": [
            496
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -200,
        1300
      ],
      "properties": {
        "Node name for S&R": "ImageListToImageBatch"
      },
      "size": [
        226.875,
        8
      ],
      "type": "ImageListToImageBatch",
      "widgets_values": []
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 287,
      "inputs": [
        {
          "link": 496,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "mask",
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": 494,
          "localized_name": "repeats",
          "name": "repeats",
          "type": "INT",
          "widget": {
            "name": "repeats"
          }
        }
      ],
      "mode": 0,
      "order": 22,
      "outputs": [
        {
          "links": [
            544
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -200,
        1350
      ],
      "properties": {
        "Node name for S&R": "ImageBatchRepeatInterleaving"
      },
      "size": [
        284.09375,
        8
      ],
      "type": "ImageBatchRepeatInterleaving",
      "widgets_values": [
        10
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 296,
      "inputs": [
        {
          "link": 556,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "batch_size",
          "name": "batch_size",
          "type": "INT",
          "widget": {
            "name": "batch_size"
          }
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            528,
            539
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "shape": 6,
          "type": "IMAGE"
        }
      ],
      "pos": [
        -1750,
        1320
      ],
      "properties": {
        "Node name for S&R": "RebatchImages"
      },
      "size": [
        230,
        40
      ],
      "type": "RebatchImages",
      "widgets_values": [
        1
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 310,
      "inputs": [
        {
          "link": null,
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "link": null,
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            466,
            529
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -2040,
        2120
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "size": [
        260,
        340
      ],
      "title": "INPUT STYLE REFERENCE",
      "type": "LoadImage",
      "widgets_values": [
        "4aec5ec351a7828d3d2a2b9e79535c3e97ab346d2f1877de80313d955e470d5f.png",
        "image"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 314,
      "inputs": [
        {
          "link": null,
          "localized_name": "string_a",
          "name": "string_a",
          "type": "STRING",
          "widget": {
            "name": "string_a"
          }
        },
        {
          "link": 468,
          "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": 4,
      "order": 6,
      "outputs": [
        {
          "links": [
            452
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -890,
        2020
      ],
      "properties": {
        "Node name for S&R": "StringConcatenate"
      },
      "size": [
        264.671875,
        8
      ],
      "type": "StringConcatenate",
      "widgets_values": [
        "Stylize the input image into the following style: ",
        "",
        ""
      ]
    },
    {
      "flags": {},
      "id": 316,
      "inputs": [
        {
          "link": 452,
          "localized_name": "source",
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 4,
      "order": 8,
      "outputs": [
        {
          "links": [
            538
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -890,
        2070
      ],
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "size": [
        230,
        570
      ],
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {
        "collapsed": false
      },
      "id": 321,
      "inputs": [
        {
          "link": null,
          "localized_name": "value",
          "name": "value",
          "type": "INT",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            493,
            494,
            527
          ],
          "localized_name": "INT",
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        -2040,
        1170
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "size": [
        270,
        90
      ],
      "title": "SELECT EVERY NTH FRAME",
      "type": "PrimitiveInt",
      "widgets_values": [
        5,
        "fixed"
      ]
    },
    {
      "bgcolor": "#374539",
      "color": "#28403f",
      "flags": {
        "collapsed": false
      },
      "id": 330,
      "inputs": [
        {
          "link": 466,
          "localized_name": "image",
          "name": "image",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "video",
          "name": "video",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "model_name",
          "name": "model_name",
          "type": "COMBO",
          "widget": {
            "name": "model_name"
          }
        },
        {
          "link": null,
          "localized_name": "quantization",
          "name": "quantization",
          "type": "COMBO",
          "widget": {
            "name": "quantization"
          }
        },
        {
          "link": null,
          "localized_name": "attention_mode",
          "name": "attention_mode",
          "type": "COMBO",
          "widget": {
            "name": "attention_mode"
          }
        },
        {
          "link": null,
          "localized_name": "use_torch_compile",
          "name": "use_torch_compile",
          "type": "BOOLEAN",
          "widget": {
            "name": "use_torch_compile"
          }
        },
        {
          "link": null,
          "localized_name": "device",
          "name": "device",
          "type": "COMBO",
          "widget": {
            "name": "device"
          }
        },
        {
          "link": null,
          "localized_name": "preset_prompt",
          "name": "preset_prompt",
          "type": "COMBO",
          "widget": {
            "name": "preset_prompt"
          }
        },
        {
          "link": null,
          "localized_name": "custom_prompt",
          "name": "custom_prompt",
          "type": "STRING",
          "widget": {
            "name": "custom_prompt"
          }
        },
        {
          "link": null,
          "localized_name": "max_tokens",
          "name": "max_tokens",
          "type": "INT",
          "widget": {
            "name": "max_tokens"
          }
        },
        {
          "link": null,
          "localized_name": "temperature",
          "name": "temperature",
          "type": "FLOAT",
          "widget": {
            "name": "temperature"
          }
        },
        {
          "link": null,
          "localized_name": "top_p",
          "name": "top_p",
          "type": "FLOAT",
          "widget": {
            "name": "top_p"
          }
        },
        {
          "link": null,
          "localized_name": "num_beams",
          "name": "num_beams",
          "type": "INT",
          "widget": {
            "name": "num_beams"
          }
        },
        {
          "link": null,
          "localized_name": "repetition_penalty",
          "name": "repetition_penalty",
          "type": "FLOAT",
          "widget": {
            "name": "repetition_penalty"
          }
        },
        {
          "link": null,
          "localized_name": "frame_count",
          "name": "frame_count",
          "type": "INT",
          "widget": {
            "name": "frame_count"
          }
        },
        {
          "link": null,
          "localized_name": "keep_model_loaded",
          "name": "keep_model_loaded",
          "type": "BOOLEAN",
          "widget": {
            "name": "keep_model_loaded"
          }
        },
        {
          "link": null,
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        }
      ],
      "mode": 4,
      "order": 4,
      "outputs": [
        {
          "links": [
            468
          ],
          "localized_name": "RESPONSE",
          "name": "RESPONSE",
          "type": "STRING"
        }
      ],
      "pos": [
        -1430,
        2020
      ],
      "properties": {
        "Node name for S&R": "AILab_QwenVL_Advanced"
      },
      "size": [
        510,
        620
      ],
      "type": "AILab_QwenVL_Advanced",
      "widgets_values": [
        "Qwen3-VL-4B-Instruct",
        "None (FP16)",
        "auto",
        false,
        "auto",
        "🖼️ Detailed Description",
        "You are a blind art historian who can only see technique, not subject matter. \nAnalyze the input image and extract ONLY its artistic style, medium, and rendering attributes. \n\nSTRICT RULES:\n1. DO NOT mention any people, characters, objects, animals, or specific scenery details. \n2. DO NOT describe the action or composition (e.g., \"looking left\", \"centered\").\n3. FOCUS EXCLUSIVELY ON: \n   - Art Medium (e.g., \"oil painting,\" \"35mm kodak film,\" \"unreal engine 5 render\")\n   - Lighting Quality (e.g., \"volumetric fog,\" \"hard rim lighting,\" \"chiaroscuro\")\n   - Texture & Surface (e.g., \"heavy impasto brushwork,\" \"film grain,\" \"glossy digital sheen\")\n   - Color Palette (e.g., \"muted earth tones,\" \"neon cyberpunk hues,\" \"desaturated bleach bypass\")\n   - Mood/Atmosphere (e.g., \"ethereal,\" \"gritty,\" \"minimalist\")\n\nOUTPUT FORMAT:\nProvide a single, flowing paragraph of keywords and descriptive adjectives. Do not use intro phrases like \"The image style is...\" or \"This represents...\". Start directly with the style descriptors.",
        512,
        0.6,
        0.9,
        1,
        1.2,
        16,
        false,
        1050416152,
        "randomize"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 331,
      "inputs": [
        {
          "link": 531,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [],
      "pos": [
        -200,
        1500
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "size": [
        225,
        8
      ],
      "type": "PreviewImage",
      "widgets_values": []
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 337,
      "inputs": [
        {
          "link": 545,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "audio",
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": 552,
          "localized_name": "fps",
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          }
        }
      ],
      "mode": 0,
      "order": 26,
      "outputs": [
        {
          "links": [
            482
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -200,
        1450
      ],
      "properties": {
        "Node name for S&R": "CreateVideo"
      },
      "size": [
        225,
        8
      ],
      "type": "CreateVideo",
      "widgets_values": [
        30
      ]
    },
    {
      "flags": {},
      "id": 338,
      "inputs": [
        {
          "link": 482,
          "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": 28,
      "outputs": [],
      "pos": [
        100,
        1250
      ],
      "properties": {},
      "size": [
        270,
        640.640625
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/CollageImage",
        "mp4",
        "h264"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 340,
      "inputs": [
        {
          "link": 550,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": 493,
          "localized_name": "select_every_nth",
          "name": "select_every_nth",
          "type": "INT",
          "widget": {
            "name": "select_every_nth"
          }
        },
        {
          "link": null,
          "localized_name": "skip_first_images",
          "name": "skip_first_images",
          "type": "INT",
          "widget": {
            "name": "skip_first_images"
          }
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            574
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "count",
          "name": "count",
          "type": "INT"
        }
      ],
      "pos": [
        -1750,
        1220
      ],
      "properties": {
        "Node name for S&R": "VHS_SelectEveryNthImage"
      },
      "size": [
        270.203125,
        8
      ],
      "type": "VHS_SelectEveryNthImage",
      "widgets_values": {
        "select_every_nth": 1,
        "skip_first_images": 0
      }
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 347,
      "inputs": [
        {
          "link": 530,
          "localized_name": "input",
          "name": "input",
          "type": "IMAGE,MASK"
        },
        {
          "link": null,
          "localized_name": "resize_type",
          "name": "resize_type",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "resize_type"
          }
        },
        {
          "link": null,
          "localized_name": "resize_type.multiple",
          "name": "resize_type.multiple",
          "type": "INT",
          "widget": {
            "name": "resize_type.multiple"
          }
        },
        {
          "link": null,
          "localized_name": "scale_method",
          "name": "scale_method",
          "type": "COMBO",
          "widget": {
            "name": "scale_method"
          }
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [
        {
          "links": [
            502
          ],
          "localized_name": "resized",
          "name": "resized",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -200,
        1250
      ],
      "properties": {
        "Node name for S&R": "ResizeImageMaskNode"
      },
      "size": [
        225,
        8
      ],
      "type": "ResizeImageMaskNode",
      "widgets_values": [
        "scale to multiple",
        2,
        "lanczos"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 375,
      "inputs": [
        {
          "link": 516,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 4,
      "order": 21,
      "outputs": [
        {
          "links": [
            517
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -200,
        2070
      ],
      "properties": {
        "Node name for S&R": "ImageListToImageBatch"
      },
      "size": [
        319.078125,
        8
      ],
      "type": "ImageListToImageBatch",
      "widgets_values": []
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 376,
      "inputs": [
        {
          "link": 517,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "mask",
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": 527,
          "localized_name": "repeats",
          "name": "repeats",
          "type": "INT",
          "widget": {
            "name": "repeats"
          }
        }
      ],
      "mode": 4,
      "order": 23,
      "outputs": [
        {
          "links": [
            546
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -200,
        2120
      ],
      "properties": {
        "Node name for S&R": "ImageBatchRepeatInterleaving"
      },
      "size": [
        376.296875,
        8
      ],
      "type": "ImageBatchRepeatInterleaving",
      "widgets_values": [
        10
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 377,
      "inputs": [
        {
          "link": 540,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 4,
      "order": 18,
      "outputs": [],
      "pos": [
        -200,
        2270
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "size": [
        245.28125,
        8
      ],
      "type": "PreviewImage",
      "widgets_values": []
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 378,
      "inputs": [
        {
          "link": 547,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "audio",
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": 551,
          "localized_name": "fps",
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          }
        }
      ],
      "mode": 4,
      "order": 27,
      "outputs": [
        {
          "links": [
            520
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -200,
        2220
      ],
      "properties": {
        "Node name for S&R": "CreateVideo"
      },
      "size": [
        234.359375,
        8
      ],
      "type": "CreateVideo",
      "widgets_values": [
        30
      ]
    },
    {
      "flags": {},
      "id": 379,
      "inputs": [
        {
          "link": 520,
          "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": 4,
      "order": 29,
      "outputs": [],
      "pos": [
        100,
        2020
      ],
      "properties": {},
      "size": [
        270,
        640.640625
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/CollageText",
        "mp4",
        "h264"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 380,
      "inputs": [
        {
          "link": 541,
          "localized_name": "input",
          "name": "input",
          "type": "IMAGE,MASK"
        },
        {
          "link": null,
          "localized_name": "resize_type",
          "name": "resize_type",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "resize_type"
          }
        },
        {
          "link": null,
          "localized_name": "resize_type.multiple",
          "name": "resize_type.multiple",
          "type": "INT",
          "widget": {
            "name": "resize_type.multiple"
          }
        },
        {
          "link": null,
          "localized_name": "scale_method",
          "name": "scale_method",
          "type": "COMBO",
          "widget": {
            "name": "scale_method"
          }
        }
      ],
      "mode": 4,
      "order": 19,
      "outputs": [
        {
          "links": [
            516
          ],
          "localized_name": "resized",
          "name": "resized",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -200,
        2020
      ],
      "properties": {
        "Node name for S&R": "ResizeImageMaskNode"
      },
      "size": [
        276.84375,
        8
      ],
      "type": "ResizeImageMaskNode",
      "widgets_values": [
        "scale to multiple",
        2,
        "lanczos"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 401,
      "inputs": [
        {
          "link": null,
          "localized_name": "prompt",
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        },
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          }
        },
        {
          "link": null,
          "localized_name": "model.size",
          "name": "model.size",
          "type": "COMBO",
          "widget": {
            "name": "model.size"
          }
        },
        {
          "link": 536,
          "localized_name": "model.custom_width",
          "name": "model.custom_width",
          "type": "INT",
          "widget": {
            "name": "model.custom_width"
          }
        },
        {
          "link": 537,
          "localized_name": "model.custom_height",
          "name": "model.custom_height",
          "type": "INT",
          "widget": {
            "name": "model.custom_height"
          }
        },
        {
          "link": null,
          "localized_name": "model.background",
          "name": "model.background",
          "type": "COMBO",
          "widget": {
            "name": "model.background"
          }
        },
        {
          "link": null,
          "localized_name": "model.quality",
          "name": "model.quality",
          "type": "COMBO",
          "widget": {
            "name": "model.quality"
          }
        },
        {
          "label": "image_1",
          "link": 528,
          "localized_name": "model.images.image_1",
          "name": "model.images.image_1",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "label": "image_2",
          "link": 529,
          "localized_name": "model.images.image_2",
          "name": "model.images.image_2",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "label": "image_3",
          "link": null,
          "localized_name": "model.images.image_3",
          "name": "model.images.image_3",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "label": "mask",
          "link": null,
          "localized_name": "model.mask",
          "name": "model.mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": null,
          "localized_name": "n",
          "name": "n",
          "type": "INT",
          "widget": {
            "name": "n"
          }
        },
        {
          "link": null,
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": [
            530,
            531
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -630,
        1250
      ],
      "properties": {
        "Node name for S&R": "OpenAIGPTImageNodeV2"
      },
      "size": [
        400,
        518.625
      ],
      "type": "OpenAIGPTImageNodeV2",
      "widgets_values": [
        "Stylize the first image in the style of the second image.",
        "gpt-image-2",
        "Custom",
        1024,
        1024,
        "auto",
        "low",
        1,
        79065436,
        "randomize"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 405,
      "inputs": [
        {
          "link": 572,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            536,
            542
          ],
          "localized_name": "width",
          "name": "width",
          "type": "INT"
        },
        {
          "links": [
            537,
            543
          ],
          "localized_name": "height",
          "name": "height",
          "type": "INT"
        },
        {
          "links": null,
          "localized_name": "batch_size",
          "name": "batch_size",
          "type": "INT"
        }
      ],
      "pos": [
        -1750,
        1370
      ],
      "properties": {
        "Node name for S&R": "GetImageSize"
      },
      "size": [
        230,
        70
      ],
      "type": "GetImageSize",
      "widgets_values": []
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 406,
      "inputs": [
        {
          "link": 538,
          "localized_name": "prompt",
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        },
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          }
        },
        {
          "link": null,
          "localized_name": "model.size",
          "name": "model.size",
          "type": "COMBO",
          "widget": {
            "name": "model.size"
          }
        },
        {
          "link": 542,
          "localized_name": "model.custom_width",
          "name": "model.custom_width",
          "type": "INT",
          "widget": {
            "name": "model.custom_width"
          }
        },
        {
          "link": 543,
          "localized_name": "model.custom_height",
          "name": "model.custom_height",
          "type": "INT",
          "widget": {
            "name": "model.custom_height"
          }
        },
        {
          "link": null,
          "localized_name": "model.background",
          "name": "model.background",
          "type": "COMBO",
          "widget": {
            "name": "model.background"
          }
        },
        {
          "link": null,
          "localized_name": "model.quality",
          "name": "model.quality",
          "type": "COMBO",
          "widget": {
            "name": "model.quality"
          }
        },
        {
          "label": "image_1",
          "link": 539,
          "localized_name": "model.images.image_1",
          "name": "model.images.image_1",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "label": "image_2",
          "link": null,
          "localized_name": "model.images.image_2",
          "name": "model.images.image_2",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "label": "mask",
          "link": null,
          "localized_name": "model.mask",
          "name": "model.mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": null,
          "localized_name": "n",
          "name": "n",
          "type": "INT",
          "widget": {
            "name": "n"
          }
        },
        {
          "link": null,
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        }
      ],
      "mode": 4,
      "order": 15,
      "outputs": [
        {
          "links": [
            540,
            541
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -630,
        2020
      ],
      "properties": {
        "Node name for S&R": "OpenAIGPTImageNodeV2"
      },
      "size": [
        400,
        494.625
      ],
      "type": "OpenAIGPTImageNodeV2",
      "widgets_values": [
        "preserving the composition and perspective of the first image. restyle it in the style of the second image",
        "gpt-image-2",
        "Custom",
        1024,
        1024,
        "auto",
        "low",
        1,
        1367850518,
        "randomize"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 407,
      "inputs": [
        {
          "link": 544,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 24,
      "outputs": [
        {
          "links": [
            545
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -200,
        1400
      ],
      "properties": {
        "Node name for S&R": "ImageRemoveAlpha+"
      },
      "size": [
        225,
        8
      ],
      "type": "ImageRemoveAlpha+",
      "widgets_values": []
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 408,
      "inputs": [
        {
          "link": 546,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 4,
      "order": 25,
      "outputs": [
        {
          "links": [
            547
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -200,
        2170
      ],
      "properties": {
        "Node name for S&R": "ImageRemoveAlpha+"
      },
      "size": [
        310.75,
        8
      ],
      "type": "ImageRemoveAlpha+",
      "widgets_values": []
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 409,
      "inputs": [
        {
          "link": null,
          "localized_name": "file",
          "name": "file",
          "type": "COMBO",
          "widget": {
            "name": "file"
          }
        },
        {
          "link": null,
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            554
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -2040,
        1480
      ],
      "properties": {
        "Node name for S&R": "LoadVideo"
      },
      "size": [
        270,
        590
      ],
      "title": "INPUT VIDEO",
      "type": "LoadVideo",
      "widgets_values": [
        "97528b37a516964dc2c1b9843ce2e0e049bcbddfdeefe985dfe8b2c197b18679.mp4",
        "image"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 410,
      "inputs": [
        {
          "link": 553,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            550
          ],
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "audio",
          "name": "audio",
          "type": "AUDIO"
        },
        {
          "links": [
            551,
            552
          ],
          "localized_name": "fps",
          "name": "fps",
          "type": "FLOAT"
        }
      ],
      "pos": [
        -1750,
        1170
      ],
      "properties": {
        "Node name for S&R": "GetVideoComponents"
      },
      "size": [
        225,
        8
      ],
      "type": "GetVideoComponents",
      "widgets_values": []
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 413,
      "inputs": [
        {
          "link": 554,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "start_time",
          "name": "start_time",
          "type": "FLOAT",
          "widget": {
            "name": "start_time"
          }
        },
        {
          "link": null,
          "localized_name": "duration",
          "name": "duration",
          "type": "FLOAT",
          "widget": {
            "name": "duration"
          }
        },
        {
          "link": null,
          "localized_name": "strict_duration",
          "name": "strict_duration",
          "type": "BOOLEAN",
          "widget": {
            "name": "strict_duration"
          }
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            553
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        -2040,
        1300
      ],
      "properties": {
        "Node name for S&R": "Video Slice"
      },
      "size": [
        270,
        140
      ],
      "title": "TRIM VIDEO",
      "type": "Video Slice",
      "widgets_values": [
        0.5,
        0.5,
        false
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 414,
      "inputs": [
        {
          "link": 573,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "bg_removal_name",
          "type": "COMBO",
          "widget": {
            "name": "bg_removal_name"
          }
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            556
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [],
          "name": "mask",
          "type": "MASK"
        }
      ],
      "pos": [
        -1750,
        1420
      ],
      "properties": {
        "proxyWidgets": [
          [
            "14",
            "bg_removal_name"
          ]
        ]
      },
      "size": [
        270,
        140
      ],
      "type": "9b3e081c-daf7-47d9-9080-5415be5215d3",
      "widgets_values": []
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 422,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [],
      "pos": [
        -1460,
        870
      ],
      "properties": {},
      "size": [
        610,
        270
      ],
      "title": "Quick Intro",
      "type": "MarkdownNote",
      "widgets_values": [
        "**METHOD 1 - IMAGE BASED**\n<br> Use a style reference image and directly input it into GPT Image. The output is more faithful to the style transfer.\n\n**METHOD 2 - VLM BASED**\n<br> Use a vision language model to describe the style of the reference image and purely prompt the style transfer. The output is more closely aligned to the input video's outline and composition.\n\n<br> Experiment with each method, and pick one based on the aesthetic preference and how closely the style reference is matched"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 423,
      "inputs": [
        {
          "link": 574,
          "localized_name": "input",
          "name": "input",
          "type": "IMAGE,MASK"
        },
        {
          "link": null,
          "localized_name": "resize_type",
          "name": "resize_type",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "resize_type"
          }
        },
        {
          "link": null,
          "localized_name": "resize_type.multiple",
          "name": "resize_type.multiple",
          "type": "INT",
          "widget": {
            "name": "resize_type.multiple"
          }
        },
        {
          "link": null,
          "localized_name": "scale_method",
          "name": "scale_method",
          "type": "COMBO",
          "widget": {
            "name": "scale_method"
          }
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            572,
            573
          ],
          "localized_name": "resized",
          "name": "resized",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -1750,
        1270
      ],
      "properties": {
        "Node name for S&R": "ResizeImageMaskNode"
      },
      "size": [
        225,
        8
      ],
      "type": "ResizeImageMaskNode",
      "widgets_values": [
        "scale to multiple",
        16,
        "lanczos"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}