ComfyUI Extension
comfyui-qwen-image-edit-node
A custom ComfyUI node for text-to-image and image-to-image generation using Wuli Qwen API. (Description by CC)
panyicast/comfyui-qwen-image-edit-node
Nodes—
On cloudLocal install
Stars0
Updated4 months ago
Readme
ComfyUI Wuli Qwen Image Edit 2.0 Node
A custom ComfyUI node for:
- Text to image (
TXT_2_IMG) - Image to image (
REF_2_IMG) with up to 4 reference images
It is implemented against the same Wuli open-platform API flow used by the wuli skill:
- Upload reference images to Wuli OSS
- Submit generation task
- Poll task status
- Fetch no-watermark URLs when available
- Download outputs back into ComfyUI
IMAGE
Install
- Copy this folder into your ComfyUI custom nodes directory:
ComfyUI/custom_nodes/comfyui_qwen_image_edit
- Restart ComfyUI.
Authentication
You can authenticate in either way:
- Fill the node input
api_token - Or set env var
WULI_API_TOKEN
Windows PowerShell example:
$env:WULI_API_TOKEN = "wuli-your-token"
Node Inputs
prompt: positive promptnegative_prompt: optional negative promptmode:auto: no refs -> text2img, has refs -> img2imgtxt2img: force text2imgimg2img: force img2img (requires at least 1 ref)
model_name:Qwen Image 2.0/Qwen Image Turboaspect_ratio: output ratioresolution:2K/4Kn: output count (1-4)optimize_prompt: API-side prompt optimizationseed:-1for randompoll_interval: status polling interval (seconds)timeout_seconds: overall timeoutref_image_1...ref_image_4: optional reference images
Outputs
images(IMAGE): generated image batchurls(STRING): one URL per linerecord_id(STRING): Wuli task record id
Notes
- This node uses remote API calls and may take time to complete.
- If no-watermark URL retrieval fails for a result, it falls back to the default result URL.