Nodes/ERPK Collection/Qwen Image Text-to-Image
ComfyUI Node

Qwen Image Text-to-Image

Bilingual prompting, five-cent images, zero VRAM

By eRepublik-Labs·Created 11 months ago·Updated 21 days ago· 1
Qwen Image Text-to-Image
  • client
  • image
modelQwen Image
prompt
width1024
height1024
seed-1
output_formatjpeg
enable_sync_modefalse
enable_base64_outputfalse

Qwen Image is Alibaba's image model line, and the thing most people don't realize until they try it: it prompts in Chinese and English equally well. If your workflow runs on English prompts that an SDXL-era CLIP encoder kept mangling, or you actually write in Chinese, this node quietly removes a whole category of frustration. At $0.02 an image, it's also one of the cheapest ways to get a proper MMDiT-quality render without owning the GPU.

It runs through the WaveSpeed AI API via the ERPK Collection, the community pack that wraps the service for ComfyUI. Cloud-billed, no local weights.

How it works

You type a prompt, the node sends it to WaveSpeed's Qwen Image endpoint, and ~5–8 seconds later you get an image back as a ComfyUI image IMAGE tensor - ready for Save, Preview, or more downstream nodes. No URL wrangling on your end; the node downloads the result and converts it for you.

The model combo is where the real choice hides:

  • Qwen Image (20B MMDiT) - the full-size model, default.
  • Qwen Image 2512 (7B) - smaller, but with better text rendering. If your prompt needs legible words in the image (signage, titles), this is the pick.

The inputs that matter

  • prompt - Chinese or English. Describe the scene plainly; Qwen handles natural language well, so verbose is fine.
  • model - the 20B vs 7B choice above.
  • width / height - 256 to 1536, step 8, default 1024×1024. Note the ceiling: unlike Seedream in this pack, Qwen Image tops out at 1536, so don't plan 2K jobs here.
  • seed - a real random seed (-1 for random). Unlike the video nodes, this one genuinely reproduces.

There are also output_format (jpeg default), enable_sync_mode (wait for completion inline), and enable_base64_output (get base64 instead of a URL under the hood) - all leave-them-alone until you have a reason.

Install

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

Or ComfyUI Manager → search erpkERPK Custom Nodes. WaveSpeed API key with credits via right-click canvas > ERPK Settings (Settings > ERPK > API Keys).

Common issues

  • "Prompt is required" - the node validates before billing, so an empty box is a free error message.
  • Images topping out at 1536px - that's the API's limit for this model, not a settings bug. Use Seedream for bigger canvas work.
  • Text in the image comes out garbled - switch to the 7B 2512 model; that's exactly what it's tuned for.
  • Cost math - $0.02/image is cheap, but it adds up during iteration. Seed locking plus small batches keeps the meter readable.

For a bilingual, cheap, "just works" text-to-image node that drops a real tensor into your graph, this is the one. When you need more resolution or typography, the Seedream V4.5 node in this same pack is the natural upgrade path.

CategoryERPK/WaveSpeedAI

Inputs (9)

NameTypeDefaultDescription
modelCOMBOQwen ImageModel variant: Qwen Image (20B MMDiT) or Qwen Image 2512 (7B, better text rendering)
promptSTRINGText description of the image to generate (Chinese or English)
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