Nodes/ERPK Collection/Qwen Image 2.0 Edit
ComfyUI Node

Qwen Image 2.0 Edit

The next-gen Qwen editor with Standard and Pro tiers

By eRepublik-Labs·Created about a year ago·Updated 16 days ago· 2
Qwen Image 2.0 Edit
  • reference_images
  • client
  • image
◄modelQwen Image 2.0►
◄prompt►
◄images►
◄width1024►
◄height1024►
◄seed-1►
◄output_formatjpeg►
◄enable_sync_modefalse►
◄enable_base64_outputfalse►

Qwen Image 2.0 Edit is the WaveSpeed-hosted version of the Qwen image editor, and it's the node you reach for when you want sentence-driven image edits without running a local model. It's the successor to the Qwen-Image-Edit line - the KB panel describes that family as the instruction editor that took the work masks and adapters used to do - and this 2.0 generation folds editing into a 7B unified model that shipped API-only. So this node is the practical way to use it: images in, a bilingual prompt, edited image out.

If you've read the pack's other Qwen edit nodes, the shape is familiar: up to three reference images, a prompt in Chinese or English, output size you control, and a choice between Standard and Pro quality. What's genuinely worth noting is the Pro tier - the model dropdown offers "Qwen Image 2.0" (standard) and "Qwen Image 2.0 Pro" (higher quality), which is the same two-tier choice you see across the Qwen 2.0 API line. Standard for iterating, Pro for the final pass.

The inputs that matter

  • model - Qwen Image 2.0 (standard) or 2.0 Pro
  • prompt - the modification, in Chinese or English
  • images - up to 3 reference images, comma-separated URLs or paths
  • width / height - output size, 256 to 1536 (step 8)
  • output_format - output image format (default jpeg)
  • enable_sync_mode - wait for completion before returning
  • enable_base64_output - return base64 instead of a URL
  • seed - reproducibility, -1 for random
  • client - optional WaveSpeed client

The output is a single image IMAGE tensor - the node downloads the result for you, so unlike the video nodes it hands you something the rest of your graph can use directly.

The honest limits

Qwen editors re-emit the whole frame. The KB's inpainting essay makes the point with receipts: an edit model takes the whole image into context and emits a whole new image, so pixels you never asked about shift, and drift compounds across a chain of edits. "With QWEN and Kontext it tends to shift other details not asked for" is a real, repeated community complaint. The fix, when you need surgical edits, is to bolt a mask back on - which is exactly what the pack's Regional Prompt Builder + Region Mask pair is for. But for one-shot changes - swap the background, change the lighting, restyle the outfit - this node is the whole job in a single call.

Install and setup

cd ComfyUI/custom_nodes
git clone https://github.com/eRepublik-Labs/comfyui-nodes-erpk.git erpk
cd erpk && pip install -r requirements.txt

Or "ERPK Custom Nodes" from ComfyUI Manager, restart, and set a WaveSpeed API key in ERPK Settings (right-click canvas).

Troubleshooting

The images field is a string, not an IMAGE tensor - a recurring gotcha across this pack's WaveSpeed image nodes. If you're generating the source image inside ComfyUI, you'll need to save it and reference the file path, or host it. The 3-image cap is enforced server-side; the tooltip says max 3, and more gets truncated. And remember the aspect ratio is locked by your width/height inputs - set them to match your source image's shape or you'll get the edit at an unintended aspect. For clean multi-step changes, do them one at a time rather than stacking a dozen instructions into one prompt.

CategoryERPK/WaveSpeedAI

Inputs (11)

NameTypeDefaultDescription
modelCOMBOQwen Image 2.0Model variant: Qwen Image 2.0 (standard) or Qwen Image 2.0 Pro (higher quality)
promptSTRINGText description of the desired image modifications (Chinese or English)
imagesSTRINGReference image URLs to edit, up to 3, separated by commas or newlines. Ignored when `reference_images` is connected.
reference_imagesoptIMAGEReference images as a ComfyUI IMAGE batch, up to 3. Each slice is one image. Takes precedence over `images`. Sent inline as base64, no upload.
clientoptWAVESPEED_AI_API_CLIENTWaveSpeed API client (optional if API key is configured in Settings)
widthoptINT1024256–1536Image width (256 to 1536)
heightoptINT1024256–1536Image height (256 to 1536)
seedoptINT-1-1–2147483647Random seed for reproducibility (-1 for random)
output_formatoptCOMBOjpegOutput image format
enable_sync_modeoptBOOLEANfalseWait for completion before returning response
enable_base64_outputoptBOOLEANfalseReturn BASE64-encoded output instead of URL

Outputs (1)

NameTypeDescription
imageIMAGE—