{
  "id": "6964c428-d395-4677-b02f-484acb50844b",
  "revision": 0,
  "last_node_id": 14,
  "last_link_id": 18,
  "nodes": [
    {
      "id": 1,
      "type": "BytePlusSeedance2TextToVideo",
      "pos": [
        26,
        702
      ],
      "size": [
        340,
        388
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VIDEO",
          "shape": 6,
          "type": "VIDEO",
          "links": null
        },
        {
          "name": "draft_task_id",
          "type": "STRING",
          "links": null
        },
        {
          "name": "last_frame",
          "type": "IMAGE",
          "links": null
        },
        {
          "name": "response",
          "type": "STRING",
          "links": [
            10
          ]
        }
      ],
      "title": "Sample video (Seedance 2.0 Mini)",
      "properties": {
        "Node name for S&R": "BytePlusSeedance2TextToVideo",
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1"
      },
      "widgets_values": [
        "Seedance 2.0 Mini",
        "A calm slow pan across a quiet mountain lake at sunrise, mist over the water.",
        "480p",
        "16:9",
        4,
        false,
        1,
        "randomize",
        false,
        1,
        false
      ]
    },
    {
      "id": 2,
      "type": "RegexExtract",
      "pos": [
        572,
        108
      ],
      "size": [
        340,
        262
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          },
          "link": 10
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            11
          ]
        }
      ],
      "title": "Link to the video",
      "properties": {
        "Node name for S&R": "RegexExtract"
      },
      "widgets_values": [
        "",
        "https://[^\"\\s]+",
        "First Match",
        true,
        false,
        false,
        1
      ]
    },
    {
      "id": 3,
      "type": "BytePlusSeedAudio",
      "pos": [
        572,
        424
      ],
      "size": [
        340,
        600
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "AUDIO",
          "shape": 6,
          "type": "AUDIO",
          "links": null
        },
        {
          "name": "subtitles_json",
          "shape": 6,
          "type": "STRING",
          "links": null
        },
        {
          "name": "srt",
          "shape": 6,
          "type": "STRING",
          "links": null
        },
        {
          "name": "duration",
          "shape": 6,
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "url",
          "shape": 6,
          "type": "STRING",
          "links": [
            12
          ]
        }
      ],
      "title": "Sample audio (Seed Audio 1.0)",
      "properties": {
        "Node name for S&R": "BytePlusSeedAudio",
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1"
      },
      "widgets_values": [
        "A calm narrator says: \"Welcome to the quiet mountain lake at sunrise.\"",
        "preset voice",
        "Tim (Male, American English)",
        "24000",
        0,
        0,
        0,
        3,
        "randomize",
        "seed-audio-1.0",
        "wav",
        false,
        false,
        false,
        "",
        "",
        "",
        "",
        1
      ]
    },
    {
      "id": 4,
      "type": "BytePlusCreateVideoAsset",
      "pos": [
        1008,
        108
      ],
      "size": [
        340,
        238
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "shape": 7,
          "type": "VIDEO",
          "link": null
        },
        {
          "name": "video_url",
          "type": "STRING",
          "widget": {
            "name": "video_url"
          },
          "link": 11
        }
      ],
      "outputs": [
        {
          "name": "asset_id",
          "type": "STRING",
          "links": null
        },
        {
          "name": "group_id",
          "type": "STRING",
          "links": null
        },
        {
          "name": "asset_uri",
          "type": "STRING",
          "links": [
            14
          ]
        },
        {
          "name": "info",
          "type": "STRING",
          "links": [
            17
          ]
        }
      ],
      "title": "Register the video (Create Video Asset)",
      "properties": {
        "Node name for S&R": "BytePlusCreateVideoAsset",
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1"
      },
      "widgets_values": [
        "",
        "",
        "ComfyUI assets",
        "ComfyUI video",
        "default",
        true
      ]
    },
    {
      "id": 5,
      "type": "BytePlusCreateAudioAsset",
      "pos": [
        1008,
        400
      ],
      "size": [
        340,
        238
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "audio_url",
          "type": "STRING",
          "widget": {
            "name": "audio_url"
          },
          "link": 12
        }
      ],
      "outputs": [
        {
          "name": "asset_id",
          "type": "STRING",
          "links": null
        },
        {
          "name": "group_id",
          "type": "STRING",
          "links": null
        },
        {
          "name": "asset_uri",
          "type": "STRING",
          "links": [
            15
          ]
        },
        {
          "name": "info",
          "type": "STRING",
          "links": [
            18
          ]
        }
      ],
      "title": "Register the audio (Create Audio Asset)",
      "properties": {
        "Node name for S&R": "BytePlusCreateAudioAsset",
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1"
      },
      "widgets_values": [
        "",
        "",
        "ComfyUI assets",
        "ComfyUI audio",
        "default",
        true
      ]
    },
    {
      "id": 6,
      "type": "BytePlusAssetLibrary",
      "pos": [
        26,
        1304
      ],
      "size": [
        340,
        198
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "asset_uris",
          "type": "STRING",
          "links": [
            13
          ]
        },
        {
          "name": "assets_json",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "List the library (Asset Library)",
      "properties": {
        "Node name for S&R": "BytePlusAssetLibrary",
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1"
      },
      "widgets_values": [
        "AIGC",
        "",
        "Active",
        "ComfyUI",
        10,
        "default"
      ]
    },
    {
      "id": 7,
      "type": "PreviewAny",
      "pos": [
        26,
        1556
      ],
      "size": [
        340,
        122
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 13
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Asset URIs in the library",
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    },
    {
      "id": 8,
      "type": "BytePlusSeedance2Reference",
      "pos": [
        462,
        1304
      ],
      "size": [
        416.737890625,
        504
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "model.reference_images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "model.reference_videos.video_1",
          "shape": 7,
          "type": "VIDEO",
          "link": null
        },
        {
          "name": "model.reference_audios.audio_1",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "model.reference_assets.asset_1",
          "shape": 7,
          "type": "STRING",
          "link": 14
        },
        {
          "name": "model.reference_assets.asset_2",
          "shape": 7,
          "type": "STRING",
          "link": 15
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "shape": 6,
          "type": "VIDEO",
          "links": [
            16
          ]
        },
        {
          "name": "draft_task_id",
          "type": "STRING",
          "links": null
        },
        {
          "name": "last_frame",
          "type": "IMAGE",
          "links": null
        },
        {
          "name": "response",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Use both assets as references (Seedance 2.5 Reference)",
      "properties": {
        "Node name for S&R": "BytePlusSeedance2Reference",
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1"
      },
      "widgets_values": [
        "Seedance 2.5 Draft",
        "Continue the scene of Video 1 with a gentle drifting camera. The sound follows Audio 1.",
        "480p",
        "16:9",
        4,
        true,
        "reference",
        "mp4",
        true,
        false,
        8,
        "randomize",
        false,
        1,
        false
      ]
    },
    {
      "id": 9,
      "type": "SaveVideo",
      "pos": [
        462,
        1862
      ],
      "size": [
        340,
        106
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 16
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": null
        }
      ],
      "title": "Save the video",
      "properties": {},
      "widgets_values": [
        "BytePlus/Video/asset_reference",
        "auto",
        "auto",
        "auto"
      ]
    },
    {
      "id": 10,
      "type": "PreviewAny",
      "pos": [
        1008,
        692
      ],
      "size": [
        340,
        122
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 17
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Video asset info",
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    },
    {
      "id": 11,
      "type": "PreviewAny",
      "pos": [
        1008,
        868
      ],
      "size": [
        340,
        122
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 18
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Audio asset info",
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    },
    {
      "id": 14,
      "type": "MarkdownNote",
      "pos": [
        26,
        108
      ],
      "size": [
        520,
        540
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "How to use",
      "properties": {},
      "widgets_values": [
        "## Video and audio assets\n\nRegister a **video** and an **audio clip** in your private asset library, list the library, and reference both by their `asset://` URIs in **Seedance 2.5 Reference** (inputs *asset_1* and *asset_2*).\n\nA sample clip and a sample voice line are generated so the template runs as it is. To use your own media, paste public https links into *video_url* / *audio_url*, or connect *Load Video* / *Load Audio* to the *video* / *audio* sockets (local uploads need a Comfy.org login).\n\nNeeds a ModelArk key, a Seed Speech key and IAM AK/SK with asset-library permission in Settings > BytePlus."
      ],
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      10,
      1,
      3,
      2,
      0,
      "STRING"
    ],
    [
      11,
      2,
      0,
      4,
      1,
      "STRING"
    ],
    [
      12,
      3,
      4,
      5,
      1,
      "STRING"
    ],
    [
      13,
      6,
      0,
      7,
      0,
      "STRING"
    ],
    [
      14,
      4,
      2,
      8,
      3,
      "STRING"
    ],
    [
      15,
      5,
      2,
      8,
      4,
      "STRING"
    ],
    [
      16,
      8,
      0,
      9,
      0,
      "VIDEO"
    ],
    [
      17,
      4,
      3,
      10,
      0,
      "STRING"
    ],
    [
      18,
      5,
      3,
      11,
      0,
      "STRING"
    ]
  ],
  "groups": [
    {
      "id": 9,
      "title": "1 · Media",
      "bounding": [
        0,
        0,
        938,
        1126
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 10,
      "title": "2 · Register as assets",
      "bounding": [
        982,
        0,
        392,
        1126
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 11,
      "title": "3 · Library",
      "bounding": [
        0,
        1196,
        392,
        808
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 12,
      "title": "4 · Use the assets in Seedance",
      "bounding": [
        436,
        1196,
        468.737890625,
        808
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5785123966942148,
      "offset": [
        51.85714285714289,
        60.14285714285711
      ]
    },
    "frontendVersion": "1.53.6"
  },
  "version": 0.4
}
