Nodes/ComfyUI Seedance/并发提交|Zhenzhen Image G 图像生成/编辑
ComfyUI Node

并发提交|Zhenzhen Image G 图像生成/编辑

The budget image node on tap — Zhenzhen Image G, concurrent edition

By T8mars·Created 2 months ago·Updated 3 days ago· 31
并发提交|Zhenzhen Image G 图像生成/编辑
  • image1
  • image2
  • image3
  • image4
  • image5
  • image6
  • image7
  • image8
  • image9
  • image10
  • image11
  • image12
  • image13
  • image14
  • image15
  • image16
  • api_config
  • future
modelzhenzhen-image-g-v2-lowprice
prompt
resolution1k
ratioadaptive
size1:1
custom_size
n1
skip_errorfalse
seed0

"Zhenzhen" is the brand of the shop that runs this whole API (贞贞的平价AI小铺 - roughly "Zhenzhen's budget AI shop"), and the Zhenzhen Image G family is its own line of image models. This concurrent submit node wraps the three-model Image G node: the default zhenzhen-image-g-v2-lowprice (the budget tier, and the one the node defaults to), plus the two G-2 models, zhenzhen-image-g2-t2i and zhenzhen-image-g2-i2i. Its job is to let you fire off a batch of these cheap images in parallel instead of one at a time.

The model choice splits the inputs in two, and knowing which fields apply where is half the battle:

  • zhenzhen-image-g-v2-lowprice (default) - the budget workhorse. Resolution 1k/2k/4k, its own size dropdown (common ratios plus a custom option where you type 5:4 or 2048x1024 into custom_size), and n for 1 to 10 images per request. Up to 16 reference images, or none at all.
  • zhenzhen-image-g2-t2i - the plain text-to-image G-2. Resolution is fixed at 1k, uses ratio instead of size, no n.
  • zhenzhen-image-g2-i2i - the G-2 edit model. Same fixed 1k + ratio, but it requires reference images (1 to 10 of them; only the first 10 of the 16 slots are used).

Prompt limits differ too: Lowprice is 5–5,000 characters, G-2 up to 20,000. The node preflights all this before the job goes anywhere, so a bad combo fails fast at the submit node rather than halfway through a batch.

Output is the single future (SEEDANCE_IMAGE_FUTURE), wired into 并发接收图片(30 路).

How it works

Standard concurrent architecture: validate up front, drop into the image thread pool (up to 30 workers, tunable via SEEDANCE_IMAGE_CONCURRENCY), return the handle immediately. Reference images upload in slot order, the request is assembled per-model, and the receiver collects the finished images in slot order. skip_error per slot; failure_mode on the receiver decides raise-vs-placeholder. You can mix this node's futures with any other image submit node's - the receiver doesn't care what generated each slot.

Installing it

ComfyUI Manager → search ComfyUI Seedance, or:

cd ComfyUI/custom_nodes
git clone https://github.com/T8mars/ComfyUI_Seedance.git
python -m pip install -r ComfyUI_Seedance/requirements.txt

Restart, look under Seedance/并发提交. requests and an api.seedance.nz key; nothing to download.

Where people get burned

  • Assuming every model takes every field. ratio silently does nothing on Lowprice (it uses size), size does nothing on G-2, n doesn't exist on G-2 at all. Pick the model first, then read which knobs are live.
  • Lowprice is the budget tier for a reason. It's the default, and it's cheap - great for drafts and batch experiments. When you're happy with a composition, switch to G-2 or a higher-res model rather than cranking Lowprice to 4k and wondering why it's still budget-flavored.
  • The future isn't an image. It goes to the receiver, never straight into Save Image.

Standing fine print: per-image metering (all the more reason the Lowprice default exists), expiring result links, and prompts/refs leaving the machine to the api.seedance.nz endpoint.

CategorySeedance/并发提交

Inputs (26)

NameTypeDefaultDescription
modelCOMBOzhenzhen-image-g-v2-lowpriceZhenzhen Image G task type. g2-t2i uses prompt only; g2-i2i requires images; lowprice can run with or without images. | G-2 文生图只用提示词;G-2 图生图需要参考图;lowprice 可选参考图。
promptSTRINGLowprice prompt: 5 to 5000 characters; G-2 prompt: up to 20000 characters. | Lowprice 提示词 5 到 5000 字符;G-2 提示词最多 20000 字符。
resolutionCOMBO1kG-2 supports 1k only; lowprice supports 1k, 2k, and 4k. | G-2 仅支持 1k;lowprice 支持 1k、2k、4k。
ratioCOMBOadaptiveG-2 only: optional metadata.ratio. Hidden for lowprice. | 仅 G-2 使用 metadata.ratio;lowprice 模型会隐藏。
sizeCOMBO1:1Lowprice only: common aspect ratios; choose custom for another ratio or WxH. | 仅 lowprice 使用:常用画幅比例;选择 custom 可填写其他比例或 WxH。
custom_sizeSTRINGLowprice custom size, for example 5:4 or 2048x1024. | Lowprice 自定义尺寸,例如 5:4 或 2048x1024。
nINT11–10Lowprice only: top-level image count, 1 to 10. | 仅 lowprice 使用:顶层图片数量,1 到 10。
image1optIMAGEOptional reference image 1 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image2optIMAGEOptional reference image 2 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image3optIMAGEOptional reference image 3 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image4optIMAGEOptional reference image 4 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image5optIMAGEOptional reference image 5 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image6optIMAGEOptional reference image 6 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image7optIMAGEOptional reference image 7 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image8optIMAGEOptional reference image 8 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image9optIMAGEOptional reference image 9 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image10optIMAGEOptional reference image 10 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image11optIMAGEOptional reference image 11 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image12optIMAGEOptional reference image 12 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image13optIMAGEOptional reference image 13 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image14optIMAGEOptional reference image 14 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image15optIMAGEOptional reference image 15 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
image16optIMAGEOptional reference image 16 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。
api_configoptSEEDANCE_CONFIGConnect Seedance API Config; otherwise SEEDANCE_API_KEY is used.
skip_erroroptBOOLEANfalseOn failure return a placeholder image instead of stopping the workflow. | 失败时输出占位图片而不中断工作流。
seedoptINT00–18446744073709550000ComfyUI cache seed. Fixed reuses the cached result while all other inputs stay unchanged; randomize/increment/decrement starts a new execution. This value is not sent to models without documented seed support. | ComfyUI 缓存种子;Fixed 在其他输入不变时复用缓存,随机、递增或递减会触发新任务。未声明支持 seed 的模型不会收到此参数。

Outputs (1)

NameTypeDescription
futureSEEDANCE_IMAGE_FUTURE