Nodes/Comfyui-zhenzhen/Zhenzhen Doubao Seedream4.0
ComfyUI Node

Zhenzhen Doubao Seedream4.0

Seedream 4.0 with multi-image reference and 4K on tap

By T8mars·Created 12 months ago·Updated about 11 hours ago· 725
Zhenzhen Doubao Seedream4.0
  • image1
  • image2
  • image3
  • image4
  • image5
  • image
  • response
  • image_url
prompt
modeldoubao-seedream-4-0-250828
response_formaturl
resolution1K
aspect_ratio1:1
width1024
height1024
apikey
sequential_image_generationdisabled
max_images1
seed-1
watermarktrue
streamfalse
skip_errorfalse

This is the flagship image node in the Comfly pack's Doubao lineup: Seedream 4.0, with up to 4K resolution, up to five reference images, and a batch mode that can hand you fifteen images from one call. Like everything in this pack it's a paid API client - the model runs on ByteDance's hardware, you pay per image, and nothing touches your GPU. If you want Seedream's aesthetic at high resolution with character/style references and you're okay with a metered bill, this is the node.

Inputs that matter

  • prompt - required, multiline.
  • model - string, default doubao-seedream-4-0-250828.
  • resolution - 1K (default), 2K, or 4K. Higher resolution means a bigger bill and longer waits - 1K to iterate, 4K for finals.
  • aspect_ratio - 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9, 9:21, or Custom. Choose Custom and the width/height fields (64–8192) take over.
  • image1 … image5 - reference images. Wire one and the prompt becomes a reimagination/reference job; several lets you blend.
  • max_images - 1–15 images per run. The README is blunt: the API bills per image, so more images = more money. Keep it at 1 until you know what you want.
  • sequential_image_generation - disabled (default) or auto; auto paces the batch so the model isn't stampeded.
  • stream - off by default; on, it streams partial output. Nice for long 4K batches, but it can complicate a plain graph.
  • seed - -1 for random.
  • watermark - default on. Flip it off for clean output.

Outputs: image (IMAGE), image_url, and response.

Install

The usual:

cd ComfyUI/custom_nodes
git clone https://github.com/ainewsto/Comfyui_Comfly

Or ComfyUI Manager → "Comfyui_Comfly" → restart. No models download; credits + key at https://ai.comfly.chat (Comflyapi.json or the node's apikey).

Gotchas

The watermark default-on strikes again - check it before queueing a 4K batch, because re-running fifteen 4K images because of a watermark is an expensive mistake. max_images is where people accidentally spend real money; it defaults to 1, keep it there while tuning. Custom sizing via aspect_ratio: Custom + width/height is a README-documented late addition, so older example workflows won't have it - set it yourself when you need exact canvases. And this node is image generation with references, not an instruction editor - for "change X to Y" jobs, use the SeedEdit nodes instead.

Categoryzhenzhen/Doubao

Inputs (19)

NameTypeDefaultDescription
promptSTRING
modelSTRINGdoubao-seedream-4-0-250828
response_formatCOMBOurl2 options: url, b64_json
resolutionCOMBO1K3 options: 1K, 2K, 4K
aspect_ratiooptCOMBO1:110 options: 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, +4
widthoptINT102464–8192
heightoptINT102464–8192
apikeyoptSTRING
image1optIMAGE
image2optIMAGE
image3optIMAGE
image4optIMAGE
image5optIMAGE
sequential_image_generationoptCOMBOdisabled2 options: disabled, auto
max_imagesoptINT11–15
seedoptINT-1-1–2147483647
watermarkoptBOOLEANtrue
streamoptBOOLEANfalse
skip_erroroptBOOLEANfalse开启后,节点失败时不报错、按旧行为返回默认空结果;关闭时(默认)失败直接抛出错误。

Outputs (3)

NameTypeDescription
imageIMAGE
responseSTRING
image_urlSTRING