{
  "id": "dbd0f312-0832-4495-9028-aba10bc91dc9",
  "revision": 0,
  "last_node_id": 5,
  "last_link_id": 3,
  "nodes": [
    {
      "id": 1,
      "type": "LoadImage",
      "pos": [
        30,
        100
      ],
      "size": [
        300,
        320
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          },
          "link": null
        },
        {
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.2",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "comfyui_logo.png",
        "image"
      ],
      "title": "@Image 1 - appearance reference"
    },
    {
      "id": 2,
      "type": "LoadVideo",
      "pos": [
        30,
        470
      ],
      "size": [
        300,
        320
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "file",
          "type": "COMBO",
          "widget": {
            "name": "file"
          },
          "link": null
        },
        {
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.2",
        "Node name for S&R": "LoadVideo"
      },
      "widgets_values": [
        "",
        "image"
      ],
      "title": "@Video 1 - motion reference"
    },
    {
      "id": 3,
      "type": "BytePlusSeedance2Reference",
      "pos": [
        400,
        100
      ],
      "size": [
        490,
        690
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          },
          "link": null
        },
        {
          "name": "model.prompt",
          "type": "STRING",
          "widget": {
            "name": "model.prompt"
          },
          "link": null
        },
        {
          "name": "model.resolution",
          "type": "COMBO",
          "widget": {
            "name": "model.resolution"
          },
          "link": null
        },
        {
          "name": "model.ratio",
          "type": "COMBO",
          "widget": {
            "name": "model.ratio"
          },
          "link": null
        },
        {
          "name": "model.duration",
          "type": "INT",
          "widget": {
            "name": "model.duration"
          },
          "link": null
        },
        {
          "name": "model.generate_audio",
          "type": "BOOLEAN",
          "widget": {
            "name": "model.generate_audio"
          },
          "link": null
        },
        {
          "name": "model.task_type",
          "type": "COMBO",
          "widget": {
            "name": "model.task_type"
          },
          "link": null
        },
        {
          "name": "model.output_format",
          "type": "COMBO",
          "widget": {
            "name": "model.output_format"
          },
          "link": null
        },
        {
          "name": "model.reference_images.image_1",
          "type": "IMAGE",
          "link": 1,
          "shape": 7
        },
        {
          "name": "model.reference_images.image_2",
          "type": "IMAGE",
          "link": null,
          "shape": 7
        },
        {
          "name": "model.reference_videos.video_1",
          "type": "VIDEO",
          "link": 2,
          "shape": 7
        },
        {
          "name": "model.reference_videos.video_2",
          "type": "VIDEO",
          "link": null,
          "shape": 7
        },
        {
          "name": "model.reference_audios.audio_1",
          "type": "AUDIO",
          "link": null,
          "shape": 7
        },
        {
          "name": "model.reference_audios.audio_2",
          "type": "AUDIO",
          "link": null,
          "shape": 7
        },
        {
          "name": "model.reference_assets.asset_1",
          "type": "STRING",
          "link": null,
          "shape": 7
        },
        {
          "name": "model.auto_downscale",
          "type": "BOOLEAN",
          "widget": {
            "name": "model.auto_downscale"
          },
          "link": null,
          "shape": 7
        },
        {
          "name": "model.auto_upscale",
          "type": "BOOLEAN",
          "widget": {
            "name": "model.auto_upscale"
          },
          "link": null,
          "shape": 7
        },
        {
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": null
        },
        {
          "name": "watermark",
          "type": "BOOLEAN",
          "widget": {
            "name": "watermark"
          },
          "link": null
        },
        {
          "name": "generation_count",
          "type": "INT",
          "widget": {
            "name": "generation_count"
          },
          "link": null
        },
        {
          "name": "non_blocking",
          "type": "BOOLEAN",
          "widget": {
            "name": "non_blocking"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "shape": 6,
          "links": [
            3
          ]
        },
        {
          "name": "draft_task_id",
          "type": "STRING",
          "links": null
        },
        {
          "name": "last_frame",
          "type": "IMAGE",
          "links": null
        },
        {
          "name": "response",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1",
        "Node name for S&R": "BytePlusSeedance2Reference"
      },
      "widgets_values": [
        "Seedance 2.5",
        "Create a new cinematic shot using the subject from @Image 1. Preserve the subject's appearance, colors and visual style from @Image 1. Use @Video 1 only for camera movement, action pacing and shot rhythm; do not copy its subject or background. Show the subject in a softly lit outdoor scene. Smooth natural motion, no added text.",
        "720p",
        "16:9",
        5,
        false,
        "reference",
        "mp4",
        true,
        false,
        42,
        "fixed",
        false,
        1,
        false
      ],
      "title": "Seedance 2.5 - @Image + @Video"
    },
    {
      "id": 4,
      "type": "SaveVideo",
      "pos": [
        960,
        100
      ],
      "size": [
        340,
        380
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 3
        },
        {
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          },
          "link": null
        },
        {
          "name": "format",
          "type": "COMBO",
          "widget": {
            "name": "format"
          },
          "link": null
        },
        {
          "name": "codec",
          "type": "COMBO",
          "widget": {
            "name": "codec"
          },
          "link": null
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.2",
        "Node name for S&R": "SaveVideo"
      },
      "widgets_values": [
        "BytePlus/Video/ImageVideoReferences",
        "auto",
        "auto"
      ],
      "title": "Save the reference-guided video"
    },
    {
      "id": 5,
      "type": "MarkdownNote",
      "pos": [
        960,
        540
      ],
      "size": [
        340,
        350
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "title": "How @reference syntax works",
      "widgets_values": [
        "## Image + Video References\n\n1. Upload an image: **@Image 1** supplies the subject's appearance and style.\n2. Upload a video: **@Video 1** supplies camera movement and pacing.\n3. Edit the prompt to assign a clear role to each reference, then Run.\n\nUse exactly **@Image 1** and **@Video 1**, including the space before the number. Numbering is separate for each media type: image_1 is @Image 1, video_1 is @Video 1. These are reference labels, not filenames.\n\n**task_type = reference** creates a new video. Choose **edit** to modify the input clip, or **extend** to continue it, and rewrite the prompt accordingly.\n\nNeeds a ModelArk key in Settings > BytePlus and a Comfy.org login for local video upload. Each generation is billed. Fixed seed reuses unchanged cached outputs."
      ]
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      3,
      8,
      "IMAGE"
    ],
    [
      2,
      2,
      0,
      3,
      10,
      "VIDEO"
    ],
    [
      3,
      3,
      0,
      4,
      0,
      "VIDEO"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.7,
      "offset": [
        30,
        50
      ]
    }
  },
  "version": 0.4
}
