Nodes/Comfyui-zhenzhen/Concurrent Submit | Zhenzhen_qwen_image_edit
ComfyUI Node

Concurrent Submit | Zhenzhen_qwen_image_edit

Batch Qwen image edits with acceleration tiers and custom sizes

By T8mars·Created about a year ago·Updated 2 days ago· 740
Concurrent Submit | Zhenzhen_qwen_image_edit
  • image
  • task
prompt
size1024x768
Custom_sizeEnter custom size (e.g. 1280x720)
modelqwen-image-edit
apikey
num_inference_steps30
seed0
guidance_scale4.0
enable_safety_checkertrue
negative_prompt
output_formatpng
num_images1
accelerationnone
skip_errorfalse

The editing half of Zhenzhen's Qwen image pair. ComflyConcurrent_Comfly_qwen_image_edit_Submit wraps Alibaba's qwen-image-edit model, which takes an input image plus a text instruction and returns an edited version - change the background, swap an object, re-style a scene. The concurrent wrapper is where it earns its keep: image edits are exactly the job you want to batch, and this node lets you queue a stack of them without the graph freezing on each one.

Mechanically it's the same pattern as every Submit node in this pack. The node runs in the shared image pool (30 workers), returns a COMFLY_IMAGE_FUTURE task instead of blocking, and you collect up to 30 tasks with Concurrent Collect Images (ComflyConcurrent_Image_Await), which waits for all of them and hands back image_1image_30 in slot order. Submit first, collect later, stay responsive.

The inputs

  • prompt - the edit instruction ("make the sky sunset orange," "replace the bottle with a vase").
  • image - the source image. This is required, unlike the t2i twin - it's an edit node, there's nothing to edit without one.
  • size / Custom_size - preset resolutions or your own 1280x720-style value. Custom resolution support is a genuine Qwen advantage.
  • model - locked to qwen-image-edit.
  • num_images - 1 to 4 variations of the edit. Again, billing scales with image count.
  • acceleration - none / regular / high. The speed-vs-quality dial; high is faster and cheaper, none is the careful pass. This is a nice knob most API packs don't expose.
  • num_inference_steps (2–50), guidance_scale (0–20), negative_prompt, enable_safety_checker, output_format (png/jpeg), seed, apikey, skip_error - the rest.

Output is the single task (COMFLY_IMAGE_FUTURE). Don't skip the Await step.

Install

Same drill as the whole pack:

cd ComfyUI/custom_nodes
git clone https://github.com/T8mars/Comfyui-zhenzhen

Or ComfyUI Manager → search Comfyui-zhenzhen → restart. Token from ai.t8star.org (overseas) or api.seedance.nz (domestic discount) into apikey.

Where people trip up

  • The default group is the slow lane for Qwen edits. The README's advice for Google models - switch to a quality group when the default drags - applies here too; the reseller routes through token groups you can change on the site.
  • acceleration: high changes the look, not just the speed. If your edits suddenly look rougher, this is why. Only reach for high when you're testing or you genuinely don't care about the extra quality.
  • Custom size flakiness. Qwen doesn't always honor arbitrary resolutions; if output comes back at a preset, that's the endpoint, not your typing. And as always with this pack: a timeout doesn't mean failure - check the async-task page before resubmitting and paying twice.
Categoryzhenzhen/Qwen/Concurrent Submit

Inputs (15)

NameTypeDefaultDescription
promptSTRING
imageIMAGE
sizeCOMBO1024x7687 options: 512x512, 1024x1024, 768x1024, 576x1024, 1024x768, 1024x576, +1
Custom_sizeSTRINGEnter custom size (e.g. 1280x720)
modelCOMBOqwen-image-edit1 options: qwen-image-edit
apikeyoptSTRING
num_inference_stepsoptINT302–50
seedoptINT00–18446744073709550000
guidance_scaleoptFLOAT4.00–20
enable_safety_checkeroptBOOLEANtrue
negative_promptoptSTRING
output_formatoptCOMBOpng2 options: jpeg, png
num_imagesoptINT11–4
accelerationoptCOMBOnone3 options: none, regular, high
skip_erroroptBOOLEANfalse开启后,节点失败时不报错、按旧行为返回默认空结果;关闭时(默认)失败直接抛出错误。

Outputs (1)

NameTypeDescription
taskCOMFLY_IMAGE_FUTURE