{
  "id": "d146ed10-6810-4e78-9458-9f216fef8375",
  "revision": 0,
  "last_node_id": 10,
  "last_link_id": 12,
  "nodes": [
    {
      "id": 3,
      "type": "BytePlusSeedream",
      "pos": [
               20,
               100
             ],
      "size": [
        450,
        450
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": null
        },
        {
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          },
          "link": null
        },
        {
          "name": "model.size_preset",
          "type": "COMBO",
          "widget": {
            "name": "model.size_preset"
          },
          "link": null
        },
        {
          "name": "model.width",
          "type": "INT",
          "widget": {
            "name": "model.width"
          },
          "link": null
        },
        {
          "name": "model.height",
          "type": "INT",
          "widget": {
            "name": "model.height"
          },
          "link": null
        },
        {
          "name": "model.images.image_1",
          "type": "IMAGE",
          "shape": 7,
          "link": null
        },
        {
          "name": "model.prompt_optimization",
          "type": "COMBO",
          "widget": {
            "name": "model.prompt_optimization"
          },
          "link": null
        },
        {
          "name": "model.seed",
          "type": "INT",
          "widget": {
            "name": "model.seed"
          },
          "link": null
        },
        {
          "name": "model.watermark",
          "type": "BOOLEAN",
          "widget": {
            "name": "model.watermark"
          },
          "link": null
        },
        {
          "name": "model.thinking",
          "type": "BOOLEAN",
          "widget": {
            "name": "model.thinking"
          },
          "link": null
        },
        {
          "name": "model.generation_count",
          "type": "INT",
          "widget": {
            "name": "model.generation_count"
          },
          "link": null
        },
        {
          "name": "model.output_format",
          "type": "COMBO",
          "widget": {
            "name": "model.output_format"
          },
          "link": null
        },
        {
          "name": "model.background",
          "type": "COMBO",
          "widget": {
            "name": "model.background"
          },
          "link": null
        },
        {
          "name": "model.reference_mask",
          "type": "MASK",
          "shape": 7,
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            3
          ]
        },
        {
          "name": "response",
          "type": "STRING",
          "links": null
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1",
        "Node name for S&R": "BytePlusSeedream"
      },
      "widgets_values": [
        "A product photo of a ceramic coffee mug on a walnut table, morning window light, shallow depth of field, steam rising.",
        "seedream 5.0 pro",
        "(1K) 1312x736 (16:9)",
        1312,
        736,
        "standard",
        42,
        "randomize",
        false,
        true,
        1,
        "jpeg",
        "opaque"
      ]
    },
    {
      "id": 4,
      "type": "BytePlusImageEnhance",
      "pos": [
               530,
               100
             ],
      "size": [
        400,
        190
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "image",
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 3
        },
        {
          "localized_name": "tool_version",
          "name": "tool_version",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "tool_version"
          },
          "link": null
        },
        {
          "localized_name": "multiple",
          "name": "output_size.multiple",
          "type": "FLOAT",
          "widget": {
            "name": "output_size.multiple"
          },
          "link": null
        },
        {
          "localized_name": "output_size",
          "name": "output_size",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "output_size"
          },
          "link": null
        },
        {
          "localized_name": "image_url",
          "name": "image_url",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "image_url"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            4,
            6
          ]
        },
        {
          "localized_name": "original",
          "name": "original",
          "type": "IMAGE",
          "links": [
            5
          ]
        },
        {
          "localized_name": "response",
          "name": "response",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1",
        "Node name for S&R": "BytePlusImageEnhance"
      },
      "widgets_values": [
        "standard",
        "multiple",
        2,
        ""
      ]
    },
    {
      "id": 5,
      "type": "SaveImage",
      "pos": [
               990,
               100
             ],
      "size": [
        300,
        270
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 4
        },
        {
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          },
          "link": null
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.2",
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "BytePlus/Image/enhanced"
      ],
      "title": "Save Enhanced Image"
    },
    {
      "id": 6,
      "type": "ImageCompare",
      "pos": [
               990,
               420
             ],
      "size": [
        400,
        330
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "image_a",
          "name": "image_a",
          "shape": 7,
          "type": "IMAGE",
          "link": 5
        },
        {
          "localized_name": "image_b",
          "name": "image_b",
          "shape": 7,
          "type": "IMAGE",
          "link": 6
        },
        {
          "localized_name": "compare_view",
          "name": "compare_view",
          "type": "IMAGECOMPARE",
          "widget": {
            "name": "compare_view"
          },
          "link": null
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.2",
        "Node name for S&R": "ImageCompare"
      },
      "widgets_values": []
    },
    {
      "id": 7,
      "type": "BytePlusSeedance2TextToVideo",
      "pos": [
               20,
               920
             ],
      "size": [
        460,
        400
      ],
      "flags": {},
      "order": 6,
      "mode": 4,
      "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": "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": [
            9
          ]
        },
        {
          "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": "BytePlusSeedance2TextToVideo"
      },
      "widgets_values": [
        "Seedance 2.0 Fast",
        "A steaming ceramic coffee mug on a walnut table in morning light, the camera slowly pushing in. Soft ambience, a spoon clinks against the cup.",
        "720p",
        "16:9",
        5,
        true,
        0,
        "randomize",
        false,
        1,
        false
      ]
    },
    {
      "id": 8,
      "type": "BytePlusVideoEnhance",
      "pos": [
               530,
               920
             ],
      "size": [
        440,
        354
      ],
      "flags": {},
      "order": 7,
      "mode": 4,
      "inputs": [
        {
          "localized_name": "video",
          "name": "video",
          "shape": 7,
          "type": "VIDEO",
          "link": 9
        },
        {
          "localized_name": "scene",
          "name": "tool_version.scene",
          "type": "COMBO",
          "widget": {
            "name": "tool_version.scene"
          },
          "link": null
        },
        {
          "localized_name": "enhance_style",
          "name": "tool_version.enhance_style",
          "type": "COMBO",
          "widget": {
            "name": "tool_version.enhance_style"
          },
          "link": null
        },
        {
          "localized_name": "tool_version",
          "name": "tool_version",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "tool_version"
          },
          "link": null
        },
        {
          "localized_name": "resolution",
          "name": "resolution",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "resolution"
          },
          "link": null
        },
        {
          "localized_name": "fps",
          "name": "fps",
          "type": "COMBO",
          "widget": {
            "name": "fps"
          },
          "link": null
        },
        {
          "localized_name": "bitrate_level",
          "name": "bitrate_level",
          "type": "COMBO",
          "widget": {
            "name": "bitrate_level"
          },
          "link": null
        },
        {
          "localized_name": "video_url",
          "name": "video_url",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "video_url"
          },
          "link": null
        },
        {
          "localized_name": "bitrate",
          "name": "bitrate",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "bitrate"
          },
          "link": null
        },
        {
          "localized_name": "comparison",
          "name": "comparison",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "comparison"
          },
          "link": null
        },
        {
          "localized_name": "compare_time",
          "name": "compare_time",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "compare_time"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            10
          ]
        },
        {
          "localized_name": "comparison",
          "name": "comparison",
          "type": "VIDEO",
          "links": null
        },
        {
          "localized_name": "source_frame",
          "name": "source_frame",
          "type": "IMAGE",
          "links": [
            11
          ]
        },
        {
          "localized_name": "enhanced_frame",
          "name": "enhanced_frame",
          "type": "IMAGE",
          "links": [
            12
          ]
        },
        {
          "localized_name": "response",
          "name": "response",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1",
        "Node name for S&R": "BytePlusVideoEnhance"
      },
      "widgets_values": [
        "standard",
        "aigc",
        "hd",
        "1080p",
        "source",
        "medium",
        "",
        0,
        true,
        -1
      ]
    },
    {
      "id": 9,
      "type": "SaveVideo",
      "pos": [
               1030,
               920
             ],
      "size": [
        300,
        106
      ],
      "flags": {},
      "order": 8,
      "mode": 4,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 10
        },
        {
          "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/vCube_enhanced",
        "auto",
        "auto"
      ],
      "title": "Save Enhanced Video"
    },
    {
      "id": 10,
      "type": "ImageCompare",
      "pos": [
               1030,
               1080
             ],
      "size": [
        400,
        330
      ],
      "flags": {},
      "order": 9,
      "mode": 4,
      "inputs": [
        {
          "localized_name": "image_a",
          "name": "image_a",
          "shape": 7,
          "type": "IMAGE",
          "link": 11
        },
        {
          "localized_name": "image_b",
          "name": "image_b",
          "shape": 7,
          "type": "IMAGE",
          "link": 12
        },
        {
          "localized_name": "compare_view",
          "name": "compare_view",
          "type": "IMAGECOMPARE",
          "widget": {
            "name": "compare_view"
          },
          "link": null
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.33.2",
        "Node name for S&R": "ImageCompare"
      },
      "widgets_values": []
    }
  ],
  "links": [
    [
      3,
      3,
      0,
      4,
      0,
      "IMAGE"
    ],
    [
      4,
      4,
      0,
      5,
      0,
      "IMAGE"
    ],
    [
      5,
      4,
      1,
      6,
      0,
      "IMAGE"
    ],
    [
      6,
      4,
      0,
      6,
      1,
      "IMAGE"
    ],
    [
      9,
      7,
      0,
      8,
      0,
      "VIDEO"
    ],
    [
      10,
      8,
      0,
      9,
      0,
      "VIDEO"
    ],
    [
      11,
      8,
      2,
      10,
      0,
      "IMAGE"
    ],
    [
      12,
      8,
      3,
      10,
      1,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Image: Seedream, then Image Quality Enhance",
      "bounding": [
                    0,
                    20,
                    1450,
                    780
                  ],
      "color": "#3f789e",
      "font_size": 22,
      "flags": {}
    },
    {
      "id": 2,
      "title": "Video: Seedance, then vCube Video Enhance (enable as needed)",
      "bounding": [
                    0,
                    840,
                    1450,
                    620
                  ],
      "color": "#3f789e",
      "font_size": 22,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5,
      "offset": [
        40,
        40
      ]
    }
  },
  "version": 0.4
}
