Nodes/ComfyUI-GGUF-Loader/Qwen-Image img2img ⚡
ComfyUI Node

Qwen-Image img2img ⚡

Prompts, init latent and ControlNet attach for Qwen-Image. Leave image unconnected for txt2img. Feed the outputs straight into a stock KSampler.

By ChrisColeTech·Created 13 days ago·Updated about 3 hours ago· 6
Qwen-Image img2img ⚡
  • model
  • clip
  • vae
  • image
  • qwen_control
  • control_image
  • mask
  • edit_reference
  • model
  • positive
  • negative
  • latent
  • denoise
prompt
negative_prompt
strength0.60
batch_size1
width1024
height1024
control_modemanual
depth_ckpt_namedepth_anything_v2_vitb.pth
control_strength1.00
Category🤖 CCTech/Qwen-Image

Inputs (17)

NameTypeDefaultDescription
modelMODEL
clipCLIP
vaeVAE
promptSTRING
negative_promptSTRING
strengthFLOAT0.600–1img2img only. How much of the init image to discard. Ignored without an image.
batch_sizeINT11–4096
widthINT102416–16384Output size. With an init or control image this resizes it.
heightINT102416–16384
imageoptIMAGEInit image for img2img, and (in auto_canny/auto_depth modes) the source photo the control image is derived from. Leave unconnected for txt2img.
qwen_controloptQWEN_IMAGE_CONTROLFrom QwenImageControlNetLoader.
control_modeoptCOMBOmanualmanual: connect control_image yourself. auto_canny/auto_depth: derive it from `image` automatically - pick whichever matches the loaded checkpoint. Ignored without qwen_control.
depth_ckpt_nameoptCOMBOdepth_anything_v2_vitb.pthauto_depth mode only. Downloads on first use if not already in models/depth_anything_v2.
control_imageoptIMAGEControl map matching qwen_control - a canny/depth/etc map. Overrides auto_canny/auto_depth when connected. Required in manual mode.
maskoptMASKFor an inpaint checkpoint - the region to inpaint. Not derivable automatically.
control_strengthoptFLOAT1.00-10–10
edit_referenceoptIMAGEFor Qwen-Image-Edit checkpoints: the photo to edit. Encoded and attached to positive conditioning as the model's real edit-reference input (reference_latents) - separate from img2img's `image` and ControlNet's `control_image`. Leave unconnected for a non-Edit checkpoint.

Outputs (5)

NameTypeDescription
modelMODEL
positiveCONDITIONING
negativeCONDITIONING
latentLATENT
denoiseFLOAT