Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
Merge remote-tracking branch 'origin/upstream-merge' into docs/v7-doc-gaps
Alexander Eichhorna4d70e034b6c
diff --cc docs/src/content/docs/Users Guide/03.Models/01.introduction.mdxindex be8d81b060,61d08ce56d..f1d0e61493--- a/docs/src/content/docs/Users Guide/03.Models/01.introduction.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/01.introduction.mdx@@@ -50,121 -177,18 +177,25 @@@ you want, by adding `:subfolder_name` tAdd `:v2` to the repo ID and use that when installing the model: `monster-labs/control_v1p_sd15_qrcode_monster:v2`:::- [set up in the config file]: ../../configuration/invokeai-yaml-- ## Quantized model formats-- Many models are also published in smaller, quantized builds. InvokeAI recognizes the format from the file's contents, so you install them like any other model:-- - **GGUF** (`.gguf`, llama.cpp quantization such as Q4_K or Q8_0): weights stay packed in memory and are unpacked layer by layer during generation. Supported for the FLUX.1, FLUX.2, Z-Image, Krea-2, Qwen-Image and Wan transformers, and for the T5, Qwen3, Qwen3-VL, Mistral and Gemma 2 text encoders.- - **NF4** (bitsandbytes): 4-bit, CUDA only.- - **SDNQ**: see [SDNQ Quantization](/configuration/optimization/sdnq-quantization/).- - **int8** (`int8_convrot`, from ComfyUI repackages): the weights stay int8 in memory on every device, including Apple Silicon, and need no setting to turn on. Supported for FLUX.1, FLUX.2 Klein, Z-Image, Krea-2, Ideogram 4, MiniMax H3, LTX-2 and the PiD decoders, and for the Qwen3 8B, Qwen3-VL and LTX-2 Gemma encoders.- - **nvfp4** (4-bit, in ComfyUI's checkpoint format, such as Comfy-Org's builds; other nvfp4 exports such as AWQ are refused): the weights stay packed in memory and are unpacked per layer, so no special GPU is needed. Supported for the Z-Image, Krea-2, Qwen-Image and LTX-2 transformers and for the Qwen3, Qwen2.5-VL and FLUX.2 Mistral encoders; the Ideogram 4 nvfp4 files are refused at install.- - **fp8** (plain or `fp8_scaled`): InvokeAI keeps the weights in fp8 when [FP8 Storage](/configuration/optimization/fp8-storage/) is on, which installation does for you, or when `fp8_compute` is enabled.- - **MXFP8** (fp8 with one scale per block of 32 weights): loaded by unpacking to BF16. Turn FP8 Storage off for these; see the [FP8 Storage caution](/configuration/optimization/fp8-storage/).-- ## How models are identified++### How models are identified++InvokeAI identifies a model from the file itself, and falls back to its name only where the contents are the same:+- - **Standalone 16-channel VAEs.** FLUX.1 and SD3 use the same VAE network with different settings. A diffusers `vae/` folder is identified by its `config.json`, so FLUX.1-dev's folder is filed as FLUX.1 and SD3.5's as SD3. A single file such as `sd3_vae.safetensors` is identified by its name, folder or download source; if none of them names a model family, it is filed as FLUX.1. If a VAE lands under the wrong base, change **Base** in the model's **Edit** view. A `vae/` folder installed before this detection existed can be fixed with **Reidentify**.++- **Standalone 16-channel VAEs.** FLUX.1 and SD3 use the same VAE network with different settings. A diffusers `vae/` folder is identified by its `config.json`, so FLUX.1-dev's folder is filed as FLUX.1 and SD3.5's as SD3. A single file such as `sd3_vae.safetensors` is identified by its name, folder or download source; if none of them names a model family, it is filed as FLUX.1. If a VAE lands under the wrong base, change **Base** in the model's **Edit** view. A `vae/` folder installed before this detection existed can be fixed with **Re-identify model**.+- **FLUX.2 Klein 9B vs. Klein 9B Base.** The two are identical in structure, so the file or repo name decides, and they ship different default step counts (4 against 28). Names that say "distilled" are read as Klein 9B even when they also contain "base". If you installed `Winnougan/Klein9b-Distilled-Base-INT8-Convrot` by repo ID before this was fixed, it was filed as Klein 9B Base; remove and reinstall it.+- Text encoders for Qwen-Image, Z-Image, Krea-2 and Ideogram 4 bring their tokenizer and configuration with InvokeAI, so single-file and GGUF encoders load without network access.-- ## Ideogram 4-- Ideogram 4 is an open-weight text-to-image model with a distinctive **structured JSON prompt**: instead of a single sentence, the model is trained to read an overall scene description plus a list of regions, each with a bounding box and its own text. Invoke assembles this JSON for you.-- ### Installing Ideogram 4-- The weights are gated on HuggingFace under a **non-commercial license**. Open the model page, accept the terms, and make sure your HuggingFace token is [set up in the config file] before installing. Two bundled builds are available:-- - [`ideogram-ai/ideogram-4-nf4`](https://huggingface.co/ideogram-ai/ideogram-4-nf4) — nf4 quantized, **CUDA only**, fits in 24 GB VRAM. Recommended for NVIDIA GPUs.- - [`ideogram-ai/ideogram-4-fp8`](https://huggingface.co/ideogram-ai/ideogram-4-fp8) — fp8 quantized, runs on **any device**, with higher memory use.-- Paste either repo ID into the Model Manager's HuggingFace / URL field to install. Each folder carries everything Ideogram 4 needs.-- #### Single files-- Comfy-Org's [`Comfy-Org/Ideogram-4`](https://huggingface.co/Comfy-Org/Ideogram-4) repackage is ungated (the same non-commercial license still applies) and ships the parts separately. Ideogram 4 runs **two** transformers — a conditional branch and an unconditional one, both active at every step — so a single-file install is four models, and each starter installs all four together:-- - `diffusion_models/ideogram4_<build>.safetensors` — the conditional branch, selected as the model- - `diffusion_models/ideogram4_unconditional_<build>.safetensors` — the unconditional branch- - `text_encoders/qwen3vl_8b_fp8_scaled.safetensors` — the Qwen3-VL **8B** encoder (not the 4B one Krea-2 uses). A llama.cpp GGUF of the 8B encoder works as well; see [Qwen3-VL GGUF encoders](/users-guide/models/local-models/krea-2/#qwen3-vl-gguf-encoders).- - `vae/flux2-vae.safetensors` — the 32-channel VAE, shared with FLUX.2, which is why it installs under the FLUX.2 base-- Pick the unconditional branch, the encoder and the VAE in the **Components** section next to the model — and pick the unconditional branch of the *same* build as the model. The `nvfp4` repackage in that repo is **not** supported yet and is refused at install.-- Which branch a file holds is read from the file itself, and from the filename for a build that does not record it, so keep these names as published.-- Two builds of the transformers are supported, and they behave differently in memory:-- | | download, per branch | resident, per branch |- |---|---|---|- | **Ideogram 4 (single file, int8)** — `int8_convrot` | 8.9 GB | **8.9 GB**, on every device |- | **Ideogram 4 (single file, fp8)** — `fp8_scaled` | 8.6 GB | **8.7 GB** with `fp8_compute` *or* FP8 Storage; 17.3 GB with neither |-- Both branches are resident at once, so double those figures for the pair.-- :::note[Which to pick]- **On an NVIDIA Ada card (RTX 40-series) or newer, with `fp8_compute` enabled**, take the fp8 build: the two are a wash on memory, and fp8 is the faster one because its weights stay quantized *and* run on the fp8 tensor cores. Measured at 1024px on a 4090, 12 steps: **35.6 s** for the fp8 pair against **45.7 s** for the int8 pair.-- **Without the fp8 matmul, the fp8 build still works — through FP8 Storage.** That setting keeps the file's own fp8 weights and per-tensor scales instead of expanding them, and installation switches it on for these files by itself. Measured on a 4090 with `fp8_compute` off, 1024px: **40.6 s**, 22.9 GB peak, 8.7 GB resident per branch — against **45.7 s** for the int8 pair. With *neither* the matmul nor Storage the weights are expanded to bf16 on load, 17.3 GB per branch, and a 24 GB card runs out of memory during the first step.-- **Use int8 where FP8 Storage is not available.** It requires a CUDA or Intel XPU device; on anything else the fp8 build falls back to the expanded path, while int8 keeps its stored codes and dequantizes them per forward on any device with no setting to turn on.-- On a 24 GB NVIDIA card without the fp8 matmul (RTX 30-series), the int8 pair plus the 8B encoder still adds up to more than the card holds, so the bundled [nf4 build](#installing-ideogram-4) remains the smaller option there.- :::-- ### Memory use during generation-- Ideogram 4 keeps both transformer branches loaded for the whole generation. With the single-file builds on a CUDA or ROCm GPU (with partial loading on, the default), InvokeAI checks whether the pair fits next to the working memory a generation needs. If it does not, it keeps only part of the second branch on the GPU and streams the rest in each step. On a 24 GB card with the fp8 pair this keeps about 2.4 GB free instead of 1.2 GB. The bundled nf4 and fp8 folders are not affected. Three things follow:-- - A streamed layer computes on a slightly different path, so images at the same seed can differ from those generated with both branches fully on the GPU.- - If generations still run out of memory, raise `device_working_mem_gb` in `invokeai.yaml` (for example to `8`).- - If you set `max_cache_vram_gb`, InvokeAI does not limit the second branch this way, because the cache already plans from that limit.-- ### Prompting Ideogram 4-- When an Ideogram 4 model is selected, Invoke builds the structured JSON prompt automatically:-- - The **positive prompt** becomes the overall scene description.- - Each enabled **Regional Guidance** layer on the Canvas contributes one element: its drawn box becomes the region's bounding box and its prompt becomes that region's description. Draw a box where you want something and describe it there.- - To drive the model directly, paste a **raw JSON** object into the prompt box — anything starting with `{` is passed through unchanged.-- The exact JSON that was encoded is stored in the image metadata as **Structured Caption**, and can be recalled straight back into the prompt box from the metadata viewer.-- :::note[No negative prompt]- Ideogram 4 does not use a negative prompt — it has a dedicated unconditional branch instead, so the negative prompt box has no effect.- :::-- ### Generation settings-- - **Sampler Preset** — the primary quality/speed control. `Quality (48 steps)`, `Default (20 steps)`, and `Turbo (12 steps)` each bundle a step count, a guidance schedule, and the schedule shift.- - **Advanced** overrides (all optional, leave on *Auto* to use the preset's values): **Steps**, **Guidance Scale**, **Schedule Shift (mu)**, and a **Color Palette** that biases the generated colors.-- :::caution[Built-in safety filter]- Ideogram 4 ships with a **content safety filter baked into the released model weights**. When it triggers, the model outputs a placeholder image reading *"Image blocked by safety filter"* instead of your image. This is the model's own filter — it is **not** Invoke's NSFW checker (it fires even with the NSFW checker off) and cannot be disabled from Invoke.-- The filter is known to **false-positive on completely benign prompts**, and the quantized builds can trigger it more readily. Invoke always sends the model a structured JSON prompt, which tends to trip the filter less than plain text; if you hit it, rephrasing or adjusting the prompt usually clears it.- :::-- ## ERNIE-Image-- ERNIE-Image is Baidu's 8B text-to-image model, available as **ERNIE-Image** (50 steps, CFG 4.0) and the distilled **ERNIE-Image Turbo** (8 steps, CFG off). Both are in the starter models in two forms:-- - **Diffusers pipelines** (`baidu/ERNIE-Image`, `baidu/ERNIE-Image-Turbo`) — everything in one folder, including the prompt enhancer.- - **Single files** from Comfy-Org (~16 GB each) — the transformer alone. The starter installs it together with the **ERNIE-Image Ministral Encoder** (Ministral 3B, ~7.7 GB) and the FLUX.2 VAE. Select the encoder and the VAE in the **Components** section next to the model. The single files have no prompt enhancer.-- The Ministral 3B encoder is not the Mistral Small 3 encoder FLUX.2 uses, and the two cannot replace each other. The prompt enhancer from the diffusers folder has the same shape as the encoder but is refused as one, with a message naming the file to install instead.-## Editing model metadata- Every model has an editable **Source URL** field alongside its name and description. Use it to record where a model came from — for example a Civitai or HuggingFace page — independent of how it was originally installed. The URL is editable from the model's **Edit** view and appears as a clickable link in the model header once set. Models without a URL simply hide the field.+ Every model has an editable **Source URL** field alongside its name+ and description. Use it to record where a model came from — for+ example a Civitai or HuggingFace page — independent of how it was+ originally installed. The URL is editable from the model's **Edit**+ view and appears as a clickable link in the model header once+ set. Models without a URL simply hide the field.- This is purely metadata: the URL has no effect on loading and is not used to refresh or reinstall the model. It is mainly useful for going back to the model's documentation, license, or example prompts later.+ This is purely metadata: the URL has no effect on loading and is not+ used to refresh or reinstall the model. It is mainly useful for going+ back to the model's documentation, license, or example prompts later.## Bulk actions in the Model Managerdiff --cc docs/src/content/docs/Users Guide/03.Models/02.model-families.mdxindex 0000000000,8cf58fdad8..f6809c3f6dmode 000000,100644..100644--- a/docs/src/content/docs/Users Guide/03.Models/02.model-families.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/02.model-families.mdx@@@ -1,0 -1,119 +1,135 @@@+ ---+ title: Model Formats and Families+ description: An overview of the models InvokeAI supports — checkpoint, Diffusers and quantized formats, the components that make up a model, and the model families with their licenses.+ lastUpdated: 2026-09-30+ sidebar:+ order: 2+ ---++ There are a bewildering number of model families, types and formats. This page provides a brief overview of the models that InvokeAI supports: the formats they come in, the components that make up a model, and the families of models, each with its own page under **Local Models**.++ ## Checkpoints vs Diffusers Formats++ Model weights are distributed in two main layouts, and InvokeAI+ installs both:++ * **Diffusers** -- A folder, usually a HuggingFace repository, laid+ out the way the HuggingFace `diffusers` library expects. Each+ component of the model (the denoiser, the VAE, the text encoders,+ the tokenizers and the scheduler settings) lives in its own+ subfolder with its own configuration file. A Diffusers install is+ self-contained: everything the model needs comes with it. Install+ one by pasting its repository ID, such as+ `stabilityai/stable-diffusion-xl-base-1.0`, into the Model Manager.+ * **Checkpoint** (single file) -- One file, usually `.safetensors`+ (older models may use `.ckpt` or `.pt`), holding the weights of one+ or more components. This is the usual format on Civitai. Single-file+ checkpoints for Stable Diffusion 1.x and SDXL generally include the+ VAE and text encoders. Checkpoints for most newer architectures+ contain only the transformer, so you also have to install the VAE+ and text encoder that go with them, either separately or as part of+ the family's starter bundle.++ Newer models are often distributed in **quantized** forms, which+ store the weights at reduced precision to save disk space and+ VRAM. InvokeAI recognizes several of these, including **GGUF** files+ (named for their quantization level, such as `Q4_K_M` or `Q8_0`),+ **fp8**, **int8** and **nf4** builds. Like other single-file+ checkpoints, a quantized file usually carries only the transformer+ and needs separately installed companions. Lower precision trades a+ little image quality for a large saving in memory; each model family's+ page lists the builds it supports.+++### Quantized formats++++InvokeAI recognizes the format from the file's contents, so you install them like any other model:++++- **GGUF** (`.gguf`, llama.cpp quantization such as Q4_K or Q8_0): weights stay packed in memory and are unpacked layer by layer during generation. Supported for the FLUX.1, FLUX.2, Z-Image, Krea-2, Qwen-Image and Wan transformers, and for the T5, Qwen3, Qwen3-VL, Mistral and Gemma 2 text encoders.++- **NF4** (bitsandbytes): 4-bit, CUDA only.++- **SDNQ**: see [SDNQ Quantization](/configuration/optimization/sdnq-quantization/).++- **int8** (`int8_convrot`, from ComfyUI repackages): the weights stay int8 in memory on every device, including Apple Silicon, and need no setting to turn on. Supported for FLUX.1, FLUX.2 Klein, Z-Image, Krea-2, Ideogram 4, MiniMax H3, LTX-2 and the PiD decoders, and for the Qwen3 8B, Qwen3-VL and LTX-2 Gemma encoders.++- **nvfp4** (4-bit, in ComfyUI's checkpoint format, such as Comfy-Org's builds; other nvfp4 exports such as AWQ are refused): the weights stay packed in memory and are unpacked per layer, so no special GPU is needed. Supported for the Z-Image, Krea-2, Qwen-Image and LTX-2 transformers and for the Qwen3, Qwen2.5-VL and FLUX.2 Mistral encoders; the Ideogram 4 nvfp4 files are refused at install.++- **fp8** (plain or `fp8_scaled`): InvokeAI keeps the weights in fp8 when [FP8 Storage](/configuration/optimization/fp8-storage/) is on, which installation does for you, or when `fp8_compute` is enabled.++- **MXFP8** (fp8 with one scale per block of 32 weights): loaded by unpacking to BF16. Turn FP8 Storage off for these; see the [FP8 Storage caution](/configuration/optimization/fp8-storage/).++++Text encoders for Qwen-Image, Z-Image, Krea-2 and Ideogram 4 bring their tokenizer and configuration with InvokeAI, so single-file and GGUF encoders load without network access.++++### Converting to Diffusers+++ A single-file Stable Diffusion 1.x, 2.x or SDXL model can be converted+ to Diffusers format with the **Convert to diffusers** action in the+ model's detail view. Conversion replaces the single file with an+ equivalent Diffusers folder. Converting is optional: InvokeAI runs+ the single-file checkpoint directly.++ ## Submodels++ What we call "a model" is really a pipeline of several cooperating+ networks, called submodels or components. The prompt is split into+ tokens and turned into numbers by the text encoder. The denoiser then+ starts from random noise and, over a series of steps, gradually shapes+ it into an image guided by those numbers. It works in a compressed+ "latent" space rather than on pixels, so at the end the VAE decodes+ the result into the image you see.++ A Diffusers install carries all of these components together. With+ single-file and quantized installs you often pick some of them+ yourself. They appear as separate models in the Model Manager, and+ generation panels show slots for them (for example **VAE**, **Text+ encoder** or **Model components**) when the selected model needs+ them. Several families share components: FLUX.2 and Ideogram 4 use+ the same VAE, for example, so one download can serve both.++ | Component | What it does |+ |---|---|+ | **Denoiser** (UNet or transformer) | The core of the model and by far the largest part. At each step it predicts how to remove noise from the latent image, steered by the encoded prompt. Older models (SD 1.x, SDXL) use a convolutional **UNet**; newer ones use a **diffusion transformer** (DiT). Some models use two: the Wan 2.2 A14B models hand off from a high-noise expert to a low-noise expert partway through, and Ideogram 4 runs a conditional and an unconditional transformer side by side. |+ | **VAE** (variational autoencoder) | Translates between pixels and latents. The encoder half compresses an input image (for image-to-image, inpainting or a video's first frame) into latents; the decoder half turns the finished latents back into pixels. A different VAE can change color and fine detail. |+ | **Tokenizer** | Splits the prompt into tokens, the word pieces the text encoder understands. It is a small vocabulary file rather than a neural network, and it always comes with its text encoder. |+ | **Text encoder** | Turns the tokens into embeddings that tell the denoiser what to draw. Older models use CLIP; newer ones use large language models such as T5, Qwen3, Mistral or Gemma, which understand long, detailed prompts much better. These can be as large as the denoiser, and several families let you run them from a separately installed, quantized file. SDXL and FLUX.1 combine two encoders. |+ | **Image encoder** | Turns a reference image into embeddings the denoiser can use, the way a text encoder does for text. Used by IP-Adapters and FLUX Redux (CLIP Vision or SigLIP) to carry the style or content of a reference image. Vision-language text encoders such as Qwen-VL read reference images directly, which is how image-editing models like Qwen Image Edit see the image they edit. |+ | **Scheduler** | The algorithm that decides how much noise to remove at each step. It is configuration rather than a network; you can pick a different scheduler for many models in the generation settings. |+ | **Audio VAE** | Video-with-audio models only (LTX-2, MiniMax H3). The audio counterpart of the VAE: it encodes and decodes the latent form of the soundtrack that is denoised alongside the video. |+ | **Vocoder** | LTX-2 only. Converts the decoded audio spectrogram into a playable waveform. MiniMax H3's audio VAE produces a waveform directly and needs no vocoder. |+ | **Connectors** | LTX-2 only. A small network that adapts the Gemma text encoder's output, taken from every layer, into the form the LTX-2 transformer expects. |+ | **Latent upsampler** | LTX-2 only. Enlarges the latent video between the two passes of two-stage generation, so the second pass can refine at higher resolution. |++ ## Model Families++ Every main model belongs to a family, also called its **base** or+ architecture. The family determines which components, LoRAs,+ ControlNets and other add-ons work with the model: a LoRA trained for+ SDXL cannot be used with FLUX.1, for example. InvokeAI detects the+ family when you install a model, shows it as a colored badge in the+ Model Manager, and only offers add-ons that match the selected main+ model.++ Families differ widely in size, speed and specialty. Older families+ such as SD 1.5 and SDXL run on modest hardware and have huge+ libraries of community fine-tunes, LoRAs and ControlNets. Newer+ families follow long prompts more faithfully and render text better,+ but need more VRAM. Many newer families also come in distilled+ "Turbo" or "Lightning" variants that trade some flexibility for much+ faster generation.++ | Family | Generates | Highlights | License | Details |+ |---|---|---|---|---|+ | **Stable Diffusion 1.x / 2.x** | Images | The original open model family. Small and fast, with the largest library of fine-tunes, LoRAs, ControlNets and IP-Adapters. Best at 512×512. | OpenRAIL-M; varies by fine-tune | [SD 1.5 / 2.x](/users-guide/models/local-models/stable-diffusion-1-2/) |+ | **SDXL** | Images | Higher-resolution successor to SD 1.5 (1024×1024) with a similarly rich ecosystem of add-ons. An optional refiner model, used in the workflow editor, polishes fine detail. | OpenRAIL++-M; varies by fine-tune | [SDXL](/users-guide/models/local-models/sdxl/) |+ | **Stable Diffusion 3.5** | Images | Medium and Large transformer models from Stability AI, with three text encoders. | Community, free under $1M revenue | [SD 3.5](/users-guide/models/local-models/sd-3/) |+ | **FLUX.1** | Images | Dev, Schnell, Kontext (image editing) and Krea variants, plus Fill (inpainting, workflow editor only) and Redux, with ControlNets and IP-Adapters. | schnell: Apache 2.0; others non-commercial | [FLUX.1](/users-guide/models/local-models/flux-1/) |+ | **FLUX.2** | Images | Klein 4B and 9B, and the much larger [dev]. Generates and edits images from reference images. | Klein 4B: Apache 2.0; Klein 9B and [dev] non-commercial | [FLUX.2](/users-guide/models/local-models/flux-2/) |+ | **CogView4** | Images | THUDM's 6B text-to-image model with a GLM text encoder. Basic support, without LoRAs, ControlNets or reference images. | Apache 2.0 | [CogView4](/users-guide/models/local-models/cogview4/) |+ | **Z-Image** | Images | 6B model in a fast, few-step Turbo variant and a Base variant. Understands English and Chinese prompts, with ControlNets. | Apache 2.0 | [Z-Image](/users-guide/models/local-models/z-image/) |+ | **ERNIE-Image** | Images | Baidu's 8B text-to-image model, in standard and distilled Turbo variants. | Apache 2.0 | [ERNIE-Image](/users-guide/models/local-models/ernie-image/) |+ | **Qwen Image** | Images | Text-to-image (2512) and instruction-based image editing (Edit 2511), with fast Lightning variants. | Apache 2.0 | [Qwen Image](/users-guide/models/local-models/qwen-image/) |+ | **Krea-2** | Images | 12B model in fast Turbo and undistilled Raw variants, with training-free style reference. | Community, free under $1M revenue | [Krea-2](/users-guide/models/local-models/krea-2/) |+ | **Ideogram 4** | Images | Structured prompts that place described elements in regions of the image. | Non-commercial | [Ideogram 4](/users-guide/models/local-models/ideogram4/) |+ | **Anima** | Images | Compact 2B anime-focused model, with ControlNet-LLLite adapters for inpainting and sketch guidance. | Non-commercial | [Anima](/users-guide/models/local-models/anima/) |+ | **Wan 2.2** | Video, images | Text-to-video and image-to-video, including first/last-frame interpolation. Can also generate single images. | Apache 2.0 | [Wan 2.2](/users-guide/video-generation/wan-22/) |+ | **LTX-2** | Video with audio | Video with a synchronized soundtrack, audio-to-video and video-to-audio, keyframes and extension. | Community, free under $10M revenue | [LTX-2](/users-guide/video-generation/ltx-2/) |+ | **MiniMax H3** | Video with audio | Video with a stereo soundtrack, from first/last frames or from up to 12 reference images and videos. | Community, with conditions | [MiniMax H3](/users-guide/video-generation/minimax-h3/) |++ The video families are described in the [Video+ Generation](/users-guide/video-generation/introduction/) section, and+ are also listed under Local Models in the sidebar.+diff --cc docs/src/content/docs/Users Guide/03.Models/Local Models/ernie-image.mdxindex 0000000000,c47a8a99ba..6fb48f7d83mode 000000,100644..100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/ernie-image.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/ernie-image.mdx@@@ -1,0 -1,105 +1,107 @@@+ ---+ title: ERNIE-Image+ description: Generate images with Baidu's ERNIE-Image and ERNIE-Image Turbo, from the Diffusers pipelines or the single-file transformers.+ lastUpdated: 2026-09-30+ sidebar:+ order: 3+ ---++ ERNIE-Image is Baidu's 8B single-stream diffusion-transformer text-to-image family. It encodes prompts+ with a **Ministral 3B** text encoder and decodes with the 32-channel **FLUX.2 VAE**. Two checkpoints are+ supported:++ - **ERNIE-Image** is the undistilled model. It runs at **50 steps** with **CFG 4.0** and supports negative+ prompts.+ - **ERNIE-Image Turbo** is the distilled variant with the same architecture, tuned for **8 steps** with+ **CFG disabled** (CFG Scale `1.0`).++ ERNIE-Image is **text-to-image only**. It can be used in the Generate tab and in the workflow editor, but+ not for image-to-image, inpainting or outpainting on the Canvas.++ ## License++ ERNIE-Image, ERNIE-Image Turbo and the Ministral 3B text encoder are released under **Apache 2.0**, which allows commercial use. None of the downloads is gated.++ This is a summary, not legal advice. Read the full license on the model's HuggingFace page before using a model commercially.++ ## Hardware+-ERNIE-Image is not yet listed in the [System Requirements](/start-here/system-requirements/) table. For-scale: the single-file transformer alone is about 16 GB and the standalone Ministral 3B encoder about-7.7 GB. On smaller cards, [Low-VRAM mode](/configuration/optimization/low-vram-mode/) lets InvokeAI-stream models that don't fit entirely in VRAM.++See the [System Requirements](/start-here/system-requirements/) table. For scale: the single-file++transformer alone is about 16 GB and the standalone Ministral 3B encoder about 7.7 GB. On smaller++cards, [Low-VRAM mode](/configuration/optimization/low-vram-mode/) lets InvokeAI stream models that++don't fit entirely in VRAM.++ ## Installing++ The easiest path is the **ERNIE-Image** bundle in the Model Manager. It installs **ERNIE-Image Turbo** as a+ Diffusers pipeline. The undistilled ERNIE-Image is left out of the bundle because of its size, but it can+ be installed individually from the starter models.++ ERNIE-Image needs three components:++ | Component | Diffusers install | Single-file install |+ | --------------------------- | ----------------- | -------------------- |+ | Transformer | bundled | the `.safetensors` file |+ | Text encoder (Ministral 3B) | bundled | installed separately |+ | VAE (FLUX.2) | bundled | installed separately |++ The starter models:++ | Starter | Source | Also installs |+ | ------------------------------- | ----------------------------------------- | -------------------------------------- |+ | ERNIE-Image | `baidu/ERNIE-Image` (Diffusers) | nothing, everything is bundled |+ | ERNIE-Image Turbo | `baidu/ERNIE-Image-Turbo` (Diffusers) | nothing, everything is bundled |+ | ERNIE-Image (single file) | Comfy-Org single file (~16 GB) | Ministral 3B encoder + FLUX.2 VAE |+ | ERNIE-Image Turbo (single file) | Comfy-Org single file (~16 GB) | Ministral 3B encoder + FLUX.2 VAE |++ The Diffusers pipelines also carry a prompt-enhancer model (see [Prompt enhancer](#prompt-enhancer)); the+ single files do not. GGUF and quantized single files are not supported.++ When a single-file ERNIE-Image model is selected, the **Components** section next to the model asks for:++ - **Mistral Encoder**: the **ERNIE-Image Ministral Encoder** starter. Ministral 3B is a different- architecture from the Mistral Small 3 encoder FLUX.2 uses, and the two are not interchangeable.++ architecture from the Mistral Small 3 encoder FLUX.2 uses, and the two are not interchangeable. The++ prompt enhancer from the Diffusers folder has the same shape as the encoder but is refused as one, with++ a message naming the file to install instead.+ - **VAE**: a FLUX.2 VAE. ERNIE-Image uses the same VAE as FLUX.2, which is why it installs under the+ FLUX.2 base.++ :::note[Turbo is recognized by name]+ ERNIE-Image and ERNIE-Image Turbo share an architecture, so InvokeAI can't tell them apart from the+ weights. A model whose name contains **turbo** gets the Turbo defaults (8 steps, CFG 1.0); any other name+ gets the base defaults. If you install a Turbo checkpoint under another name, adjust the steps and CFG in+ its Default Settings.+ :::++ ## Generation settings++ Selecting an ERNIE-Image model applies these defaults:++ | Model | Steps | CFG Scale | Scheduler | Size |+ | ----------------- | ----- | --------- | --------- | --------- |+ | ERNIE-Image | 50 | 4.0 | Euler | 1024×1024 |+ | ERNIE-Image Turbo | 8 | 1.0 | Euler | 1024×1024 |++ - **CFG Scale**: `1.0` turns CFG off. Values below `1.0` are not accepted.+ - **Negative prompt**: only used when CFG Scale is above `1.0`. With Turbo at `1.0` it has no effect.+ - **Schedulers**: *Euler* (the default), *Heun (2nd order)* and *LCM*.+ - **Resolution**: width and height must be multiples of 16.++ LoRA, ControlNet, reference images and regional prompting are not available for ERNIE-Image.++ ## Prompt enhancer++ The Diffusers ERNIE-Image pipelines include a prompt-enhancer language model that rewrites a short prompt+ into a more detailed one, sized for the target width and height. The Generate tab does not use it. To use+ it, build a workflow:++ 1. In **Main Model - ERNIE-Image**, leave **Use Prompt Enhancer** on (the default) and select a Diffusers+ ERNIE-Image model.+ 2. Connect its **Prompt Enhancer** output to a **Prompt Enhancer - ERNIE-Image** node, and give that node+ your prompt and the target width and height. **Temperature** (default `0.6`) and **Top P** (default+ `0.95`) control how freely it rewrites.+ 3. Feed the rewritten prompt into **Prompt - ERNIE-Image**, then on to **Denoise - ERNIE-Image** and+ **Latents to Image - ERNIE-Image**.++ If no prompt enhancer is connected, for example with a single-file model, the node passes the prompt+ through unchanged. The rewritten prompt is written to the server log.diff --cc docs/src/content/docs/Users Guide/03.Models/Local Models/ideogram4.mdxindex 0000000000,2e0a872f0e..35d32a74a1mode 000000,100644..100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/ideogram4.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/ideogram4.mdx@@@ -1,0 -1,83 +1,91 @@@+ ---+ title: Ideogram 4+ description: Generate images with the Ideogram 4 text-to-image models.+ lastUpdated: 2026-09-30+ sidebar:+ order: 6+ ---+ ## Ideogram 4++ Ideogram 4 is an open-weight text-to-image model with a distinctive **structured JSON prompt**: instead of a single sentence, the model is trained to read an overall scene description plus a list of regions, each with a bounding box and its own text. Invoke assembles this JSON for you.++ ### License++ Ideogram 4 is released under the **Ideogram 4 Non-Commercial License**. The weights may not be used commercially, and outputs may not be used to build competing models. Ideogram claims no rights in images you generate, but the license does not explicitly grant commercial use of them. The ideogram-ai repositories are gated; the Comfy-Org copy is not, but the same license applies.++ This is a summary, not legal advice. Read the full license on the model's HuggingFace page before using a model commercially.++ ### Installing Ideogram 4+-The weights are gated on HuggingFace under a **non-commercial license**. Open the model page, accept the terms, and make sure your HuggingFace token is [set up in the config file] before installing. Two bundled builds are available:++The weights are gated on HuggingFace under a **non-commercial license**. Open the model page, accept the terms, and make sure your HuggingFace token is [set up in the config file](/configuration/invokeai-yaml/) before installing. Two bundled builds are available:++ - [`ideogram-ai/ideogram-4-nf4`](https://huggingface.co/ideogram-ai/ideogram-4-nf4) — nf4 quantized, **CUDA only**, fits in 24 GB VRAM. Recommended for NVIDIA GPUs.+ - [`ideogram-ai/ideogram-4-fp8`](https://huggingface.co/ideogram-ai/ideogram-4-fp8) — fp8 quantized, runs on **any device**, with higher memory use.++ Paste either repo ID into the Model Manager's HuggingFace / URL field to install. Each folder carries everything Ideogram 4 needs.++ #### Single files++ Comfy-Org's [`Comfy-Org/Ideogram-4`](https://huggingface.co/Comfy-Org/Ideogram-4) repackage is ungated (the same non-commercial license still applies) and ships the parts separately. Ideogram 4 runs **two** transformers — a conditional branch and an unconditional one, both active at every step — so a single-file install is four models, and each starter installs all four together:++ - `diffusion_models/ideogram4_<build>.safetensors` — the conditional branch, selected as the model+ - `diffusion_models/ideogram4_unconditional_<build>.safetensors` — the unconditional branch-- `text_encoders/qwen3vl_8b_fp8_scaled.safetensors` — the Qwen3-VL **8B** encoder (not the 4B one Krea-2 uses)++- `text_encoders/qwen3vl_8b_fp8_scaled.safetensors` — the Qwen3-VL **8B** encoder (not the 4B one Krea-2 uses). A llama.cpp GGUF of the 8B encoder works as well; see [Qwen3-VL GGUF encoders](/users-guide/models/local-models/krea-2/#qwen3-vl-gguf-encoders).+ - `vae/flux2-vae.safetensors` — the 32-channel VAE, shared with FLUX.2, which is why it installs under the FLUX.2 base++ Pick the unconditional branch, the encoder and the VAE in the **Components** section next to the model — and pick the unconditional branch of the *same* build as the model. The `nvfp4` repackage in that repo is **not** supported yet and is refused at install.++ Which branch a file holds is read from the file itself, and from the filename for a build that does not record it, so keep these names as published.++ Two builds of the transformers are supported, and they behave differently in memory:++ | | download, per branch | resident, per branch |+ |---|---|---|+ | **Ideogram 4 (single file, int8)** — `int8_convrot` | 8.9 GB | **8.9 GB**, on every device |+ | **Ideogram 4 (single file, fp8)** — `fp8_scaled` | 8.6 GB | **8.7 GB** with `fp8_compute` *or* FP8 Storage; 17.3 GB with neither |++ Both branches are resident at once, so double those figures for the pair.++ :::note[Which to pick]+ **On an NVIDIA Ada card (RTX 40-series) or newer, with `fp8_compute` enabled**, take the fp8 build: the two are a wash on memory, and fp8 is the faster one because its weights stay quantized *and* run on the fp8 tensor cores. Measured at 1024px on a 4090, 12 steps: **35.6 s** for the fp8 pair against **45.7 s** for the int8 pair.++ **Without the fp8 matmul, the fp8 build still works — through FP8 Storage.** That setting keeps the file's own fp8 weights and per-tensor scales instead of expanding them, and installation switches it on for these files by itself. Measured on a 4090 with `fp8_compute` off, 1024px: **40.6 s**, 22.9 GB peak, 8.7 GB resident per branch — against **45.7 s** for the int8 pair. With *neither* the matmul nor Storage the weights are expanded to bf16 on load, 17.3 GB per branch, and a 24 GB card runs out of memory during the first step.+-**Use int8 where FP8 Storage is not available.** It requires a CUDA device; on anything else the fp8 build falls back to the expanded path, while int8 keeps its stored codes and dequantizes them per forward on any device with no setting to turn on.++**Use int8 where FP8 Storage is not available.** It requires a CUDA or Intel XPU device; on anything else the fp8 build falls back to the expanded path, while int8 keeps its stored codes and dequantizes them per forward on any device with no setting to turn on.++ On a 24 GB NVIDIA card without the fp8 matmul (RTX 30-series), the int8 pair plus the 8B encoder still adds up to more than the card holds, so the bundled [nf4 build](#installing-ideogram-4) remains the smaller option there.+ :::+++### Memory use during generation++++Ideogram 4 keeps both transformer branches loaded for the whole generation. With the single-file builds on a CUDA or ROCm GPU (with partial loading on, the default), InvokeAI checks whether the pair fits next to the working memory a generation needs. If it does not, it keeps only part of the second branch on the GPU and streams the rest in each step. On a 24 GB card with the fp8 pair this keeps about 2.4 GB free instead of 1.2 GB. The bundled nf4 and fp8 folders are not affected. Three things follow:++++- A streamed layer computes on a slightly different path, so images at the same seed can differ from those generated with both branches fully on the GPU.++- If generations still run out of memory, raise `device_working_mem_gb` in `invokeai.yaml` (for example to `8`).++- If you set `max_cache_vram_gb`, InvokeAI does not limit the second branch this way, because the cache already plans from that limit.+++ ### Prompting Ideogram 4++ When an Ideogram 4 model is selected, Invoke builds the structured JSON prompt automatically:++ - The **positive prompt** becomes the overall scene description.+ - Each enabled **Regional Guidance** layer on the Canvas contributes one element: its drawn box becomes the region's bounding box and its prompt becomes that region's description. Draw a box where you want something and describe it there.+ - To drive the model directly, paste a **raw JSON** object into the prompt box — anything starting with `{` is passed through unchanged.++ The exact JSON that was encoded is stored in the image metadata as **Structured Caption**, and can be recalled straight back into the prompt box from the metadata viewer.++ :::note[No negative prompt]+ Ideogram 4 does not use a negative prompt — it has a dedicated unconditional branch instead, so the negative prompt box has no effect.+ :::++ ### Generation settings++ - **Sampler Preset** — the primary quality/speed control. `Quality (48 steps)`, `Default (20 steps)`, and `Turbo (12 steps)` each bundle a step count, a guidance schedule, and the schedule shift.+ - **Advanced** overrides (all optional, leave on *Auto* to use the preset's values): **Steps**, **Guidance Scale**, **Schedule Shift (mu)**, and a **Color Palette** that biases the generated colors.++ :::caution[Built-in safety filter]+ Ideogram 4 ships with a **content safety filter baked into the released model weights**. When it triggers, the model outputs a placeholder image reading *"Image blocked by safety filter"* instead of your image. This is the model's own filter — it is **not** Invoke's NSFW checker (it fires even with the NSFW checker off) and cannot be disabled from Invoke.++ The filter is known to **false-positive on completely benign prompts**, and the quantized builds can trigger it more readily. Invoke always sends the model a structured JSON prompt, which tends to trip the filter less than plain text; if you hit it, rephrasing or adjusting the prompt usually clears it.+ :::+diff --cc docs/src/content/docs/Users Guide/03.Models/Local Models/krea-2.mdxindex 239e66f188,de0f9fcff4..65e9e74b6d--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/krea-2.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/krea-2.mdx@@@ -1,9 -1,9 +1,9 @@@---title: Krea-2description: Generate images with the Krea-2 text-to-image models (Turbo and Raw), including the GGUF / single-file workflow, the conditioning enhancers and training-free style reference.-lastUpdated: 2026-08-20+lastUpdated: 2026-09-30sidebar:- order: 5+ order: 7---Krea-2 is a ~12B single-stream diffusion-transformer text-to-image family. InvokeAI supports bothdiff --cc docs/src/content/docs/Users Guide/04.Image Generation/upscale.mdxindex f7be21b168,0000000000..3179292b73mode 100644,000000..100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/upscale.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/upscale.mdx@@@ -1,46 -1,0 +1,46 @@@+---+title: Upscaling+lastUpdated: 2026-09-30+sidebar:- order: 7++ order: 8+---++The **Upscale** panel enlarges an image and adds detail in two passes. First a Spandrel upscaling model (such as a Real-ESRGAN variant) enlarges the image. Then a main model runs a short image-to-image pass over the result to invent detail that fits your prompt.++Open it from the left rail. It is available in the Compose, Edit and Video layouts.++## Setting up an upscale++The panel is split into sections, top to bottom:++- **Source & treatment**+ - **Source image**: pick an image from the gallery, drag one in, or upload one.+ - **Spandrel model**: the first-pass upscaler. Choose one suited to your image: photography, illustration or linework.+ - **Scale**: the output size is the source size multiplied by this value. The panel shows the resulting input and output size and warns when the output is large enough to need much more time and VRAM.+ - **Treatment preset**, or **Creativity** and **Structure** directly. Higher Creativity invents more detail and gives the prompt more influence. Higher Structure keeps the source composition more strictly; it is only shown for models that use a Tile ControlNet.+- **Detail guidance**: the prompt. It is the project prompt shared with Generate. For upscaling, describe the medium, texture and style rather than new content.+- **Generation**: the **Main model** for the detail pass (**SD1.5**, **SDXL** or **FLUX.1**), steps, CFG scale, scheduler, seed, and LoRAs that match the main model.+- **Advanced**: the components the main model needs (see below), tile size and tile overlap, VAE and VAE precision, and CLIP skip for SD1.5.++## What each model family needs++| | SD1.5 / SDXL | FLUX.1 |+|---|---|---|+| Tile ControlNet | Required: a Tile or Union ControlNet for the same family, under **Advanced** | Not used; the Structure slider is hidden |+| Negative prompt | Available | Not used; FLUX.1 ignores it, so it is hidden and not recorded |+| Other components | Taken from the main model | Every FLUX.1 model except an SDNQ pipeline needs a **T5 Encoder**, **CLIP Embed** and **VAE**, all under **Advanced**. SDNQ pipelines bring their own. FLUX Fill models cannot be used |+| Detail pass | Tile by tile | One pass over the whole image |++The panel says what is missing before you can queue, for example "Select a compatible Tile or Union ControlNet." or "This model needs a T5 encoder selected."++:::note[FLUX.1 output size]+FLUX.1 needs sizes that are a multiple of 16. When the enlarged image is not, the panel shrinks it slightly to the nearest fitting size before the detail pass — for example 2040 px becomes 2032 px.+:::++## Memory++For SD1.5 and SDXL the detail pass works in tiles, so the output can be much larger than what the model generates in one go. Larger tiles can improve continuity but need more VRAM; more tile overlap reduces seams but costs time and memory.++For FLUX.1 the detail pass runs over the whole image at once, so its memory use grows with the output size. There, **Tile size** only sets the tiles for the VAE encode and decode, and **Tile overlap** has no effect.++For all model families, encoding and decoding the enlarged image with the VAE runs in tiles. See [Low-VRAM mode](/configuration/optimization/low-vram-mode/) if you still run out of memory.diff --cc docs/src/content/docs/start-here/system-requirements.mdxindex 89663c79d8,ede60e15bb..903d213b49--- a/docs/src/content/docs/start-here/system-requirements.mdx+++ b/docs/src/content/docs/start-here/system-requirements.mdx@@@ -28,11 -28,9 +28,11 @@@ The requirements below are rough guidel| SDXL | 1024x1024 | Nvidia 20xx+ | 8GB | 16GB | || FLUX.1 | 1024x1024 | Nvidia 20xx+ | 10GB | 32GB | Download totals: NF4 ~12GB, int8 ~18GB, bf16 ~33GB. The int8 transformer is 11.5GB resident on any supported GPU, so it streams on a 10GB card || FLUX.2 Klein 4B | 1024x1024 | Nvidia 30xx+ | 12GB | 16GB | FP8 works with 8GB+; Diffusers + encoder |-| FLUX.2 Klein 9B | 1024x1024 | Nvidia 30xx+ | 12GB | 32GB | int8 9.5GB on any supported GPU; FP8 needs a 40xx **and** `fp8_compute` (off by default) to stay that small, else ~18GB. The Qwen3 8B encoder is 15GB and streams on a 12GB card |-| Z-Image Turbo | 1024x1024 | Nvidia 20xx+ | 8GB | 16GB | Q4_K / NVFP4 8GB; Q8/BF16 16GB+ |-| Krea-2 (Turbo / Raw) | 1024x1024 | Nvidia 40xx | 24GB | 32GB | FP8 works with 16GB+; GGUF Q4_K ~12GB. Diffusers ~26GB; GGUF needs a standalone VAE + Qwen3-VL encoder |+| FLUX.2 Klein 9B | 1024x1024 | Nvidia 30xx+ | 12GB | 32GB | int8 transformer ~9.5GB on any supported GPU; FP8 checkpoints stay about as small with FP8 Storage, which installation switches on. The Qwen3 8B encoder is 15GB (int8 7.6GB) and streams on a 12GB card |+| Z-Image Turbo | 1024x1024 | Nvidia 20xx+ | 8GB | 16GB | Q4_K / NVFP4 / int8 8GB (int8 ~6GB resident); Q8/BF16 16GB+ |+| Krea-2 (Turbo / Raw) | 1024x1024 | Nvidia 40xx | 24GB | 32GB | FP8 works with 16GB+; NVFP4 or GGUF Q4_K transformer ~7GB, plus the Qwen3-VL encoder (8.5GB bf16, ~2.8GB as GGUF Q4_K), int8 transformer 12.6GB. Diffusers ~26GB; single files need a standalone VAE + Qwen3-VL encoder (GGUF encoder ~2.8GB) |- | Ideogram 4 | 1024x1024 | Nvidia 30xx+ | 24GB | 32GB | Two transformers resident at once. nf4 build fits 24GB (CUDA only); single-file fp8 or int8 pair ~17.5GB plus the Qwen3-VL 8B encoder. See [Ideogram 4](/users-guide/models/introduction/#ideogram-4) |++| Ideogram 4 | 1024x1024 | Nvidia 30xx+ | 24GB | 32GB | Two transformers resident at once. nf4 build fits 24GB (CUDA only); single-file fp8 or int8 pair ~17.5GB plus the Qwen3-VL 8B encoder. See [Ideogram 4](/users-guide/models/local-models/ideogram4/) |+| ERNIE-Image | 1024x1024 | Nvidia 40xx | 24GB | 32GB | Single-file transformer ~16GB plus the Ministral 3B encoder ~7.7GB || Wan 2.2 A14B (T2V/I2V) | 1280x720 | Nvidia 30xx+ | 12GB | 32GB | Dual-expert MoE; Q4_K_M 12GB; Q8 18GB+; Diffusers requires 32GB+ || Wan 2.2 TI2V-5B | 1280x720 | Nvidia 20xx+ | 8GB | 16GB | Single transformer; Q4_K_M 6GB+; Q8 8GB+; Diffusers 12GB+ |