{
  "id": "247ea069-731d-4b79-9d64-8807463de95c",
  "revision": 0,
  "last_node_id": 337,
  "last_link_id": 496,
  "nodes": [
    {
      "id": 47,
      "type": "LoadVideo",
      "pos": [
        2220,
        4330
      ],
      "size": [
        480,
        849.984375
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            288
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.24.0",
        "Node name for S&R": "LoadVideo",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "vintage_field_style_look.mp4",
        "image"
      ]
    },
    {
      "id": 46,
      "type": "SaveVideo",
      "pos": [
        3630,
        4340
      ],
      "size": [
        390,
        859.96875
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 464
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.24.0",
        "Node name for S&R": "SaveVideo",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "video/Bernini_r",
        "auto",
        "auto"
      ]
    },
    {
      "id": 78,
      "type": "MarkdownNote",
      "pos": [
        1380,
        4330
      ],
      "size": [
        759.984375,
        2629.96875
      ],
      "flags": {
        "collapsed": false
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Bernini-R Video Editing Guide",
      "properties": {},
      "widgets_values": [
        "## Bernini-R · Video Editing Workflow\n\n**Official repos**\n- Inference & task docs: [bytedance/Bernini](https://github.com/bytedance/Bernini)\n- Bernini-R weights (ComfyUI): [Comfy-Org/Bernini-R](https://huggingface.co/Comfy-Org/Bernini-R)\n- Paper: [Bernini: Latent Semantic Planning for Video Diffusion](https://arxiv.org/abs/2605.22344)\n\n---\n\n### What is this workflow?\n\nBuilt for **Bernini-R video editing** in ComfyUI: **source video** + optional **reference image(s)** / **reference video** → pick **task type** → write prompt → run.\n\nBernini-R is ByteDance's **renderer-only** Wan 2.2 model (in-context conditioning). It does **not** include the full Bernini MLLM planner. For official-quality long prompts, see `--use_pe` in the [Bernini repo](https://github.com/bytedance/Bernini).\n\n| Task | What to connect |\n|------|-----------------|\n| Text to Video | No media |\n| Video Editing (`v2v`, `mv2v`) | `source_video` only |\n| Reference to Video (`r2v`) | `reference_image(s)` only |\n| **Video Editing with Reference (`rv2v`)** | `source_video` + `reference_image(s)` — **outfit / look swap** |\n| Ads / Content Insertion (`ads2v`) | `source_video` + `reference_video` |\n\n**Prompt format:** `{system prompt from task type}` + `{your English description}` via **Prompt Construction**.\n\n---\n\n### Inputs: source video, reference images, reference video\n\n**`source_video` (required for most edits)**\n- The clip to edit (canvas). Loaded via **Load Video** → subgraph `source_video`.\n- Resized to **`width × height`** and trimmed to **`length`** frames.\n- Match output size to your clip (e.g. portrait **832 × 1104**, landscape **848 × 480**). Both dimensions should be **multiples of 16**.\n\n**`reference_image(s)` (optional — group: Reference Image input)**\n- Used for **`rv2v`** (edit guided by refs), **`r2v`** (refs only), or multi-item outfits.\n- Each image is encoded as a **separate in-context stream**; long edge capped by **`ref_max_size`** (default **848**), **aspect ratio preserved**.\n- **How to wire:** put one or more **Load Image** nodes into **Batch Images** (`image0`, `image1`, …) → connect **Batch Images → IMAGE** to the subgraph input **`reference_image`**.\n- **Multi-image tips:** e.g. flat-lay coat + pants + boots on separate Load Image slots; in prompt use **image0, image1, …** (order = batch / slot order). Official training supports ~**5** reference streams reliably; the node allows up to **8** slots inside the graph.\n- **Not** resized to full canvas — only long-edge limited (unlike `source_video`).\n\n**`reference_video` (optional)**\n- Used for **`ads2v`** — content to **insert into** the source scene (moving clip, screen content, etc.).\n- Connect a **second video** (often **Load Video → Get Video Components → images**) to subgraph **`reference_video`**, or feed frame sequence as IMAGE.\n- Same **`ref_max_size`** / aspect rules as reference images; trimmed to **`length`** frames.\n- Prompt can be short: *Add the video on the computer.*\n\nLeave unused inputs **disconnected** for tasks that do not need them.\n\n---\n\n### Turbo mode (`enable_turbo_mode`)\n\n**Turbo = fast preview / iteration**, not the official Bernini-R sampling recipe.\n\n| | **Turbo ON** (default) | **Turbo OFF** (Original settings) |\n|--|------------------------|-----------------------------------|\n| **LightX2V distill LoRA** | ON (high noise **3.0**, low noise **1.5**) | OFF (pure Bernini-R weights) |\n| **Total steps** | **6** | **40** (official default) |\n| **High / low split** | **3** / **3** | **20** / **20** |\n| **CFG** | **1** | **5** |\n\nTurbo is much **faster** and lighter on VRAM, but **quality and edit fidelity** are usually below official **40-step** inference (which also uses APG guidance in Python — not fully replicated here). Use Turbo to test prompts and wiring; turn **Turbo OFF** for final exports or difficult edits (outfit swap, fine detail).\n\nToggle **`enable_turbo_mode`** on the main subgraph widget (or **Boolean Enable Turbo LoRA?** inside the graph).\n\nOfficial defaults reference: [gradio_demo.py](https://github.com/bytedance/Bernini/blob/main/gradio_demo.py)\n\n---\n\n### Recommended resolution & length\n\n| Setting | Recommended |\n|---------|-------------|\n| **width × height** | **848 × 480** or **832 × 480** (landscape); match source aspect for portrait |\n| **ref_max_size** | **848** (raise to **1280** for 720p experiments) |\n| **length** | **81** frames @ 16 fps; must be **4n+1** |\n\nNegative prompt: Wan 2.2 **Chinese default** in `bernini/cli.py`.\n\n---\n\n### Task types & prompt examples\n\nEdits: **what to change** + **what stays unchanged**.\n\n- **`rv2v` (outfit swap):** *Remove the hat. Replace the person's clothing with the full outfit from the reference image … Keep pose, framing, lighting, background, and motion unchanged.*\n- **`v2v`:** *Add a snowman on the right … Keep the dog, road, and scene unchanged.*\n- **`mv2v`:** *Change the person's motion to crouch … preserving framing and background.*\n- **`ads2v`:** *Add the video on the computer.*\n- **`r2v`:** *The subject from image0 wearing items from image1 and image2 …*\n\nMore: [assets/testcases/](https://github.com/bytedance/Bernini/tree/main/assets/testcases/)\n\n---\n\n### Capability notes\n\n**Strengths:** video edit, reference-guided edit, outfit swap (`rv2v`), content insertion (`ads2v`), reference-to-video (`r2v`).\n\n**Limits:** no Bernini planner; Turbo ≠ official 40-step APG; long / 720p needs more VRAM; flat-lay outfit refs are harder than on-person reference photos.\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 79,
      "type": "MarkdownNote",
      "pos": [
        720,
        4330
      ],
      "size": [
        609.984375,
        1039.96875
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Model Links",
      "properties": {},
      "widgets_values": [
        "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged)\n- [ModelScope:Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://modelscope.cn/models/Comfy-Org/Wan_2.1_ComfyUI_repackaged)\n- [Hugging Face:Comfy-Org/Bernini-R](https://huggingface.co/Comfy-Org/Bernini-R)\n- [ModelScope:Comfy-Org/Bernini-R](https://modelscope.cn/models/Comfy-Org/Bernini-R)\n\n**text_encoders**\n\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true) (6.27 GB)\n\n**vae**\n\n- [Wan2_1_VAE_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1_VAE_bf16.safetensors?download=true) (242 MB)\n\n**loras**\n\n- [lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors?download=true) (601.5 MB)\n\n**diffusion_models**\n\n- [wan2.2_bernini_r_high_noise_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_high_noise_fp8_scaled.safetensors) (14.51 GB)\n- [wan2.2_bernini_r_low_noise_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_low_noise_fp8_scaled.safetensors) (14.51 GB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 text_encoders/\n│   │   └── umt5_xxl_fp8_e4m3fn_scaled.safetensors\n│   ├── 📂 vae/\n│   │   └── Wan2_1_VAE_bf16.safetensors\n│   ├── 📂 loras/\n│   │   └── lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors\n│   └── 📂 diffusion_models/\n│       ├── wan2.2_bernini_r_high_noise_fp8_scaled.safetensors\n│       └── wan2.2_bernini_r_low_noise_fp8_scaled.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 100,
      "type": "BatchImagesNode",
      "pos": [
        2670,
        5380
      ],
      "size": [
        229.96875,
        99.984375
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "label": "image0",
          "name": "images.image0",
          "type": "IMAGE",
          "link": 287
        },
        {
          "label": "image1",
          "name": "images.image1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.24.0",
        "Node name for S&R": "BatchImagesNode"
      },
      "widgets_values": []
    },
    {
      "id": 101,
      "type": "MarkdownNote",
      "pos": [
        2670,
        5530
      ],
      "size": [
        420,
        379.96875
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Reference Image input",
      "properties": {},
      "widgets_values": [
        "### Reference Image input (multi-image)\n\nUse this group when a task needs **one or more reference images** (`rv2v`, `r2v`, multi-piece outfits).\n\n1. **Load Image** — one node per reference (coat, pants, full outfit, face, etc.).\n2. **Batch Images** — connect each load to `image0`, `image1`, … (add slots as needed).\n3. **Subgraph** — connect **Batch Images → IMAGE** to **`reference_image`**.\n\nEach batched image becomes its own in-context token. Mention **`image0`, `image1`, …** in the user prompt if refs play different roles."
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 104,
      "type": "LoadImage",
      "pos": [
        2250,
        5380
      ],
      "size": [
        289.96875,
        379.96875
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            287
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.24.0",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "example.png",
        "image"
      ]
    },
    {
      "id": 109,
      "type": "Video Slice",
      "pos": [
        2770,
        4330
      ],
      "size": [
        270,
        169.96875
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 288
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            289,
            463
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.24.0",
        "Node name for S&R": "Video Slice"
      },
      "widgets_values": [
        0,
        5,
        false
      ]
    },
    {
      "id": 110,
      "type": "GetVideoComponents",
      "pos": [
        2770,
        4550
      ],
      "size": [
        225,
        7.1875
      ],
      "flags": {
        "collapsed": true
      },
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 289
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            291
          ]
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": null
        },
        {
          "name": "fps",
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "bit_depth",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.24.0",
        "Node name for S&R": "GetVideoComponents"
      },
      "widgets_values": []
    },
    {
      "id": 111,
      "type": "GetImageSize",
      "pos": [
        2770,
        4620
      ],
      "size": [
        270,
        189.984375
      ],
      "flags": {
        "collapsed": false
      },
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 291
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": [
            293,
            496
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.24.0",
        "Node name for S&R": "GetImageSize"
      },
      "widgets_values": []
    },
    {
      "id": 112,
      "type": "PreviewAny",
      "pos": [
        2760,
        4870
      ],
      "size": [
        300,
        180
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 293
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Preview as Text (Frame Count)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.24.0",
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "id": 298,
      "type": "69c3c422-bcfe-4955-bc23-8bac307287a8",
      "pos": [
        3100,
        4340
      ],
      "size": [
        480,
        739.96875
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "label": "source_video",
          "name": "video",
          "type": "VIDEO",
          "link": 463
        },
        {
          "name": "reference_video",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "label": "reference_images",
          "name": "reference_images.reference_image_0",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "label": "task_type",
          "name": "choice",
          "type": "COMBO",
          "widget": {
            "name": "choice"
          },
          "link": null
        },
        {
          "label": "noise_seed",
          "name": "noise_seed",
          "type": "INT",
          "widget": {
            "name": "noise_seed"
          },
          "link": null
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 496
        },
        {
          "label": "turbo_mode",
          "name": "value_1",
          "type": "BOOLEAN",
          "widget": {
            "name": "value_1"
          },
          "link": null
        },
        {
          "label": "high_noise_model",
          "name": "unet_name",
          "type": "COMBO",
          "widget": {
            "name": "unet_name"
          },
          "link": null
        },
        {
          "label": "low_noise_model",
          "name": "unet_name_1",
          "type": "COMBO",
          "widget": {
            "name": "unet_name_1"
          },
          "link": null
        },
        {
          "label": "distill_lora",
          "name": "lora_name",
          "type": "COMBO",
          "widget": {
            "name": "lora_name"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            464
          ]
        }
      ],
      "title": "Video Edit (Bernini-R)",
      "properties": {
        "proxyWidgets": [
          [
            "297",
            "value"
          ],
          [
            "282",
            "choice"
          ],
          [
            "278",
            "width"
          ],
          [
            "278",
            "height"
          ],
          [
            "275",
            "noise_seed"
          ],
          [
            "278",
            "length"
          ],
          [
            "278",
            "ref_max_size"
          ],
          [
            "294",
            "value"
          ],
          [
            "270",
            "unet_name"
          ],
          [
            "272",
            "unet_name"
          ],
          [
            "271",
            "lora_name"
          ],
          [
            "264",
            "clip_name"
          ],
          [
            "265",
            "vae_name"
          ]
        ],
        "cnr_id": "comfy-core",
        "ver": "0.24.0"
      },
      "widgets_values": []
    }
  ],
  "links": [
    [
      287,
      104,
      0,
      100,
      0,
      "IMAGE"
    ],
    [
      288,
      47,
      0,
      109,
      0,
      "VIDEO"
    ],
    [
      289,
      109,
      0,
      110,
      0,
      "VIDEO"
    ],
    [
      291,
      110,
      0,
      111,
      0,
      "IMAGE"
    ],
    [
      293,
      111,
      2,
      112,
      0,
      "INT"
    ],
    [
      463,
      109,
      0,
      298,
      0,
      "VIDEO"
    ],
    [
      464,
      298,
      0,
      46,
      0,
      "VIDEO"
    ],
    [
      496,
      111,
      2,
      298,
      5,
      "INT"
    ]
  ],
  "groups": [
    {
      "id": 9,
      "title": "Reference Image input",
      "bounding": [
        2230,
        5300,
        880,
        630
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "definitions": {
    "subgraphs": [
      {
        "id": "c39e0ea5-b767-460c-b394-b09703772fa6",
        "version": 1,
        "state": {
          "lastGroupId": 9,
          "lastNodeId": 337,
          "lastLinkId": 496,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Select Per-Line Text by Index",
        "description": "Selects one line from multiline text by zero-based index for batch or list-driven prompt workflows.",
        "inputNode": {
          "id": -10,
          "bounding": [
            -990,
            8595,
            128,
            88
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            710,
            8585,
            128,
            68
          ]
        },
        "inputs": [
          {
            "id": "75417d82-a934-4ac9-b667-d8dcd5a3bfb3",
            "name": "text_per_line",
            "type": "STRING",
            "linkIds": [
              13
            ],
            "localized_name": "text_per_line",
            "pos": [
              -886,
              8619
            ]
          },
          {
            "id": "46e69a73-1804-4ca6-9175-31445bf0be96",
            "name": "index",
            "type": "INT",
            "linkIds": [
              14
            ],
            "localized_name": "index",
            "pos": [
              -886,
              8639
            ]
          }
        ],
        "outputs": [
          {
            "id": "e34e8ad1-84d2-4bd2-a460-eb7de6067c10",
            "name": "selected_line",
            "type": "STRING",
            "linkIds": [
              10
            ],
            "localized_name": "selected_line",
            "pos": [
              734,
              8609
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 1,
            "type": "PreviewAny",
            "pos": [
              -500,
              8400
            ],
            "size": [
              230,
              180
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "source",
                "name": "source",
                "type": "*",
                "link": 1
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  6
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.19.0",
              "Node name for S&R": "PreviewAny",
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "id": 2,
            "type": "RegexExtract",
            "pos": [
              -240,
              8740
            ],
            "size": [
              470,
              460
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "showAdvanced": false,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 13
              },
              {
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                },
                "link": 9
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  10
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.19.0",
              "Node name for S&R": "RegexExtract",
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "You are a helpful assistant.\nYou are a helpful assistant specialized in text-to-image generation.\nYou are a helpful assistant specialized in text-to-video generation.\nYou are a helpful assistant specialized in image editing.\nYou are a helpful assistant specialized in subject-to-image generation.\nYou are a helpful assistant specialized in image-to-video generation.\nYou are a helpful assistant specialized in video editing.\nYou are a helpful assistant specialized in video editing on content propagation.\nYou are a helpful assistant specialized in video editing with reference.\nYou are a helpful assistant specialized in ads insertion.\nYou are a helpful assistant for editing. You may need to adjust the subject's action or position.\nYou are a helpful assistant for editing. You might need to adjust the video's style, lighting, colors, textures, and the subject's pose or action.",
              "",
              "First Group",
              false,
              false,
              false,
              1
            ]
          },
          {
            "id": 56,
            "type": "PrimitiveInt",
            "pos": [
              -810,
              8400
            ],
            "size": [
              270,
              110
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                },
                "link": 14
              }
            ],
            "outputs": [
              {
                "localized_name": "INT",
                "name": "INT",
                "type": "INT",
                "links": [
                  1
                ]
              }
            ],
            "title": "Int (line index)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.19.0",
              "Node name for S&R": "Int (line index)",
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              0,
              "fixed"
            ]
          },
          {
            "id": 8,
            "type": "StringReplace",
            "pos": [
              -240,
              8400
            ],
            "size": [
              400,
              280
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                },
                "link": 6
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  9
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.19.0",
              "Node name for S&R": "StringReplace",
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "^(?:[^\\n]*\\n){index}([^\\n]*)(?:\\n|$)",
              "index",
              ""
            ]
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 1,
            "origin_id": 56,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 9,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 2,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 10,
            "origin_id": 2,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 2,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 14,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 56,
            "target_slot": 0,
            "type": "INT"
          }
        ],
        "extra": {
          "ue_links": [],
          "links_added_by_ue": []
        }
      },
      {
        "id": "69c3c422-bcfe-4955-bc23-8bac307287a8",
        "version": 1,
        "state": {
          "lastGroupId": 9,
          "lastNodeId": 337,
          "lastLinkId": 496,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Video Edit (Bernini-R)",
        "inputNode": {
          "id": -10,
          "bounding": [
            5240,
            5360,
            149.689453125,
            368
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            10004.984375,
            5000.9921875,
            128,
            68
          ]
        },
        "inputs": [
          {
            "id": "15c3bfa3-6844-473a-a927-a50284131356",
            "name": "video",
            "type": "VIDEO",
            "linkIds": [
              457
            ],
            "localized_name": "video",
            "label": "source_video",
            "pos": [
              5365.689453125,
              5384
            ]
          },
          {
            "id": "c02ac440-58ae-4415-bb24-dabb61b91f69",
            "name": "reference_video",
            "type": "IMAGE",
            "linkIds": [
              465
            ],
            "pos": [
              5365.689453125,
              5404
            ]
          },
          {
            "id": "c46d38f5-b0e8-4620-bd0e-4e86db7bdb1b",
            "name": "reference_images.reference_image_0",
            "type": "IMAGE",
            "linkIds": [
              466
            ],
            "label": "reference_images",
            "pos": [
              5365.689453125,
              5424
            ]
          },
          {
            "id": "565fc711-6052-4c07-b638-403e01fcf7f8",
            "name": "value",
            "type": "STRING",
            "linkIds": [
              467
            ],
            "pos": [
              5365.689453125,
              5444
            ]
          },
          {
            "id": "bfcd6148-0bae-43b1-9440-a133fbc2663c",
            "name": "choice",
            "type": "COMBO",
            "linkIds": [
              468
            ],
            "label": "task_type",
            "pos": [
              5365.689453125,
              5464
            ]
          },
          {
            "id": "28fedb03-828c-49d9-91ec-d3669a10c3b9",
            "name": "width",
            "type": "INT",
            "linkIds": [
              469
            ],
            "pos": [
              5365.689453125,
              5484
            ]
          },
          {
            "id": "69994b05-577e-486f-bd10-3360261d7bb8",
            "name": "height",
            "type": "INT",
            "linkIds": [
              470
            ],
            "pos": [
              5365.689453125,
              5504
            ]
          },
          {
            "id": "db300c09-5b92-41ad-990b-9dd8dad35f86",
            "name": "noise_seed",
            "type": "INT",
            "linkIds": [
              480
            ],
            "label": "noise_seed",
            "pos": [
              5365.689453125,
              5524
            ]
          },
          {
            "id": "db664a31-39e5-4d6a-a5f1-3abac65b35d1",
            "name": "length",
            "type": "INT",
            "linkIds": [
              481
            ],
            "pos": [
              5365.689453125,
              5544
            ]
          },
          {
            "id": "26aa0c9e-9daa-4302-ab5c-5ac9141b9e20",
            "name": "ref_max_size",
            "type": "INT",
            "linkIds": [
              482
            ],
            "pos": [
              5365.689453125,
              5564
            ]
          },
          {
            "id": "ee527a92-8cc9-4b16-9858-9daab9ef2c45",
            "name": "value_1",
            "type": "BOOLEAN",
            "linkIds": [
              488
            ],
            "label": "turbo_mode",
            "pos": [
              5365.689453125,
              5584
            ]
          },
          {
            "id": "8a6c9f3d-e24e-4d40-9c03-864bd4458376",
            "name": "unet_name",
            "type": "COMBO",
            "linkIds": [
              489
            ],
            "label": "high_noise_model",
            "pos": [
              5365.689453125,
              5604
            ]
          },
          {
            "id": "f35afd1c-c183-4d18-8672-314527728e9b",
            "name": "unet_name_1",
            "type": "COMBO",
            "linkIds": [
              490
            ],
            "label": "low_noise_model",
            "pos": [
              5365.689453125,
              5624
            ]
          },
          {
            "id": "fff89f1d-615c-436e-b28a-3b7f915d0b05",
            "name": "lora_name",
            "type": "COMBO",
            "linkIds": [
              491,
              492
            ],
            "label": "distill_lora",
            "pos": [
              5365.689453125,
              5644
            ]
          },
          {
            "id": "d76ff30d-c865-49b4-bccb-fb6e0a9b4f34",
            "name": "clip_name",
            "type": "COMBO",
            "linkIds": [
              493
            ],
            "pos": [
              5365.689453125,
              5664
            ]
          },
          {
            "id": "0850a515-4051-4de3-9343-7db929548ada",
            "name": "vae_name",
            "type": "COMBO",
            "linkIds": [
              494
            ],
            "pos": [
              5365.689453125,
              5684
            ]
          }
        ],
        "outputs": [
          {
            "id": "7d994238-c919-43c6-9d97-340c9e383743",
            "name": "VIDEO",
            "type": "VIDEO",
            "linkIds": [
              458
            ],
            "localized_name": "VIDEO",
            "pos": [
              10028.984375,
              5024.9921875
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 264,
            "type": "CLIPLoader",
            "pos": [
              6170,
              5760
            ],
            "size": [
              669.984375,
              169.984375
            ],
            "flags": {},
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                },
                "link": 493
              }
            ],
            "outputs": [
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "links": [
                  409,
                  438
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "CLIPLoader",
              "models": [
                {
                  "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true",
                  "directory": "text_encoders"
                }
              ],
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
              "wan",
              "default"
            ]
          },
          {
            "id": 265,
            "type": "VAELoader",
            "pos": [
              6170,
              5990
            ],
            "size": [
              669.984375,
              109.984375
            ],
            "flags": {},
            "order": 9,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                },
                "link": 494
              }
            ],
            "outputs": [
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "links": [
                  414,
                  436
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "VAELoader",
              "models": [
                {
                  "name": "Wan2_1_VAE_bf16.safetensors",
                  "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1_VAE_bf16.safetensors?download=true",
                  "directory": "vae"
                }
              ],
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "Wan2_1_VAE_bf16.safetensors"
            ]
          },
          {
            "id": 266,
            "type": "LoraLoaderModelOnly",
            "pos": [
              6180,
              5550
            ],
            "size": [
              669.984375,
              169.984375
            ],
            "flags": {},
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 408
              },
              {
                "localized_name": "lora_name",
                "name": "lora_name",
                "type": "COMBO",
                "widget": {
                  "name": "lora_name"
                },
                "link": 492
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  441
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "LoraLoaderModelOnly",
              "models": [
                {
                  "name": "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
                  "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors?download=true",
                  "directory": "loras"
                }
              ],
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
              1.5
            ],
            "color": "#332922",
            "bgcolor": "#593930"
          },
          {
            "id": 267,
            "type": "CLIPTextEncode",
            "pos": [
              6950,
              5400
            ],
            "size": [
              699.984375,
              240
            ],
            "flags": {},
            "order": 11,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 409
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  435
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "CLIPTextEncode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走"
            ],
            "color": "#223",
            "bgcolor": "#335"
          },
          {
            "id": 268,
            "type": "SplitSigmas",
            "pos": [
              8520,
              5180
            ],
            "size": [
              270,
              129.984375
            ],
            "flags": {},
            "order": 12,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "SIGMAS",
                "link": 410
              },
              {
                "localized_name": "step",
                "name": "step",
                "type": "INT",
                "widget": {
                  "name": "step"
                },
                "link": 411
              }
            ],
            "outputs": [
              {
                "localized_name": "high_sigmas",
                "name": "high_sigmas",
                "type": "SIGMAS",
                "links": [
                  422
                ]
              },
              {
                "localized_name": "low_sigmas",
                "name": "low_sigmas",
                "type": "SIGMAS",
                "links": [
                  431
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "SplitSigmas",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              3
            ]
          },
          {
            "id": 269,
            "type": "KSamplerSelect",
            "pos": [
              8520,
              5370
            ],
            "size": [
              270,
              109.984375
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "SAMPLER",
                "name": "SAMPLER",
                "type": "SAMPLER",
                "links": [
                  421,
                  430
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "KSamplerSelect",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "res_multistep"
            ]
          },
          {
            "id": 270,
            "type": "UNETLoader",
            "pos": [
              6170,
              4930
            ],
            "size": [
              669.984375,
              139.984375
            ],
            "flags": {},
            "order": 13,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                },
                "link": 489
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  412,
                  454
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "UNETLoader",
              "models": [
                {
                  "name": "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
                  "directory": "diffusion_models"
                }
              ],
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
              "default"
            ]
          },
          {
            "id": 271,
            "type": "LoraLoaderModelOnly",
            "pos": [
              6170,
              5120
            ],
            "size": [
              669.984375,
              169.984375
            ],
            "flags": {},
            "order": 14,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 412
              },
              {
                "localized_name": "lora_name",
                "name": "lora_name",
                "type": "COMBO",
                "widget": {
                  "name": "lora_name"
                },
                "link": 491
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  455
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "LoraLoaderModelOnly",
              "models": [
                {
                  "name": "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
                  "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors?download=true",
                  "directory": "loras"
                }
              ],
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
              3
            ],
            "color": "#332922",
            "bgcolor": "#593930"
          },
          {
            "id": 272,
            "type": "UNETLoader",
            "pos": [
              6170,
              5350
            ],
            "size": [
              669.984375,
              139.984375
            ],
            "flags": {},
            "order": 15,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                },
                "link": 490
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  408,
                  425,
                  440
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "UNETLoader",
              "models": [
                {
                  "name": "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
                  "directory": "diffusion_models"
                }
              ],
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
              "default"
            ]
          },
          {
            "id": 273,
            "type": "VAEDecode",
            "pos": [
              9690,
              4950
            ],
            "size": [
              249.984375,
              99.984375
            ],
            "flags": {},
            "order": 16,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 413
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 414
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  415
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "VAEDecode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 274,
            "type": "CreateVideo",
            "pos": [
              9690,
              5120
            ],
            "size": [
              259.984375,
              159.984375
            ],
            "flags": {},
            "order": 17,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "link": 415
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO",
                "link": 416
              },
              {
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT",
                "widget": {
                  "name": "fps"
                },
                "link": 417
              }
            ],
            "outputs": [
              {
                "localized_name": "VIDEO",
                "name": "VIDEO",
                "type": "VIDEO",
                "links": [
                  458
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "CreateVideo",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              24,
              8
            ]
          },
          {
            "id": 275,
            "type": "SamplerCustom",
            "pos": [
              8860,
              4960
            ],
            "size": [
              279.984375,
              679.984375
            ],
            "flags": {},
            "order": 18,
            "mode": 0,
            "showAdvanced": false,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 418
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 419
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 420
              },
              {
                "localized_name": "sampler",
                "name": "sampler",
                "type": "SAMPLER",
                "link": 421
              },
              {
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "SIGMAS",
                "link": 422
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 423
              },
              {
                "localized_name": "noise_seed",
                "name": "noise_seed",
                "type": "INT",
                "widget": {
                  "name": "noise_seed"
                },
                "link": 480
              },
              {
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                },
                "link": 424
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "LATENT",
                "links": [
                  432
                ]
              },
              {
                "localized_name": "denoised_output",
                "name": "denoised_output",
                "type": "LATENT",
                "links": []
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "SamplerCustom",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              true,
              852303761886160,
              "randomize",
              1
            ]
          },
          {
            "id": 276,
            "type": "BasicScheduler",
            "pos": [
              8520,
              4960
            ],
            "size": [
              270,
              169.984375
            ],
            "flags": {},
            "order": 19,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 425
              },
              {
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                },
                "link": 426
              }
            ],
            "outputs": [
              {
                "localized_name": "SIGMAS",
                "name": "SIGMAS",
                "type": "SIGMAS",
                "links": [
                  410
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "BasicScheduler",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "simple",
              6,
              1
            ]
          },
          {
            "id": 277,
            "type": "SamplerCustom",
            "pos": [
              9190,
              4950
            ],
            "size": [
              279.984375,
              679.984375
            ],
            "flags": {},
            "order": 20,
            "mode": 0,
            "showAdvanced": false,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 427
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 428
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 429
              },
              {
                "localized_name": "sampler",
                "name": "sampler",
                "type": "SAMPLER",
                "link": 430
              },
              {
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "SIGMAS",
                "link": 431
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 432
              },
              {
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                },
                "link": 433
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "LATENT",
                "links": [
                  413
                ]
              },
              {
                "localized_name": "denoised_output",
                "name": "denoised_output",
                "type": "LATENT",
                "links": []
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "SamplerCustom",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              false,
              0,
              "fixed",
              1
            ]
          },
          {
            "id": 278,
            "type": "BerniniConditioning",
            "pos": [
              7160,
              5720
            ],
            "size": [
              309.984375,
              379.984375
            ],
            "flags": {},
            "order": 21,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 434
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 435
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 436
              },
              {
                "localized_name": "source_video",
                "name": "source_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 437
              },
              {
                "localized_name": "reference_video",
                "name": "reference_video",
                "shape": 7,
                "type": "IMAGE",
                "link": 465
              },
              {
                "label": "reference_image_0",
                "localized_name": "reference_images.reference_image_0",
                "name": "reference_images.reference_image_0",
                "shape": 7,
                "type": "IMAGE",
                "link": 466
              },
              {
                "label": "reference_image_1",
                "localized_name": "reference_images.reference_image_1",
                "name": "reference_images.reference_image_1",
                "shape": 7,
                "type": "IMAGE",
                "link": null
              },
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                },
                "link": 469
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                },
                "link": 470
              },
              {
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                },
                "link": 481
              },
              {
                "localized_name": "ref_max_size",
                "name": "ref_max_size",
                "shape": 7,
                "type": "INT",
                "widget": {
                  "name": "ref_max_size"
                },
                "link": 482
              }
            ],
            "outputs": [
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "links": [
                  419,
                  428
                ]
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "links": [
                  420,
                  429
                ]
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "type": "LATENT",
                "links": [
                  423
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "BerniniConditioning",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              480,
              832,
              81,
              1,
              848
            ],
            "color": "#322",
            "bgcolor": "#533"
          },
          {
            "id": 279,
            "type": "GetVideoComponents",
            "pos": [
              6170,
              6220
            ],
            "size": [
              229.984375,
              150
            ],
            "flags": {},
            "order": 22,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "video",
                "name": "video",
                "type": "VIDEO",
                "link": 457
              }
            ],
            "outputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "links": [
                  437
                ]
              },
              {
                "localized_name": "audio",
                "name": "audio",
                "type": "AUDIO",
                "links": [
                  416
                ]
              },
              {
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT",
                "links": [
                  417
                ]
              },
              {
                "localized_name": "bit_depth",
                "name": "bit_depth",
                "type": "INT",
                "links": []
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "GetVideoComponents",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 280,
            "type": "CLIPTextEncode",
            "pos": [
              6950,
              4940
            ],
            "size": [
              709.984375,
              390
            ],
            "flags": {},
            "order": 23,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 438
              },
              {
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                },
                "link": 439
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  434
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "CLIPTextEncode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              ""
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 281,
            "type": "ComfySwitchNode",
            "pos": [
              8140,
              5250
            ],
            "size": [
              270,
              129.984375
            ],
            "flags": {},
            "order": 24,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "on_false",
                "name": "on_false",
                "type": "MODEL",
                "link": 440
              },
              {
                "localized_name": "on_true",
                "name": "on_true",
                "type": "MODEL",
                "link": 441
              },
              {
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                },
                "link": 442
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "MODEL",
                "links": [
                  427
                ]
              }
            ],
            "title": "Switch (Low Noise)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "ComfySwitchNode"
            },
            "widgets_values": [
              false
            ]
          },
          {
            "id": 282,
            "type": "CustomCombo",
            "pos": [
              6170,
              3800
            ],
            "size": [
              459.984375,
              600
            ],
            "flags": {},
            "order": 25,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "choice",
                "name": "choice",
                "type": "COMBO",
                "widget": {
                  "name": "choice"
                },
                "link": 468
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": []
              },
              {
                "localized_name": "INDEX",
                "name": "INDEX",
                "type": "INT",
                "links": [
                  443
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "CustomCombo"
            },
            "widgets_values": [
              "Video Editing (Content Propagation)",
              7,
              "Default",
              "Text to Image",
              "Text to Video",
              "Image Editing",
              "Subject to Image",
              "Image to Video",
              "Video Editing",
              "Video Editing (Content Propagation)",
              "Video Editing with Reference",
              "Ads / Content Insertion",
              "Video Editing (Action / Position)",
              "Video Editing (Style / Motion)",
              ""
            ]
          },
          {
            "id": 283,
            "type": "c39e0ea5-b767-460c-b394-b09703772fa6",
            "pos": [
              6680,
              3800
            ],
            "size": [
              390,
              439.984375
            ],
            "flags": {},
            "order": 26,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "index",
                "name": "index",
                "type": "INT",
                "widget": {
                  "name": "index"
                },
                "link": 443
              }
            ],
            "outputs": [
              {
                "localized_name": "selected_line",
                "name": "selected_line",
                "type": "STRING",
                "links": [
                  444
                ]
              }
            ],
            "properties": {
              "proxyWidgets": [
                [
                  "2",
                  "string"
                ],
                [
                  "56",
                  "value"
                ]
              ],
              "cnr_id": "comfy-core",
              "ver": "0.19.0",
              "ue_properties": {
                "widget_ue_connectable": {},
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": []
          },
          {
            "id": 284,
            "type": "StringConcatenate",
            "pos": [
              6680,
              4500
            ],
            "size": [
              399.984375,
              249.984375
            ],
            "flags": {},
            "order": 27,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string_a",
                "name": "string_a",
                "type": "STRING",
                "widget": {
                  "name": "string_a"
                },
                "link": 444
              },
              {
                "localized_name": "string_b",
                "name": "string_b",
                "type": "STRING",
                "widget": {
                  "name": "string_b"
                },
                "link": 459
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  439
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "StringConcatenate"
            },
            "widgets_values": [
              "",
              "",
              ""
            ]
          },
          {
            "id": 285,
            "type": "PrimitiveInt",
            "pos": [
              7740,
              4970
            ],
            "size": [
              270,
              109.984375
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "INT",
                "name": "INT",
                "type": "INT",
                "links": [
                  445
                ]
              }
            ],
            "title": "Int (Steps)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "PrimitiveInt"
            },
            "widgets_values": [
              40,
              "fixed"
            ]
          },
          {
            "id": 286,
            "type": "PrimitiveInt",
            "pos": [
              7750,
              5510
            ],
            "size": [
              270,
              109.984375
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "INT",
                "name": "INT",
                "type": "INT",
                "links": [
                  446
                ]
              }
            ],
            "title": "Int (Steps)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "PrimitiveInt"
            },
            "widgets_values": [
              6,
              "fixed"
            ]
          },
          {
            "id": 287,
            "type": "ComfySwitchNode",
            "pos": [
              8140,
              5440
            ],
            "size": [
              270,
              129.984375
            ],
            "flags": {},
            "order": 28,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "on_false",
                "name": "on_false",
                "type": "INT",
                "link": 445
              },
              {
                "localized_name": "on_true",
                "name": "on_true",
                "type": "INT",
                "link": 446
              },
              {
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                },
                "link": 447
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "INT",
                "links": [
                  426
                ]
              }
            ],
            "title": "Switch (Steps)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "ComfySwitchNode"
            },
            "widgets_values": [
              false
            ]
          },
          {
            "id": 288,
            "type": "PrimitiveInt",
            "pos": [
              7740,
              5130
            ],
            "size": [
              270,
              109.984375
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "INT",
                "name": "INT",
                "type": "INT",
                "links": [
                  448
                ]
              }
            ],
            "title": "Int (Split Steps)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "PrimitiveInt"
            },
            "widgets_values": [
              20,
              "fixed"
            ]
          },
          {
            "id": 289,
            "type": "PrimitiveInt",
            "pos": [
              7750,
              5680
            ],
            "size": [
              270,
              109.984375
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "INT",
                "name": "INT",
                "type": "INT",
                "links": [
                  449
                ]
              }
            ],
            "title": "Int (Split Steps)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "PrimitiveInt"
            },
            "widgets_values": [
              3,
              "fixed"
            ]
          },
          {
            "id": 290,
            "type": "ComfySwitchNode",
            "pos": [
              8140,
              5640
            ],
            "size": [
              270,
              129.984375
            ],
            "flags": {},
            "order": 29,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "on_false",
                "name": "on_false",
                "type": "INT",
                "link": 448
              },
              {
                "localized_name": "on_true",
                "name": "on_true",
                "type": "INT",
                "link": 449
              },
              {
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                },
                "link": 450
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "INT",
                "links": [
                  411
                ]
              }
            ],
            "title": "Switch (Low Steps)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "ComfySwitchNode"
            },
            "widgets_values": [
              false
            ]
          },
          {
            "id": 291,
            "type": "ComfySwitchNode",
            "pos": [
              8140,
              5830
            ],
            "size": [
              270,
              129.984375
            ],
            "flags": {},
            "order": 30,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "on_false",
                "name": "on_false",
                "type": "FLOAT",
                "link": 451
              },
              {
                "localized_name": "on_true",
                "name": "on_true",
                "type": "FLOAT",
                "link": 452
              },
              {
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                },
                "link": 453
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "FLOAT",
                "links": [
                  424,
                  433
                ]
              }
            ],
            "title": "Switch (CFG)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "ComfySwitchNode"
            },
            "widgets_values": [
              false
            ]
          },
          {
            "id": 292,
            "type": "PrimitiveFloat",
            "pos": [
              7750,
              5840
            ],
            "size": [
              270,
              109.984375
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT",
                "links": [
                  452
                ]
              }
            ],
            "title": "Float (CFG)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "PrimitiveFloat"
            },
            "widgets_values": [
              1
            ]
          },
          {
            "id": 293,
            "type": "PrimitiveFloat",
            "pos": [
              7740,
              5290
            ],
            "size": [
              270,
              109.984375
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT",
                "links": [
                  451
                ]
              }
            ],
            "title": "Float (CFG)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "PrimitiveFloat"
            },
            "widgets_values": [
              5
            ]
          },
          {
            "id": 294,
            "type": "PrimitiveBoolean",
            "pos": [
              7750,
              6020
            ],
            "size": [
              270,
              99.984375
            ],
            "flags": {},
            "order": 31,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "value",
                "name": "value",
                "type": "BOOLEAN",
                "widget": {
                  "name": "value"
                },
                "link": 488
              }
            ],
            "outputs": [
              {
                "localized_name": "BOOLEAN",
                "name": "BOOLEAN",
                "type": "BOOLEAN",
                "links": [
                  442,
                  447,
                  450,
                  453,
                  456
                ]
              }
            ],
            "title": "Boolean (Enable Turbo LoRA?)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "PrimitiveBoolean"
            },
            "widgets_values": [
              true
            ]
          },
          {
            "id": 295,
            "type": "ComfySwitchNode",
            "pos": [
              8140,
              5060
            ],
            "size": [
              270,
              129.984375
            ],
            "flags": {},
            "order": 32,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "on_false",
                "name": "on_false",
                "type": "MODEL",
                "link": 454
              },
              {
                "localized_name": "on_true",
                "name": "on_true",
                "type": "MODEL",
                "link": 455
              },
              {
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                },
                "link": 456
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "MODEL",
                "links": [
                  418
                ]
              }
            ],
            "title": "Switch (High Noise)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "ComfySwitchNode"
            },
            "widgets_values": [
              false
            ]
          },
          {
            "id": 296,
            "type": "MarkdownNote",
            "pos": [
              7730,
              4680
            ],
            "size": [
              339.984375,
              150
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [],
            "outputs": [],
            "properties": {},
            "widgets_values": [
              "You can find the original settings here: https://github.com/bytedance/Bernini/blob/main/gradio_demo.py"
            ],
            "color": "#222",
            "bgcolor": "#000"
          },
          {
            "id": 297,
            "type": "PrimitiveStringMultiline",
            "pos": [
              6160,
              4510
            ],
            "size": [
              469.984375,
              229.984375
            ],
            "flags": {},
            "order": 33,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                },
                "link": 467
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  459
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.24.0",
              "Node name for S&R": "PrimitiveStringMultiline"
            },
            "widgets_values": [
              "Replace the gray studio backdrop with a daytime urban street: brick buildings, shop windows, sidewalk, and soft overcast light. Keep the model's outfit, accessories, body pose, motion, and full-body framing unchanged. Only the environment behind the subject should change."
            ]
          }
        ],
        "groups": [
          {
            "id": 1,
            "title": "Prompt & Conditioning",
            "bounding": [
              6930,
              4860,
              760,
              1270
            ],
            "color": "#3f789e",
            "flags": {}
          },
          {
            "id": 2,
            "title": "Models",
            "bounding": [
              6150,
              4860,
              750,
              1270
            ],
            "color": "#3f789e",
            "flags": {}
          },
          {
            "id": 3,
            "title": "Sampling",
            "bounding": [
              8490,
              4860,
              1160,
              1270
            ],
            "color": "#3f789e",
            "flags": {}
          },
          {
            "id": 8,
            "title": "Prompt Construction",
            "bounding": [
              6150,
              3690,
              960,
              1120
            ],
            "color": "#3f789e",
            "flags": {}
          },
          {
            "id": 4,
            "title": "System Prompt (Based on task type)",
            "bounding": [
              6160,
              3730,
              920,
              680
            ],
            "color": "#3f789e",
            "flags": {}
          },
          {
            "id": 7,
            "title": "Switch Settings",
            "bounding": [
              7720,
              4860,
              740,
              1270
            ],
            "color": "#3f789e",
            "flags": {}
          },
          {
            "id": 5,
            "title": "Distill LoRA settings",
            "bounding": [
              7730,
              5440,
              310,
              530
            ],
            "color": "#3f789e",
            "flags": {}
          },
          {
            "id": 6,
            "title": "Original Settings",
            "bounding": [
              7730,
              4900,
              300,
              504
            ],
            "color": "#3f789e",
            "flags": {}
          }
        ],
        "links": [
          {
            "id": 408,
            "origin_id": 272,
            "origin_slot": 0,
            "target_id": 266,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 409,
            "origin_id": 264,
            "origin_slot": 0,
            "target_id": 267,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 410,
            "origin_id": 276,
            "origin_slot": 0,
            "target_id": 268,
            "target_slot": 0,
            "type": "SIGMAS"
          },
          {
            "id": 411,
            "origin_id": 290,
            "origin_slot": 0,
            "target_id": 268,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 412,
            "origin_id": 270,
            "origin_slot": 0,
            "target_id": 271,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 413,
            "origin_id": 277,
            "origin_slot": 0,
            "target_id": 273,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 414,
            "origin_id": 265,
            "origin_slot": 0,
            "target_id": 273,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 415,
            "origin_id": 273,
            "origin_slot": 0,
            "target_id": 274,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 416,
            "origin_id": 279,
            "origin_slot": 1,
            "target_id": 274,
            "target_slot": 1,
            "type": "AUDIO"
          },
          {
            "id": 417,
            "origin_id": 279,
            "origin_slot": 2,
            "target_id": 274,
            "target_slot": 2,
            "type": "FLOAT"
          },
          {
            "id": 418,
            "origin_id": 295,
            "origin_slot": 0,
            "target_id": 275,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 419,
            "origin_id": 278,
            "origin_slot": 0,
            "target_id": 275,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 420,
            "origin_id": 278,
            "origin_slot": 1,
            "target_id": 275,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 421,
            "origin_id": 269,
            "origin_slot": 0,
            "target_id": 275,
            "target_slot": 3,
            "type": "SAMPLER"
          },
          {
            "id": 422,
            "origin_id": 268,
            "origin_slot": 0,
            "target_id": 275,
            "target_slot": 4,
            "type": "SIGMAS"
          },
          {
            "id": 423,
            "origin_id": 278,
            "origin_slot": 2,
            "target_id": 275,
            "target_slot": 5,
            "type": "LATENT"
          },
          {
            "id": 424,
            "origin_id": 291,
            "origin_slot": 0,
            "target_id": 275,
            "target_slot": 7,
            "type": "FLOAT"
          },
          {
            "id": 425,
            "origin_id": 272,
            "origin_slot": 0,
            "target_id": 276,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 426,
            "origin_id": 287,
            "origin_slot": 0,
            "target_id": 276,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 427,
            "origin_id": 281,
            "origin_slot": 0,
            "target_id": 277,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 428,
            "origin_id": 278,
            "origin_slot": 0,
            "target_id": 277,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 429,
            "origin_id": 278,
            "origin_slot": 1,
            "target_id": 277,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 430,
            "origin_id": 269,
            "origin_slot": 0,
            "target_id": 277,
            "target_slot": 3,
            "type": "SAMPLER"
          },
          {
            "id": 431,
            "origin_id": 268,
            "origin_slot": 1,
            "target_id": 277,
            "target_slot": 4,
            "type": "SIGMAS"
          },
          {
            "id": 432,
            "origin_id": 275,
            "origin_slot": 0,
            "target_id": 277,
            "target_slot": 5,
            "type": "LATENT"
          },
          {
            "id": 433,
            "origin_id": 291,
            "origin_slot": 0,
            "target_id": 277,
            "target_slot": 6,
            "type": "FLOAT"
          },
          {
            "id": 434,
            "origin_id": 280,
            "origin_slot": 0,
            "target_id": 278,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 435,
            "origin_id": 267,
            "origin_slot": 0,
            "target_id": 278,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 436,
            "origin_id": 265,
            "origin_slot": 0,
            "target_id": 278,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 437,
            "origin_id": 279,
            "origin_slot": 0,
            "target_id": 278,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 438,
            "origin_id": 264,
            "origin_slot": 0,
            "target_id": 280,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 439,
            "origin_id": 284,
            "origin_slot": 0,
            "target_id": 280,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 440,
            "origin_id": 272,
            "origin_slot": 0,
            "target_id": 281,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 441,
            "origin_id": 266,
            "origin_slot": 0,
            "target_id": 281,
            "target_slot": 1,
            "type": "MODEL"
          },
          {
            "id": 442,
            "origin_id": 294,
            "origin_slot": 0,
            "target_id": 281,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 443,
            "origin_id": 282,
            "origin_slot": 1,
            "target_id": 283,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 444,
            "origin_id": 283,
            "origin_slot": 0,
            "target_id": 284,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 459,
            "origin_id": 297,
            "origin_slot": 0,
            "target_id": 284,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 445,
            "origin_id": 285,
            "origin_slot": 0,
            "target_id": 287,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 446,
            "origin_id": 286,
            "origin_slot": 0,
            "target_id": 287,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 447,
            "origin_id": 294,
            "origin_slot": 0,
            "target_id": 287,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 448,
            "origin_id": 288,
            "origin_slot": 0,
            "target_id": 290,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 449,
            "origin_id": 289,
            "origin_slot": 0,
            "target_id": 290,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 450,
            "origin_id": 294,
            "origin_slot": 0,
            "target_id": 290,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 451,
            "origin_id": 293,
            "origin_slot": 0,
            "target_id": 291,
            "target_slot": 0,
            "type": "FLOAT"
          },
          {
            "id": 452,
            "origin_id": 292,
            "origin_slot": 0,
            "target_id": 291,
            "target_slot": 1,
            "type": "FLOAT"
          },
          {
            "id": 453,
            "origin_id": 294,
            "origin_slot": 0,
            "target_id": 291,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 454,
            "origin_id": 270,
            "origin_slot": 0,
            "target_id": 295,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 455,
            "origin_id": 271,
            "origin_slot": 0,
            "target_id": 295,
            "target_slot": 1,
            "type": "MODEL"
          },
          {
            "id": 456,
            "origin_id": 294,
            "origin_slot": 0,
            "target_id": 295,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 457,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 279,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 458,
            "origin_id": 274,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 465,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 278,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 466,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 278,
            "target_slot": 5,
            "type": "IMAGE"
          },
          {
            "id": 467,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 297,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 468,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 282,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 469,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 278,
            "target_slot": 7,
            "type": "INT"
          },
          {
            "id": 470,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 278,
            "target_slot": 8,
            "type": "INT"
          },
          {
            "id": 480,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 275,
            "target_slot": 6,
            "type": "INT"
          },
          {
            "id": 481,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 278,
            "target_slot": 9,
            "type": "INT"
          },
          {
            "id": 482,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 278,
            "target_slot": 10,
            "type": "INT"
          },
          {
            "id": 488,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 294,
            "target_slot": 0,
            "type": "BOOLEAN"
          },
          {
            "id": 489,
            "origin_id": -10,
            "origin_slot": 11,
            "target_id": 270,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 490,
            "origin_id": -10,
            "origin_slot": 12,
            "target_id": 272,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 491,
            "origin_id": -10,
            "origin_slot": 13,
            "target_id": 271,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 492,
            "origin_id": -10,
            "origin_slot": 13,
            "target_id": 266,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 493,
            "origin_id": -10,
            "origin_slot": 14,
            "target_id": 264,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 494,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 265,
            "target_slot": 0,
            "type": "COMBO"
          }
        ],
        "extra": {}
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.4864643598697739,
      "offset": [
        -1130.287265308813,
        -3506.5750466907875
      ]
    },
    "frontendVersion": "1.45.15",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}