ai-toolkit-trainer
Train custom LoRAs with ostris AI-Toolkit. Covers WAN 2.2/2.1 (people, styles, video motion) and Z-Image (Turbo & Base, low-VRAM image LoRAs). Use when the…
Build Qwen Image Edit workflows covering model loading, conditioning, LoRAs, prompt patterns, and XY plot testing
$ npx -y skills add artokun/comfyui-mcp --skill qwen-image-edit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/qwen-image-editContext preview
The summary Claude sees to decide when to auto-load this skill.
Build Qwen Image Edit workflows covering model loading, conditioning, LoRAs, prompt patterns, and XY plot testing
name: qwen-image-edit description: Build Qwen Image Edit workflows covering model loading, conditioning, LoRAs, prompt patterns, and XY plot testing globs: - "**/*.json"
Qwen Image Edit uses a vision-language model (Qwen2.5-VL) to edit images based on natural language instructions. The model "sees" the source image through CLIP conditioning and generates an edited version.
| Component | Node | Model Name | Notes | |-----------|------|------------|-------| | **UNET** | `UNETLoader` | `qwen_image_edit_2511_bf16.safetensors` | Official 2511 edit model (bf16) | | **CLIP** | `CLIPLoader` (type=`qwen_image`) | `qwen_2.5_vl_7b_fp8_scaled.safetensors` | Shared across all Qwen models | | **VAE** | `VAELoader` | `qwen_image_vae.safetensors` | Qwen-specific VAE |
| Model | Path | Focus | |-------|------|-------| | `qwenImageEditRemix_v10` | `qwenImageEditRemix_v10.safetensors` | Community remix, general editing | | `qwenUltimateRealism_v11` | `Qwen/imageized/qwenUltimateRealism_v11.safetensors` | Product photography, hyper-realistic | | `copaxTimeless` | `Qwen/realistic/copaxTimeless_qwenUltraRealistic.safetensors` | Ultra-realistic portraits | | `qwnImageEdit_v16Bf16` | `Qwen/abliterated/qwnImageEdit_v16Bf16.safetensors` | Abliterated (uncensored) |
From the `qweneditutils` custom node pack. The **Advanced** variant is preferred because it:
Required Inputs: - clip: CLIP - prompt: STRING — natural language edit instruction Optional Inputs: - vae: VAE — needed for image encoding and latent output - vl_resize_image1-3: IMAGE — images that get VL-resized (downscaled for vision encoder) - not_resize_image1-3: IMAGE — images kept at full resolution - target_size: [1024, 1344, 1536, 2048, 768, 512] (default 1024) - target_vl_size: [392, 384] (default 384) - upscale_method: [lanczos, bicubic, area] - crop_method: [pad, center, disabled] - instruction: STRING — system instruction template (has sensible default) Outputs (10): [0] conditioning_with_full_ref: CONDITIONING — use as positive conditioning [1] latent: LATENT — auto-scaled latent, feed directly to KSampler [2] target_image1: IMAGE — processed target-size image [3] target_image2: IMAGE [4] target_image3: IMAGE [5] vl_resized_image1: IMAGE — VL-resized version [6] vl_resized_image2: IMAGE [7] vl_resized_image3: IMAGE [8] conditioning_with_first_ref: CONDITIONING — conditioning with only first ref [9] pad_info: ANY — padding info for later unpadding
**Key advantage**: Output [1] (latent) eliminates the need for a separate `EmptyLatentImage` or `VAEEncode` node. The Advanced node handles latent creation internally at the correct resolution.
{
"class_type": "LoraLoaderModelOnly",
"inputs": {
"model": ["<unet_node>", 0],
"lora_name": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
"strength_model": 1.0
}
}**Settings**: steps=4, cfg=1.0, sampler=euler, scheduler=simple, denoise=1.0
For non-edit models (txt2img, 2512):
| Preset | Steps | CFG | Sampler | Scheduler | Denoise | LoRA | |--------|-------|-----|---------|-----------|---------|------| | Lightning 4-step (2511 edit) | 4 | 1.0 | euler | simple | 1.0 | 2511-Lightning-4steps | | Lightning 8-step | 8 | 1.0 | euler | simple | 1.0 | Lightning-8steps | | Standard edit | 40 | 4.0 | euler | simple | 0.75 | none | | Quality edit | 50 | 4.0 | euler | simple | 0.5-0.8 | none |
> **The sub-1.0 denoise rows REQUIRE a `VAEEncode` latent.** A denoise low enough to > shorten the sampling schedule — which 0.5-0.8 certainly is — keeps part of the > incoming latent, so that latent has to BE the source image. Wire `latent_image` from > a `VAEEncode` of the source (or from a node that emits a source-derived latent, like > `TextEncodeQwenImageEditPlusAdvance_lrzjason` output [1]). Pairing these rows with an > `EmptyLatentImage` runs clean and returns a flat, near-uniform field — an empty latent > has no source content to preserve. Feeding the reference through > `TextEncodeQwenImageEditPlus` does **not** rescue it: that image rides on CONDITIONING, > which steers denoising but never seeds the sampler's starting state.
**Denoise for editing**: Lower denoise = closer to source — *provided the latent IS the source*. 0.5-0.8 range for standard editing on a `VAEEncode` latent. Lightning uses 1.0 (model handles fidelity internally).
> **This table is for Qwen-Image TEXT-TO-IMAGE. Do not pick an edit graph's output > size from it.** An edit graph's geometry is decided by the SOURCE image, not by you > — see "Resolution on an edit graph" below. Choosing 1104x1472 here for an edit was > #2681.
Qwen-Image operates at ~1.6 megapixels natively:
| Aspect | Resolution | Use Case | |--------|-----------|----------| |
This project is no longer maintained. ComfyUI now ships official agent and MCP tooling — Comfy Agent and Comfy MCP — built and supported by the Comfy-Org team with deeper integration than a community project can match.
Repo: artokun/comfyui-mcp
Train custom LoRAs with ostris AI-Toolkit. Covers WAN 2.2/2.1 (people, styles, video motion) and Z-Image (Turbo & Base, low-VRAM image LoRAs). Use when the…
Anime/illustration text-to-image (ANIMA 1.0, ~2B Cosmos DiT). Use for anime, manga, illustrated characters; accepts Danbooru tags + natural language;…
Train a custom anime LoRA on the ANIMA base model with Citron's local Gradio trainer (kohya sd-scripts), <6GB VRAM, character/style LoRAs; covers setup,…
Discover Civitai models with the BUILT-IN download_model action:"search_civitai" and install/generate them locally. Find a checkpoint/LoRA/embedding on…
Diagnose and fix video/image color OBJECTIVELY with the get_image (action:"analyze_color") tool (scopes/stats such as black/white points, contrast, saturation,…
Core ComfyUI knowledge covering workflow format, node types, pipeline patterns, and MCP tool usage