并发提交|Zhenzhen Image G 图像生成/编辑
The budget image node on tap — Zhenzhen Image G, concurrent edition
- image1
- image2
- image3
- image4
- image5
- image6
- image7
- image8
- image9
- image10
- image11
- image12
- image13
- image14
- image15
- image16
- api_config
- future
"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. Resolution1k/2k/4k, its ownsizedropdown (common ratios plus acustomoption where you type5:4or2048x1024intocustom_size), andnfor 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 at1k, usesratioinstead ofsize, non.zhenzhen-image-g2-i2i- the G-2 edit model. Same fixed1k+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.
ratiosilently does nothing on Lowprice (it usessize),sizedoes nothing on G-2,ndoesn'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
futureisn't an image. It goes to the receiver, never straight intoSave 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.
Inputs (26)
| Name | Type | Default | Description |
|---|---|---|---|
| model | COMBO | zhenzhen-image-g-v2-lowprice | Zhenzhen 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 可选参考图。 |
| prompt | STRING | Lowprice prompt: 5 to 5000 characters; G-2 prompt: up to 20000 characters. | Lowprice 提示词 5 到 5000 字符;G-2 提示词最多 20000 字符。 | |
| resolution | COMBO | 1k | G-2 supports 1k only; lowprice supports 1k, 2k, and 4k. | G-2 仅支持 1k;lowprice 支持 1k、2k、4k。 |
| ratio | COMBO | adaptive | G-2 only: optional metadata.ratio. Hidden for lowprice. | 仅 G-2 使用 metadata.ratio;lowprice 模型会隐藏。 |
| size | COMBO | 1:1 | Lowprice only: common aspect ratios; choose custom for another ratio or WxH. | 仅 lowprice 使用:常用画幅比例;选择 custom 可填写其他比例或 WxH。 |
| custom_size | STRING | Lowprice custom size, for example 5:4 or 2048x1024. | Lowprice 自定义尺寸,例如 5:4 或 2048x1024。 | |
| n | INT | 11–10 | Lowprice only: top-level image count, 1 to 10. | 仅 lowprice 使用:顶层图片数量,1 到 10。 |
| image1opt | IMAGE | Optional reference image 1 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image2opt | IMAGE | Optional reference image 2 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image3opt | IMAGE | Optional reference image 3 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image4opt | IMAGE | Optional reference image 4 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image5opt | IMAGE | Optional reference image 5 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image6opt | IMAGE | Optional reference image 6 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image7opt | IMAGE | Optional reference image 7 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image8opt | IMAGE | Optional reference image 8 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image9opt | IMAGE | Optional reference image 9 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image10opt | IMAGE | Optional reference image 10 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image11opt | IMAGE | Optional reference image 11 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image12opt | IMAGE | Optional reference image 12 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image13opt | IMAGE | Optional reference image 13 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image14opt | IMAGE | Optional reference image 14 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image15opt | IMAGE | Optional reference image 15 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| image16opt | IMAGE | Optional reference image 16 of 16; G-2 i2i accepts image1..image10; lowprice accepts image1..image16. | 可选参考图;G-2 图像编辑支持前 10 张,lowprice 支持 16 张。 | |
| api_configopt | SEEDANCE_CONFIG | Connect Seedance API Config; otherwise SEEDANCE_API_KEY is used. | |
| skip_erroropt | BOOLEAN | false | On failure return a placeholder image instead of stopping the workflow. | 失败时输出占位图片而不中断工作流。 |
| seedopt | INT | 00–18446744073709550000 | ComfyUI 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)
| Name | Type | Description |
|---|---|---|
| future | SEEDANCE_IMAGE_FUTURE | — |