Search FoxAI
AI Models 84759
- Mistral-Small-Instruct-2409-bnb-4bit↗
unsloth
- Qwen2.5-14B↗
unsloth
- MiniLM-L6-Keyword-Extraction↗
valurank
- SkyReels-V3-14B-GGUF↗
vantagewithai
- lora_intent_classifier_bert-base-uncased_model↗
vllm-sr
- Phi-3-mini-4k-instruct-bnb-4bit-Ita↗
walid-iguider
- SWE-Dev-32B↗
zai-org
- altar-1↗
AikidoSec
- experimental_merge_241026_v2↗
alansmithee-cpu
- Qwen-Image-2.1-Fun-Controlnet-Union↗
alibaba-pai
Qwen-Image-2.1-Fun-Controlnet-Union is a **ControlNet-Union branch for Qwen-Image 2.1** (the flow-matching text-to-image DiT). A single checkpoint drives **8 structural control conditions** (Canny, Depth, Grayscale, HED, Lineart, MLSD, Pose, Scribble) *and* image inpainting, without per-condition weights. The checkpoint holds **only the control branch** (`control_img_in` plus 16 `control_blocks`, about 7.0 GB) and is loaded on top of the base Qwen-Image 2.1 transformer. - **Union control over 8 conditions**: one checkpoint handles Canny, Depth, Grayscale, HED, Lineart, MLSD, Pose and Scribble control images for text-to-image generation — no per-condition checkpoint switching. - **Dense control injection**: the control branch attaches a skip to every 2nd of the 32 transformer blocks (`control_layers = [0, 2, 4, …, 30]`, 16 injection points). Each control skip is added back to the main branch through zero-gated `before_proj` / `after_proj` projections, giving tight structural adherence while the base model stays frozen. - **Control and inpainting share one branch**: the control input is widened to `control_in_dim = 129` — `control latents (64) | mask (1) | masked-image latents (64)`. For pure control the mask / masked-image channels are zero-padded; for inpainting the same branch re-draws the masked region from the prompt. The two can also be **combined** — a control image and a mask are fed together, so the re-drawn region follows both the prompt and the given structure. - **CFG-distilled fast sampling**: the standalone example scripts run with `guidance_scale = 1.0` (single forward pass per step, no classifier-free guidance needed). - `control_context_scale` scales every control skip before it is added to the main branch: `1.0` is the strongest control (used for all results below), lower values weaken the guidance, `0.0` switches the control branch off. - **Prompt-friendly**: write a prompt that describes the **whole target image**; the masked region is conveyed by the mask channel, not by the text. Detailed prompts give better stability. - Qwen-Image 2.1 encodes the prompt (and any condition image) with a **Qwen3-VL** text encoder + processor, and its VAE decodes to **RGBA**, so every preview is saved as PNG. Any ordinary RGB control image at the target canvas works; the model tolerates different line thickness, thresholds and crops.
