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
docs: add Generate panel guide and consolidate prompting pages
Lincoln Steinaaf0fd834b1a
diff --git a/docs/src/config/redirects.ts b/docs/src/config/redirects.tsindex 25f441dc0c..b39ff35f04 100644--- a/docs/src/config/redirects.ts+++ b/docs/src/config/redirects.ts@@ -19,7 +19,7 @@ const redirects: RedirectsConfig = {'/features/video-generation': '/users-guide/video-generation/introduction','/faq': '/troubleshooting/faq','/help/SAMPLER_CONVERGENCE': '/users-guide/image-generation/parameters',- '/help/diffusion': '/users-guide/image-generation/diffusion',+ '/help/diffusion': '/users-guide/image-generation/advanced-topics/diffusion','/help/gettingStartedWithAI': '/users-guide/image-generation/image-generation','/nodes/NODES': '/users-guide/workflows/editor-interface','/nodes/NODES_MIGRATION_V3_V4': '/development/guides/api-development',@@ -46,13 +46,13 @@ const redirects: RedirectsConfig = {'/development/front-end/state-management','/contributing/frontend/workflows': '/development/front-end/workflows',// Pages moved by the v7 documentation reorganization.- '/concepts/diffusion': '/users-guide/image-generation/diffusion',- '/concepts/dynamic-prompting': '/users-guide/image-generation/dynamic-prompting',+ '/concepts/diffusion': '/users-guide/image-generation/advanced-topics/diffusion',+ '/concepts/dynamic-prompting': '/users-guide/image-generation/prompting-guide','/concepts/image-generation': '/users-guide/image-generation/image-generation','/concepts/models': '/users-guide/models/introduction','/concepts/nodes-workflows': '/users-guide/workflows/introduction','/concepts/parameters': '/users-guide/image-generation/parameters',- '/concepts/prompt-syntax': '/users-guide/image-generation/prompt-syntax',+ '/concepts/prompt-syntax': '/users-guide/image-generation/prompting-guide','/concepts/prompting-guide': '/users-guide/image-generation/prompting-guide','/concepts/video-generation': '/users-guide/video-generation/introduction','/configuration/fp8-storage': '/configuration/optimization/fp8-storage',@@ -74,7 +74,7 @@ const redirects: RedirectsConfig = {'/features/external-models/openai': '/users-guide/models/external-models/openai','/features/external-models/seedream': '/users-guide/models/external-models/seedream','/features/gallery': '/users-guide/gallery/introduction',- '/features/hidiffusion': '/users-guide/image-generation/hidiffusion',+ '/features/hidiffusion': '/users-guide/image-generation/advanced-topics/hidiffusion','/features/hotkeys': '/users-guide/workbench/hotkeys','/features/image-storage-maintenance': '/users-guide/gallery/image-storage-maintenance','/features/intermediates': '/users-guide/image-generation/intermediates',@@ -82,7 +82,7 @@ const redirects: RedirectsConfig = {'/features/multi-user-mode/admin-guide': '/configuration/multi-user-mode/admin-guide','/features/multi-user-mode/api-guide': '/configuration/multi-user-mode/api-guide','/features/multi-user-mode/user-guide': '/configuration/multi-user-mode/user-guide',- '/features/pid-decode': '/users-guide/image-generation/pid-decode',+ '/features/pid-decode': '/users-guide/image-generation/advanced-topics/pid-decode','/features/prompt-tools': '/users-guide/image-generation/prompt-tools','/features/video-workflows': '/users-guide/video-generation/video-workflows','/features/workflows': '/users-guide/workflows/using_workflows',diff --git a/docs/src/content/docs/Users Guide/02.Projects/introduction.mdx b/docs/src/content/docs/Users Guide/02.Projects/introduction.mdxindex 5cabf5c01d..824f2b53a8 100644--- a/docs/src/content/docs/Users Guide/02.Projects/introduction.mdx+++ b/docs/src/content/docs/Users Guide/02.Projects/introduction.mdx@@ -25,7 +25,7 @@ Invoke saves projects automatically on the server, so there is no Save button to| Canvas layers and settings | Installed models || Open workflows, and which one is active | Your workflow library || Panel layout and floating widgets | Saved layout presets |-| Prompt history | Preferences, theme and hotkeys |+| Prompt history, and the Invoke routing (source and destination) | Preferences, theme and hotkeys || Widget settings, such as gallery filters | Boards other than the project's own || Project settings: **Use CPU noise**, **Antialias progress images** and the Preview's progress image toggle | Generate recipes || The project's board and the images and videos on it | |diff --git a/docs/src/content/docs/Users Guide/03.Models/Local Models/cogview4.mdx b/docs/src/content/docs/Users Guide/03.Models/Local Models/cogview4.mdxindex c339e24509..d115a0cdb3 100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/cogview4.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/cogview4.mdx@@ -42,7 +42,7 @@ When you select CogView4, InvokeAI applies the defaults from the model's referen- **No scheduler choice.** CogView4 uses its own flow-matching sampler, so the Scheduler control ishidden.- **Prompt weighting** (Compel syntax) does not apply to CogView4. See- [Prompt Syntax](/users-guide/image-generation/prompt-syntax/). The GLM encoder reads up to **1024+ [Prompt Syntax](/users-guide/image-generation/prompting-guide/#attention-weighting). The GLM encoder reads up to **1024tokens**, so long, descriptive prompts are fine.## Canvasdiff --git a/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-1.mdx b/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-1.mdxindex 2b5740e175..6787b97973 100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-1.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-1.mdx@@ -131,7 +131,7 @@ CLIP and T5 encoders.FLUX.1 latents can be decoded with a PiD decoder, which produces a 4× super-resolved image. Install *PiDDecoder FLUX (2K)* or *PiD Decoder FLUX (2K to 4K)*; see [PiD Super-Resolution-Decode](/users-guide/image-generation/pid-decode/).+Decode](/users-guide/image-generation/advanced-topics/pid-decode/).## Workflow nodesdiff --git a/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-2.mdx b/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-2.mdxindex 7f325f3937..c3ef4ff30f 100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-2.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-2.mdx@@ -143,7 +143,7 @@ FLUX.2 [dev]** (and their *Collection* versions).FLUX.2 Klein latents can be decoded with a PiD decoder for a 4× super-resolved image. Install *PiD DecoderFLUX.2 (2K)* or *PiD Decoder FLUX.2 (2K to 4K)*; see [PiD Super-Resolution-Decode](/users-guide/image-generation/pid-decode/).+Decode](/users-guide/image-generation/advanced-topics/pid-decode/).## Workflow nodesdiff --git a/docs/src/content/docs/Users Guide/03.Models/Local Models/qwen-image.mdx b/docs/src/content/docs/Users Guide/03.Models/Local Models/qwen-image.mdxindex 78f2c5a240..3341d11886 100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/qwen-image.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/qwen-image.mdx@@ -121,7 +121,7 @@ In the workflow editor use **Apply LoRA - Qwen Image** or **Apply LoRA Collectio## PiD super-resolution decode-Qwen Image works with [PiD Decode](/users-guide/image-generation/pid-decode/), which replaces the VAE+Qwen Image works with [PiD Decode](/users-guide/image-generation/advanced-topics/pid-decode/), which replaces the VAEdecode with a 4× super-resolving pixel diffusion. The *PiD Decoder Qwen-Image (2K to 4K)* and *PiD 1.5Decoder Qwen-Image (2K to 4K)* decoders (including an int8 build of the latter) are starter models.diff --git a/docs/src/content/docs/Users Guide/03.Models/Local Models/sd-3.mdx b/docs/src/content/docs/Users Guide/03.Models/Local Models/sd-3.mdxindex bdd551b2ce..8cd86180d0 100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/sd-3.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/sd-3.mdx@@ -69,7 +69,7 @@ reference settings:- **Negative prompts** are supported and always used.- **No scheduler choice.** SD3 always uses its own flow-matching sampler, so the Scheduler control ishidden.-- **Prompt weighting** (Compel syntax) does not apply to SD3. See [Prompt Syntax](/users-guide/image-generation/prompt-syntax/).+- **Prompt weighting** (Compel syntax) does not apply to SD3. See [Prompt Syntax](/users-guide/image-generation/prompting-guide/#attention-weighting).## Canvas@@ -81,7 +81,7 @@ reference images and regional guidance are **not** available for SD3. LoRAs areSD3 works with **PiD** decoding. PiD replaces the VAE decode with a 4× super-resolving pixel diffusionpass. Two decoders are available as starter models: **PiD Decoder SD3 (2K)** and **PiD Decoder SD3(2K to 4K)**. Each is about 5 GB and installs the shared Gemma-2 caption encoder as a dependency. See-[PiD Super-Resolution Decode](/users-guide/image-generation/pid-decode/).+[PiD Super-Resolution Decode](/users-guide/image-generation/advanced-topics/pid-decode/).## Workflow editordiff --git a/docs/src/content/docs/Users Guide/03.Models/Local Models/sdxl.mdx b/docs/src/content/docs/Users Guide/03.Models/Local Models/sdxl.mdxindex d6809f0665..62eeac03c0 100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/sdxl.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/sdxl.mdx@@ -77,7 +77,7 @@ Model Manager's **Default Settings**:- **Schedulers** — the full standard list (DDIM, DPM++ 2M Karras, DPM++ SDE Karras, Euler, EulerAncestral, UniPC, and so on) is available.- **Prompt syntax** — SDXL prompts support- [Compel weighting and prompt functions](/users-guide/image-generation/prompt-syntax/). The prompt is+ [Compel weighting and prompt functions](/users-guide/image-generation/prompting-guide/#attention-weighting). The prompt issent to both of SDXL's text encoders.The **Advanced** section of the Generate panel adds these controls for SDXL:@@ -87,7 +87,7 @@ The **Advanced** section of the Generate panel adds these controls for SDXL:image-to-image. This control is available only for SDXL.- **Seamless Tiling** — generates images that tile without visible seams, on the X axis, Y axis or both.- **HiDiffusion** — improves structure at higher resolutions (it is most noticeable at 1536px and- above). See [HiDiffusion](/users-guide/image-generation/hidiffusion/).+ above). See [HiDiffusion](/users-guide/image-generation/advanced-topics/hidiffusion/).- **PiD** — see [PiD decoding](#pid-decoding).CLIP Skip and CFG Rescale are not offered for SDXL.@@ -152,7 +152,7 @@ own negative prompt, and its own IP-Adapter reference images.SDXL supports NVIDIA's **PiD** decoder, which replaces the VAE decode with a 4× super-resolution decode.Install **PiD Decoder SDXL (2K to 4K)** from the starter models — only this 2K-to-4K preset exists forSDXL — and enable **PiD** in the Advanced section before generating. See-[PiD Decode](/users-guide/image-generation/pid-decode/) for details and limitations. In the workflow+[PiD Decode](/users-guide/image-generation/advanced-topics/pid-decode/) for details and limitations. In the workfloweditor, the corresponding node is **Latents to Image - SDXL + PiD (4x SR)**.## Upscalingdiff --git a/docs/src/content/docs/Users Guide/03.Models/Local Models/stable-diffusion-1-2.mdx b/docs/src/content/docs/Users Guide/03.Models/Local Models/stable-diffusion-1-2.mdxindex f98beaec88..bb77d49e9f 100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/stable-diffusion-1-2.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/stable-diffusion-1-2.mdx@@ -77,11 +77,11 @@ Model Manager's **Default Settings**:- **Resolution** — dimensions must be multiples of 8. An image size equivalent to 512×512 in pixelcount is recommended. For larger output, use the Upscale tool, or try- [HiDiffusion](/users-guide/image-generation/hidiffusion/).+ [HiDiffusion](/users-guide/image-generation/advanced-topics/hidiffusion/).- **Negative prompt** — fully supported.- **Schedulers** — the full standard list (DDIM, DPM++ 2M Karras, Euler, Euler Ancestral, UniPC, andso on) is available.-- **Prompt syntax** — SD prompts support [Compel weighting and prompt functions](/users-guide/image-generation/prompt-syntax/).+- **Prompt syntax** — SD prompts support [Compel weighting and prompt functions](/users-guide/image-generation/prompting-guide/#attention-weighting).The **Advanced** section of the Generate panel adds these SD-specific controls:@@ -93,7 +93,7 @@ The **Advanced** section of the Generate panel adds these SD-specific controls:- **VAE** and **VAE Precision** — override the model's bundled VAE, and choose fp16 (default) or fp32for encoding and decoding.- **HiDiffusion** — improves structure at higher resolutions. See- [HiDiffusion](/users-guide/image-generation/hidiffusion/).+ [HiDiffusion](/users-guide/image-generation/advanced-topics/hidiffusion/).## Inpainting modelsdiff --git a/docs/src/content/docs/Users Guide/03.Models/Local Models/z-image.mdx b/docs/src/content/docs/Users Guide/03.Models/Local Models/z-image.mdxindex 3edca6d334..24eada864d 100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/z-image.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/z-image.mdx@@ -86,7 +86,7 @@ Selecting a Z-Image model applies these defaults:- **Schedulers**: *Euler* (the default and recommended), *Heun (2nd order)* (better quality, about twice asslow) and *LCM*. LCM works with Turbo only and is not offered for Z-Image Base.- **Resolution**: width and height must be multiples of 16.-- **Prompt weighting**: Compel-style [prompt syntax](/users-guide/image-generation/prompt-syntax/) does not+- **Prompt weighting**: Compel-style [prompt syntax](/users-guide/image-generation/prompting-guide/#attention-weighting) does notapply to Z-Image. Write prompts in plain language.In the workflow editor, **Denoise - Z-Image** also has a **Shift** input that overrides the timestep@@ -135,4 +135,4 @@ Connect it between **Prompt - Z-Image** and the denoise node's positive conditio## PiD decodingZ-Image has no PiD decoder of its own and uses the **FLUX** PiD decoders, since it shares FLUX.1's VAE. See-[PiD Decode](/users-guide/image-generation/pid-decode/).+[PiD Decode](/users-guide/image-generation/advanced-topics/pid-decode/).diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/01.introduction.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/01.introduction.mdxindex 8b4cfa4750..974ebbaafb 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/01.introduction.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/01.introduction.mdx@@ -1,7 +1,196 @@---title: Generating and modifying still images-lastUpdated: 2029-09-29+description: A guided tour of the Generate panel — choosing a model, writing a prompt, setting size and render parameters, and using concepts, reference images and the prompt tools.+lastUpdated: 2026-09-30sidebar:order: 0---+import { Steps } from '@astrojs/starlight/components';+import { Image } from 'astro:assets';+import generatePanel from '../assets/generate-panel-overview.png';++The **Generate** panel is where you create still images from a text prompt. This page walks through it from top to bottom: choosing a model, writing a prompt and generating a first image, then refining the result with size, render settings, concepts and reference images, and finally the tools that help you write prompts.++The Generate panel sits in the left rail of the **Compose** layout (**Alt+1**), where finished images appear in the Preview in the center of the screen. It is also in the **Edit** layout (**Alt+2**), next to the Canvas. Press **1** to bring it to the front, or **Alt+A** to jump straight to its prompt. See [The Workbench](/users-guide/workbench/introduction/) for how layouts and panels work.++The panel is divided into sections: the model picker and prompts at the top, followed by **Size**, **Guidance**, **Render**, **Components** and **Advanced**. Which sections and fields you see depends on the selected model, and each section header shows a summary of its settings, so you can keep sections you rarely change collapsed.++<Image+ src={generatePanel}+ alt="The Generate panel with an SDXL model selected, a prompt and negative prompt entered, one concept added, and the Size, Guidance and Render sections open."+ width={400}+/>++## Selecting a model++The **Model** picker at the top of the panel lists the image generation models you have installed, grouped by model family. Type in **Search models…** to find one by name, family or description, or use the family chips to narrow the list. If the list is empty, install a model first; see [Managing media generation models](/users-guide/models/introduction/).++When you switch models, the panel keeps your prompt and settings and adjusts only what the new model cannot use: it snaps the size to the new model's grid, and turns off or removes concepts, reference images and options the model does not support. If anything would be lost, a **Switch model?** dialog lists it before you confirm. Switching does not load the new model's recommended settings; use [Reset all to model defaults](#resetting-to-defaults) for that.++### Model components++Many newer models are installed as a single file that holds only the main network, and need companion models, such as a text encoder and a VAE, to generate. For these models the panel shows a **Components** section with a slot for each companion model. A Diffusers install of the same model carries its own components and leaves the slots on **Model default**. [Submodels](/users-guide/models/introduction/#submodels) explains what each component does, and each model family's page under [Local Models](/users-guide/models/introduction/#model-families) lists the ones it needs.++If a required component is missing, **Invoke** is disabled and its tooltip names the slot to fill, for example *"Generate needs a VAE for FLUX models."* Pick an installed model in the slot, or install the family's starter bundle from the Model Manager, which includes everything the family needs.++## Your first image++<Steps>++1. **Write a prompt.** Type a description of the image into the **Prompt** box, for example *a lighthouse on a rocky coast at sunset, dramatic clouds, oil painting*. Describe the subject, the setting, the lighting and the style you want. The [Prompting Guide](/users-guide/image-generation/prompting-guide/) has advice on writing prompts that work.++2. **Choose how many images.** The **Iterations** field in the top bar, next to **Invoke**, sets how many images one press of Invoke produces. [Seed](#seed) explains how their seeds are chosen.++3. **Press Invoke** in the top bar, or press **Ctrl+Enter** (**Cmd+Enter** on macOS). The job joins the queue, and the top bar shows its progress. The first run with a model takes longer while the model loads.++4. **See the result.** The finished image appears in the Preview and is saved to the Gallery. To stop a run, click the cancel button in the queue area of the top bar, or press **Shift+X**.++</Steps>++Hover over **Invoke** to see what will be queued, for example *1 prompt × 4 iterations → 4 generations*. When Invoke is disabled, the same tooltip lists what is stopping it.++## Routing images to the Gallery or the Canvas++Every press of **Invoke** has a *route*: a **source**, the panel whose settings are used, and a **destination**, where the results go. Images can go to one of two destinations:++* **Gallery** — the image is saved to the Gallery, on the board selected there, and shown in the Preview.+* **Canvas** — the image lands in the Canvas's staging area, where you can compare the results and accept one onto the canvas as a new layer.++Each layout preset starts with the route that suits its purpose. The **Compose** preset routes the Generate panel to the **Gallery**. The **Edit** preset routes to the **Canvas**, using the Canvas's layers and bounding box as the source, so results come back to the canvas for further editing. Switching presets switches to the new preset's route, unless the routing is locked.++The routing control next to **Invoke** in the top bar shows the current source and destination as a pair of icons. Click it to change either one:++* **Source** lists the panels in the current layout that can run a generation, such as Generate, Canvas, Upscale and Video.+* **Destination** chooses **Gallery** or **Canvas**.+* **Lock routing** keeps the route fixed. A small dot on the control shows that it is locked.++The route also follows your work. When you change a setting in a different panel, that panel becomes the source, and the destination changes to match: the Canvas sends results to the Canvas, and the other panels send them to the Gallery. For example, editing the prompt in the Generate panel while you are in the Edit layout sends the next results to the Gallery. Lock the routing if you want results to keep going to one place while you work in several panels. To send a single run to the other destination without changing the route, press **Alt+Ctrl+Enter** (**Alt+Cmd+Enter** on macOS).++The route is saved with the project, so each project remembers where its results go. See [Projects](/users-guide/projects/introduction/#what-a-project-keeps) for everything a project keeps.++## Setting the image size++The **Size** section sets the width and height of the image.++* **Width** and **Height** can be set by dragging, by typing a value, or by dragging the corner of the small size preview. Sizes run from 64 to 4096 pixels and snap to a multiple the model requires, usually 8, 16 or 32.+* **Aspect ratio** offers common shapes: 21:9, 16:9, 3:2, 4:3, 1:1, 3:4, 2:3, 9:16 and 9:21, or **Free**. Choosing a ratio locks it, so changing the width changes the height to match. The lock button between the two fields locks or unlocks the current ratio.+* **Swap width and height** turns a landscape image into a portrait one and back.+* Each model has an optimal image area, typically about one megapixel for newer models and less for SD 1.5. The line under the fields shows the image's size in megapixels, marks the recommended size, and estimates the run time from your recent runs. **Set optimal size** resizes the image to the model's optimal area at the current aspect ratio.++Models produce their best results near their optimal size. Much larger images can show repeated subjects or distorted anatomy. To make a large image, generate at the optimal size and then upscale.++## Render settings++The **Render** section controls how the image is generated. Each slider has a mark at the model's recommended value. To reset a single field, double-click it or right-click it and choose **Reset to model default**.++### Steps++**Steps** is the number of denoising passes the model makes. More steps add detail and refine the image, up to a point where further steps change little and only take longer. Distilled "Turbo" and "Lightning" models are designed for a handful of steps (often 4 to 9), while standard models usually need 25 to 50. The model default is a good place to start.++### CFG and Guidance++**CFG** (classifier-free guidance) sets how strictly the model follows your prompt. Higher values follow the prompt more literally but can look harsh or oversaturated; lower values are looser and more natural. Typical values are 3 to 7 for most models, and 1 for distilled models, which are trained to work without CFG. Some models, including FLUX, show **Guidance** instead: a value built into the model that plays the same role, typically around 3.5. The model's page under Local Models gives recommended values.++### Scheduler++The **Scheduler** is the algorithm that decides how much noise to remove at each step. Schedulers differ in speed, in how many steps they need, and in the character of the result. Euler, the DPM++ family and UniPC are good general-purpose choices; LCM is only for LCM and similar distilled models. The list of schedulers depends on the model, and some models use a fixed schedule and do not show this field. **Use model default scheduler** switches back to the model's own choice.++### Seed++The **Seed** sets the starting noise for the image. The same model, prompt, seed and settings reproduce the same image, which lets you change one setting at a time and compare the results.++* **New seed** picks a random seed.+* **Seed mode** sets how seeds are chosen: **Random** picks a fresh starting seed each time you press Invoke, **Fixed** reuses the seed in the field, and **Increment** and **Decrement** use successive seeds, counting up or down by one. A line under the field shows the seeds the next batch will use.+* **Recent seeds** shows thumbnails of recent images. Click one to reuse its seed; the mode switches to Fixed.++### Negative prompt++A negative prompt lists what you do *not* want in the image, such as *blurry, watermark, extra fingers*. Models that support one show a **+ Negative prompt…** button under the prompt; click it to open the box, and click **Turn off negative prompt** to hide it again without losing the text.++Not every model uses a negative prompt. SD 1.5, SDXL, SD 3.5 and CogView4 always use it. Several newer models, including Z-Image, Qwen Image and Krea-2, use it only when CFG is above 1, and the box says so. FLUX.1, FLUX.2 and Ideogram 4 do not use a negative prompt, and the box is not shown for them.++### Advanced settings++The **Advanced** section appears for models with extra options, and its header counts the settings you have changed. Depending on the model it can include:++* **VAE** and **VAE precision** — for SD 1.5 and SDXL, choose a different VAE or decode at FP32 precision. Other families set their VAE in the Components section.+* **CLIP skip** and **CFG rescale** — SD 1.5 and SD 2.x only.+* **HiDiffusion** — improves structure at large sizes for SD 1.5 and SDXL; see [HiDiffusion](/users-guide/image-generation/advanced-topics/hidiffusion/).+* **Color compensation** — SDXL only.+* **PiD Decode** — decodes the image at up to four times its size; see [PiD Super-Resolution Decode](/users-guide/image-generation/advanced-topics/pid-decode/).+* **Seamless tiling** — makes the image tile along the X axis, the Y axis, or both.++### Resetting to defaults++Each model has recommended settings, which you can change in the Model Manager. **Reset all to model defaults**, the ↺ button in the Generate panel's title bar, applies them: size, steps, CFG or guidance, scheduler and VAE settings. Your prompts are left alone. The button is disabled when your settings already match the defaults.++To return to the settings of an earlier image instead, right-click it in the Gallery or Preview and open **Recall Metadata**. **Recall All** restores its model, prompts, seed, size and render settings; **Remix Image** does the same but keeps a new seed; and **Use Prompt**, **Use Seed** and **Use Size** recall one thing at a time.++To keep a combination of settings for later, use **Presets** in the panel's title bar to save the current settings under a name and apply them again.++## Adding concepts++Concepts, also called LoRAs, are small add-on models that teach the main model a style, a character, an object or a look. They are added in the **Guidance** section.++<Steps>++1. Click **Add concept** and choose a LoRA. The list only shows LoRAs made for the selected model's family.++2. Adjust its **Weight**, which sets how strongly it acts. The default is the LoRA's own recommended weight, or 0.75. Values between 0.5 and 1 are typical; higher values can overpower the image, and negative values push the image away from the concept.++3. Add any trigger words the LoRA needs to your prompt. They are shown under the LoRA's name, and the **+** button in the prompt toolbar inserts them for you (see [Prompt Triggers](/users-guide/image-generation/prompt-tools/#prompt-triggers)).++</Steps>++You can add as many concepts as you like and combine them. Use the switch on each row to turn a concept off without removing it, and the trash button to remove it. If you change to a model from a different family, its concepts are marked **Incompatible** or removed.++## Adding reference images++A reference image guides the new image by example rather than by words: its style, its composition, a person or an object in it. Reference images are added at the top of the **Guidance** section, and only appear for models that support them.++To add one, click **Add reference image** and pick images from the Gallery or upload new ones, or drag images from the Gallery onto the section. You can also right-click any image and choose **Use as Reference Image**. Most models accept up to five. The order of the references matters to some models; use the arrow buttons on each card to reorder them.++Hovering over a reference's thumbnail offers **Crop**, to use only part of the image, and **Use size**, to set the generation's size to match the reference. The switch on each card turns a reference off without removing it.++What a reference does, and what options it has, depends on the model family:++| Model family | How references work | Options |+|---|---|---|+| **SD 1.5, SDXL** | An IP-Adapter model carries the reference's look into the image. | **Mode**: **Style**, **Composition** or **Both**. **Weight**. Under **Advanced**: the IP-Adapter model, a **Style variant** and the **Active steps** range. |+| **FLUX.1** | An IP-Adapter, or a **FLUX Redux** model, which transfers the reference's content. | IP-Adapter options as above, or **Image influence** (Lowest to Highest) for Redux. |+| **FLUX.1 Kontext** | Kontext edits or recombines the reference images according to your prompt. | None beyond the model. |+| **FLUX.2, Qwen Image Edit** | The model reads the references directly and uses them as your prompt instructs, for example *put the jacket from the first image on the person in the second*. | None. |++Reference images require an extra model for SD 1.5, SDXL and FLUX.1 (an IP-Adapter or FLUX Redux model). These are available as starter models in the Model Manager, and an installed IP-Adapter is selected automatically.++## Prompt tools++The toolbar above the prompt box holds tools that help you write prompts. From left to right: **Templates**, **Dynamic**, **Add prompt trigger**, **Expand prompt**, **Image to prompt** and **Prompt history**.++### Prompt enhancement++**Expand prompt** turns a short prompt into a detailed description using a local language model. Write a few words, open the tool, pick a Text LLM and a **System prompt** (the instructions that tell the language model how to rewrite), and click **Expand**. The expanded text replaces your prompt, and you can edit it before pressing Invoke. Several system prompts ship with InvokeAI, some tuned for particular model families, and you can write your own.++You need a Text LLM model installed; if there is none, the tool offers to open the Model Manager. See [Prompt Tools](/users-guide/image-generation/prompt-tools/#expand-prompt) for suitable models and for managing system prompts.++### Image to prompt++**Image to prompt** writes a prompt that describes an existing image, using a vision-language model (LLaVA OneVision). Select an image in the Gallery or Preview, or drag one onto the prompt box, then open the tool, choose the model and click **Generate Prompt**. The description replaces your prompt. This is useful for recreating an image you like in another model, or for starting from a close description and editing it. See [Prompt Tools](/users-guide/image-generation/prompt-tools/#image-to-prompt).++### Prompt history++Every prompt you submit with Invoke is kept in the project's **Prompt history**, along with its negative prompt, up to the last 100. Open it from the clock button to search your earlier prompts, click **Use prompt** to bring one back, or delete entries you no longer need. **Clear** empties the history at once, without asking.++To step through the history without opening it, press **Alt+Up** and **Alt+Down** while the prompt box has focus. Stepping past the newest entry brings back what you were typing. The history belongs to the project and is shared by the Generate, Video and Upscale panels.++## More prompting features++These features change what the prompt says or how the model reads it. Prompt triggers are described on the [Prompt Tools](/users-guide/image-generation/prompt-tools/) page, and the others in the [Prompting Guide](/users-guide/image-generation/prompting-guide/).++| Feature | What it does |+|---|---|+| **[Prompt templates](/users-guide/image-generation/prompting-guide/#prompt-templates)** | Wrap your prompt in a reusable style, such as a photographic or concept-art look, without retyping it. Includes 18 built-in templates, and you can create, import and export your own. |+| **[Dynamic prompts](/users-guide/image-generation/prompting-guide/#dynamic-prompts)** | Write alternatives such as `a {red\|green\|blue} car` to generate one image per combination, or a random sample of them. Wildcards let you reuse named lists of values. |+| **[Attention weighting](/users-guide/image-generation/prompting-guide/#attention-weighting)** | Make parts of the prompt count for more or less, for example `(red car)++` or `(red car)1.3`, and blend or combine prompts. Select text and press **Ctrl+Up** or **Ctrl+Down** to adjust its weight. Applies to SD 1.5 and SDXL. |+| **[Prompt triggers](/users-guide/image-generation/prompt-tools/#prompt-triggers)** | Insert the trigger phrases of your model and concepts, compatible embeddings and wildcards from a searchable menu. |diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/diffusion.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/diffusion.mdxsimilarity index 99%rename from docs/src/content/docs/Users Guide/04.Image Generation/diffusion.mdxrename to docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/diffusion.mdxindex 27030b2af4..a82d6a510d 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/diffusion.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/diffusion.mdx@@ -2,7 +2,7 @@title: DiffusionlastUpdated: 2026-02-20sidebar:- order: 5+ order: 10---import { Card, CardGrid, Steps, Tabs, TabItem } from '@astrojs/starlight/components';diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/hidiffusion.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/hidiffusion.mdxsimilarity index 98%rename from docs/src/content/docs/Users Guide/04.Image Generation/hidiffusion.mdxrename to docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/hidiffusion.mdxindex 8158f4980a..fdb0755f02 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/hidiffusion.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/hidiffusion.mdx@@ -1,5 +1,7 @@---title: HiDiffusion+sidebar:+ order: 12---# HiDiffusiondiff --git a/docs/src/content/docs/Users Guide/04.Image Generation/pid-decode.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/pid-decode.mdxsimilarity index 99%rename from docs/src/content/docs/Users Guide/04.Image Generation/pid-decode.mdxrename to docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/pid-decode.mdxindex 1692ebdce5..82fd9acea1 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/pid-decode.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/pid-decode.mdx@@ -2,7 +2,7 @@title: PiD Super-Resolution DecodelastUpdated: 2026-08-06sidebar:- order: 5+ order: 11---import { Steps, Aside, Tabs, TabItem } from '@astrojs/starlight/components'diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/dynamic-prompting.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/dynamic-prompting.mdxdeleted file mode 100644index c345fea5fe..0000000000--- a/docs/src/content/docs/Users Guide/04.Image Generation/dynamic-prompting.mdx+++ /dev/null@@ -1,133 +0,0 @@-----title: Dynamic Prompting-lastUpdated: 2026-03-30-sidebar:- order: 4------import { Card, CardGrid, Steps, LinkCard } from '@astrojs/starlight/components';--Dynamic prompting expands a single prompt into many prompt variations. It is useful for brainstorming, prompt exploration, and batch testing without rewriting the same prompt by hand.--## Basic syntax--Put alternatives inside braces and separate them with `|`.--```text-a {red|green|blue} balloon-```--This can expand into:--```text-a red balloon-a green balloon-a blue balloon-```--You can use more than one dynamic group in the same prompt:--```text-a {red|green} {balloon|kite}-```--That creates a set of prompt combinations such as `a red balloon`, `a red kite`, `a green balloon`, and `a green kite`.--## Select more than one option with `$$`--Prefix a group with a number and `$$` to choose multiple distinct options from the same set.--```text-portrait, {2$$rim light|fog|rain|neon reflections}-```--Possible results include:--```text-portrait, rim light, fog-portrait, fog, rain-portrait, rim light, neon reflections-```--This is useful when you want controlled variety without writing every combination by hand.--## Random vs combinatorial expansion--<CardGrid>- <Card title="Combinatorial" icon="setting">- Walks the possible prompt combinations systematically until `Max Prompts` is reached.- </Card>- <Card title="Random" icon="star">- Samples prompt variations instead of enumerating every combination. A seed can make random expansion repeatable.- </Card>-</CardGrid>--InvokeAI supports both modes, but where you can choose them depends on the workflow.--- In the current linear UI, dynamic prompt preview is driven from the positive prompt and currently follows the standard combinatorial expansion path.-- In node and backend contexts, random and combinatorial generation are exposed more explicitly.--## Max Prompts--`Max Prompts` limits how many expanded prompts InvokeAI will generate.--This matters because combinations grow quickly. For example:--```text-a {red|green|blue} balloon in {morning mist|golden hour|rain}-```--Even this small prompt already has nine possible combinations.--:::tip[Start small]- Preview a handful of prompt variants first. Once the combinations look useful, increase `Max Prompts` for a larger batch.-:::--## Seed Behaviour--In the current UI, the `Seed Behaviour` setting controls how seeds are reused across expanded prompts.--<CardGrid>- <Card title="Seed per Iteration" icon="seti:image">- Uses one seed per iteration, so prompt variants in the same iteration share a seed. This is useful when you want to compare prompt wording more directly.- </Card>- <Card title="Seed per Image" icon="star">- Uses a different seed for every generated image. This is useful when you want the widest possible variety.- </Card>-</CardGrid>--## Using dynamic prompting in the linear UI--<Steps>- 1. **Put dynamic prompt syntax in the positive prompt**-- In the current linear UI, dynamic prompt expansion is driven from the positive prompt.-- 2. **Open the preview**-- Use `Show Dynamic Prompts` or the prompts preview to inspect the expanded list before you generate.-- 3. **Set `Max Prompts`**-- Keep the expansion under control before launching a large batch.-- 4. **Choose the right seed behavior**-- Use `Seed per Iteration` for easier comparison, or `Seed per Image` for more variety.-- 5. **Generate a small batch first**-- Sanity-check the combinations before scaling up.-</Steps>--:::note[Current linear UI behavior]- The linear UI currently exposes `Max Prompts`, preview, and seed behavior. It does not expose a separate random-versus-combinatorial mode switch in the main positive prompt flow.-:::--## Tips--- Keep each option group internally compatible.-- Be careful with multiple groups, because the number of combinations grows quickly.-- Review the expanded prompt list before launching a large batch.-- Use dynamic prompting for variation, not to avoid thinking through the base prompt.-- When one specific term needs more emphasis, use [Prompting Syntax](../prompt-syntax) instead of adding more dynamic groups.diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/image-generation.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/image-generation.mdxindex 43eeb85389..015ea5d539 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/image-generation.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/image-generation.mdx@@ -46,14 +46,14 @@ There are two prompt boxes: **Positive Prompt** & **Negative Prompt**.href="../prompting-guide"/><LinkCard- title="Prompting Syntax"+ title="Attention Weighting"description="Learn InvokeAI's advanced prompt weighting and composition syntax, including `+`, `-`, `.blend()`, and `.and()`."- href="../prompt-syntax"+ href="../prompting-guide#attention-weighting"/><LinkCard- title="Dynamic Prompting"+ title="Dynamic Prompts"description="Expand one prompt into many prompt variations with curly-brace syntax."- href="../dynamic-prompting"+ href="../prompting-guide#dynamic-prompts"/></CardGrid>@@ -78,7 +78,7 @@ Invoke offers a number of different workflows for interacting with models to pro<Steps>1. **Fine-tuning your prompt:**- The more specific you are, the closer the image will turn out to what is in your head. Adding more details in the Positive or Negative Prompt can help add or remove parts of the image. You can also use advanced techniques like upweighting and downweighting to control the influence of specific words. Learn more in the [Prompting Guide](../prompting-guide) and [Prompting Syntax](../prompt-syntax).+ The more specific you are, the closer the image will turn out to what is in your head. Adding more details in the Positive or Negative Prompt can help add or remove parts of the image. You can also use advanced techniques like upweighting and downweighting to control the influence of specific words. Learn more in the [Prompting Guide](../prompting-guide), including its section on [attention weighting](../prompting-guide#attention-weighting).:::tipIf you're seeing poor results, try adding the things you don't like about the image to your negative prompt. E.g. *distorted, low quality, unrealistic, etc.*diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/intermediates.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/intermediates.mdxindex 827f1c6694..bf2fc12469 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/intermediates.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/intermediates.mdx@@ -1,6 +1,8 @@---title: Intermediatesdescription: Reclaim disk space by deleting the temporary images and videos generation leaves behind, per project and per account.+sidebar:+ order: 7---Generation produces intermediate images and videos: canvas composites, filter previews, staging candidates and other temporary files that were never saved to the gallery. The **Intermediates** section of Settings lists them per project, shows how much space deleting them would reclaim, and deletes them safely. It is also reachable from a project's actions menu, from the Users page (administrators) and from **Data & workspace**.diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/parameters.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/parameters.mdxindex c4882de919..d6c6be71fe 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/parameters.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/parameters.mdx@@ -1,5 +1,5 @@----title: Generation Parameters+title: Parameter Selection GuidelastUpdated: 2026-02-20sidebar:order: 6diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/prompt-syntax.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/prompt-syntax.mdxdeleted file mode 100644index 40f860fde4..0000000000--- a/docs/src/content/docs/Users Guide/04.Image Generation/prompt-syntax.mdx+++ /dev/null@@ -1,148 +0,0 @@-----title: Prompting Syntax-lastUpdated: 2026-03-30-sidebar:- order: 3------import { Card, LinkCard, CardGrid } from '@astrojs/starlight/components';--<CardGrid>- <LinkCard- title="Prompting Guide"- href="../prompting-guide"- description="Learn how to write effective prompts for InvokeAI."- />-- <LinkCard- title="Dynamic Prompting"- href="../dynamic-prompting"- description="Learn how to create many prompt variations from a single template."- />-</CardGrid>--InvokeAI supports Compel-style prompt weighting and prompt functions for `SD 1.5` and `SDXL` text conditioning workflows. Recent model families, including `FLUX`, `Z-Image`, `CogView4`, and `Qwen Image`, bypass Compel and do not use the syntax documented on this page. This page documents syntax for those Compel-based workflows only. If you want general advice on writing better prompts, start with [Prompting Guide](../prompting-guide).--:::note[Compatibility note]- If a weighted prompt seems to be ignored, check whether you are using an `SD 1.5` or `SDXL` workflow. Compel syntax on this page does not apply to newer model families such as `FLUX`, `Z-Image`, `CogView4`, and `Qwen Image`.-:::--## Quick reference--<Card title="Supported syntax" icon="rocket">- - Increase a single word: `trees+`- - Decrease a single word: `fog-`- - Weight a phrase: `(golden hour light)+`- - Use an exact numeric weight: `(cinematic lighting)1.25`- - Nest weights: `(portrait with (blue eyes)1.3)1.1`- - Blend prompts: `("portrait photo", "oil painting").blend(0.7, 0.3)`- - Conjoin clauses: `("red silk dress", "studio portrait", "soft rim light").and()`- - Escape literal parentheses: `colored pencil \(medium\)`-</Card>--## Attention weighting with `+` and `-`--Append `+` to increase influence, or `-` to reduce it.--```text-freckles+-background crowd--(soft rim light)++-```--Rules of thumb:--- Single words can be weighted directly.-- Multi-word phrases should be wrapped in parentheses.-- Each additional `+` compounds upward.-- Each additional `-` compounds downward in roughly 10% steps.--:::tip[Start small]- One or two steps is usually enough. Extreme weighting can overpower the rest of the prompt.-:::--## Numeric weights--Use numeric weights when you want precise control instead of repeated plus or minus markers.--```text-(cinematic lighting)1.25-(background crowd)0.8-(sharp focus)1.1-```--Guidelines:--- `1` is neutral.-- Values greater than `1` increase emphasis.-- Values between `0` and `1` reduce emphasis.-- Wrap the weighted phrase in parentheses.--## Grouping and nesting--You can group phrases and apply weight to the whole group, then nest another weighted phrase inside it.--```text-(portrait with (blue eyes)1.3)1.1-```--In this example, the outer group strengthens the whole phrase, and the inner group gives `blue eyes` even more emphasis.--## Adjust weights with the keyboard in Webv2--In a prompt field, select text and press **Ctrl+Up** or **Ctrl+Down** to raise or lower its attention. With no selection, the shortcut targets the word at the caret. Selecting a group's parentheses or weight targets its contents.--- A selection inside a group changes only the selected words. A selection crossing a group boundary changes the selected words on both sides.-- Symbolic weights move one `+` or `-` step. Numeric weights change by `0.1` of effective attention, including inherited group weights.-- The numeric attention preference controls new weights; existing group weights retain their style.-- Adjacent content with matching weights merges, while the adjusted content stays selected for the next keypress.-- Inside prompt functions, the shortcut adjusts prompt arguments and preserves function parameters. Use **Ctrl+Z** to undo a weight change.--## Blend prompts with `.blend()`--Use `.blend()` to mix the meaning of two or more prompts.--```text-("portrait photo, 85mm lens", "oil painting, visible brushstrokes").blend(0.7, 0.3)-```--This is most useful for combining concepts or styles that you want balanced deliberately.--Tips:--- Provide one weight for each prompt argument.-- Keeping the weights near a total of `1` makes the result easier to reason about.-- Quoted arguments are the safest choice, especially when the prompts contain commas.--## Combine clauses with `.and()`--Use `.and()` when you want separate prompt clauses encoded individually instead of as one long comma-separated sentence.--```text-("red silk dress", "studio portrait", "soft rim light").and()-```--This can behave differently from:--```text-red silk dress, studio portrait, soft rim light-```--If a normal prompt keeps collapsing ideas together, `.and()` is worth testing.--## Escape literal parentheses--Unescaped parentheses are treated as prompt syntax. If you want actual parentheses in the text, escape them with backslashes.--```text-colored pencil \(medium\)-portrait \(realistic\) (high quality)1.2-A bear \(with razor-sharp teeth\) in a forest-```--Use unescaped parentheses only when you mean grouping or weighting.--## Related pages--- For practical prompt-writing advice, read [Prompting Guide](../prompting-guide).-- For prompt expansion and permutations, read [Dynamic Prompting](../dynamic-prompting).diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/prompt-tools.md b/docs/src/content/docs/Users Guide/04.Image Generation/prompt-tools.mdindex 4cdc31f428..6cbae0b7b4 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/prompt-tools.md+++ b/docs/src/content/docs/Users Guide/04.Image Generation/prompt-tools.md@@ -1,11 +1,11 @@----title: LLM Prompt Tools+title: Prompt Toolssidebar:order: 3-lastUpdated: 2026-09-26+lastUpdated: 2026-09-30----InvokeAI includes two built-in tools that use local language models to help you write better prompts. Both tools appear as small buttons in the top-right corner of the positive prompt area and are only visible when you have a compatible model installed.+The prompt toolbar holds tools that help you write prompts. **Expand Prompt** and **Image to Prompt** use local language models to write or rewrite a prompt for you; if no compatible model is installed, the tool's popover says so and offers an **Open Model Manager** button. **Prompt triggers** insert the trigger phrases, embeddings and wildcards your models need.## Expand Prompt@@ -14,10 +14,17 @@ Takes your short prompt and expands it into a detailed, vivid description suitab**How to use:**1. Type a brief prompt (e.g. "a cat in a garden")-2. Click the sparkle button in the prompt area-3. Select a Text LLM model from the dropdown-4. Click **Expand**-5. Your prompt is replaced with the expanded version+2. Click **Expand prompt** (the pencil-and-sparkles button) in the prompt toolbar+3. Select a Text LLM model from the dropdown. The panel remembers your choice for the project.+4. Choose a **System prompt**, the instructions that tell the model how to rewrite your prompt+5. Click **Expand**+6. Your prompt is replaced with the expanded version, which you can edit before generating++### System prompts++InvokeAI ships with a **Default** system prompt and several tuned for particular model families, such as FLUX.2, Z-Image, Qwen Image and Krea-2. To add your own, click the gear button next to the System prompt selector (**Manage system prompts**) and choose **New**. A system prompt has a **Name**, the **Instructions** given to the language model, and an optional **Max output length** in tokens (300 by default).++You can duplicate, edit and delete your own system prompts. Shared system prompts, including the built-in ones, are marked **Shared**. On a multi-user installation only administrators can edit them, and changes apply to every user.**Compatible models:** Any HuggingFace model with a `ForCausalLM` architecture, plus Gemma-4 checkpoints (`Gemma4ForConditionalGeneration`), which can also read an image. Recommended options:@@ -50,22 +57,56 @@ Upload an image and generate a descriptive prompt from it using a vision-languag**How to use:**-1. Click the image button in the prompt area-2. Select a LLaVA OneVision model from the dropdown-3. Click **Upload Image** and select an image+1. Select an image in the Gallery or Preview, or drag an image from the Gallery onto the prompt box (**Describe this image**), which opens the tool for you+2. Click **Image to prompt** in the prompt toolbar if it is not already open+3. Select a LLaVA OneVision model from the dropdown4. Click **Generate Prompt**-5. The generated description is set as your prompt+5. The generated description replaces your prompt**Compatible models:** LLaVA OneVision models (already supported by InvokeAI).-## Undo+## Replacing your prompt++Both tools replace the text in the prompt box. To get an earlier prompt back, open **Prompt history** in the prompt toolbar: every prompt you have submitted with Invoke is kept there.++## Prompt triggers++Some models only produce their effect when the prompt contains a particular word or phrase. A LoRA trained on a character may need the character's name; a style LoRA may need a keyword such as `pixel art style`. These **trigger phrases** are easy to forget, so InvokeAI collects them, together with embeddings and wildcards, in a menu you can insert from while writing a prompt.++### Inserting a trigger++Click the **+** button in the prompt toolbar (**Add prompt trigger**). It is available on the positive and negative prompts in the Generate, Video and Upscale panels. The menu lists, in this order:++| Group | What it contains | Inserted as |+|---|---|---|+| **Wildcards** | Your [wildcards](/users-guide/image-generation/prompting-guide/#wildcards) (positive prompt only). | `__name__` |+| *The selected main model's name* | The main model's trigger phrases. | the phrase |+| *Each enabled concept's name* | The trigger phrases of each LoRA that is switched on in the Guidance section. Disabled concepts are skipped. | the phrase |+| **Compatible embeddings** | Every installed embedding (textual inversion) that works with the selected main model. | `<embedding-name>` |++Type in **Search prompt triggers** to filter the list, then click an item. It is inserted at the cursor exactly as shown, without extra spaces or commas, so add any separators you need.++If the menu is empty, none of your installed models have trigger phrases and no embeddings or wildcards are available. The **Open Model Manager** button takes you to where trigger phrases are set. The **+** button is disabled while you are previewing the merged prompt of a [template](/users-guide/image-generation/prompting-guide/#prompt-templates).++Two kinds of triggers can also be completed as you type:++* Type `<` in either prompt to list compatible **embeddings**.+* Type `__` (two underscores) in the positive prompt to list **wildcards**.++Use the arrow keys to choose, **Enter** or **Tab** to insert, and **Escape** to close the list. Trigger phrases of models and LoRAs are only offered in the **+** menu.++### Defining trigger phrases++Trigger phrases belong to a model and are set in the **Model Manager**. Select a main model or a LoRA and find the **Trigger Phrases** field in its detail view. Type a phrase and press **Enter** to add it; each phrase can be up to 200 characters, and duplicates are refused. Changes are saved as you make them.++Trigger phrases come from the model's creator, so check the model's download page (Civitai or HuggingFace) for the words it expects. Two things fill them in for you:-Both tools overwrite your current prompt. You can undo this change:+* When you install a LoRA that has a companion `.json` file next to it with an `activation text` entry, as some download tools create, those phrases become the LoRA's trigger phrases.+* Trigger phrases are included when you [export and import a model's settings](/users-guide/models/introduction/#exporting-and-importing-model-settings).-- Press **Ctrl+Z** (or **Cmd+Z** on macOS) in the prompt textarea within 30 seconds-- The undo state is cleared when you start typing manually+The Guidance section of the Generate panel shows each LoRA's trigger phrases under its name as a reminder. Adding a LoRA does not insert them into your prompt; use the **+** menu for that.-## Workflow Node+## Text LLM workflow nodesThe workflow editor provides **Text LLM** and **Text LLM (with System Prompt Preset)** nodes for automated pipelines. Both accept a prompt, model, maximum token count, and seed, then output generated text as a string. The preset variant reads its system prompt from the System Prompts library.diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/prompting-guide.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/prompting-guide.mdxindex 3dbb27a9fb..c45abdacde 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/prompting-guide.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/prompting-guide.mdx@@ -1,27 +1,20 @@---title: Prompting Guide-lastUpdated: 2026-03-30+description: Write prompts that work, then go further with prompt templates, trigger phrases, dynamic prompts, wildcards and attention weighting.+lastUpdated: 2026-09-30sidebar:order: 2----import { Card, CardGrid, Steps, LinkCard } from '@astrojs/starlight/components';+import { Card, CardGrid, Steps } from '@astrojs/starlight/components';-<CardGrid>- <LinkCard- title="Prompting Syntax"- href="../prompt-syntax"- description="Learn how to weight prompt terms, blend concepts, and use prompt conjunctions for more control."- />-- <LinkCard- title="Dynamic Prompting"- href="../dynamic-prompting"- description="Learn how to create many prompt variations from a single template."- />-</CardGrid>+The prompt is your main way of telling a model what to create. This guide starts with writing good prompts, which is all most images need. It then covers the tools that save typing and add variety: prompt templates, dynamic prompts and wildcards. It ends with advanced syntax for fine control.++For the tools that write or rewrite a prompt for you, **Expand prompt** and **Image to prompt**, and for inserting trigger phrases, see [Prompt Tools](/users-guide/image-generation/prompt-tools/).-Prompting in InvokeAI works best when you describe the image clearly, then refine only the parts that matter. This page focuses on practical prompt-writing habits.+## Writing a prompt++Prompting works best when you describe the image clearly, then refine only the parts that matter. Most good prompts cover a few of these:<CardGrid><Card title="Subject" icon="seti:image">@@ -34,7 +27,7 @@ Prompting in InvokeAI works best when you describe the image clearly, then refinDescribe the camera angle, framing, lighting, environment, color palette, or mood that will shape the image.</Card><Card title="Detail and Finish" icon="star">- Add a few high-value quality cues such as fabric texture, shallow depth of field, natural skin texture, or painterly brushwork.+ Add a few high-value details such as fabric texture, shallow depth of field, natural skin texture, or painterly brushwork.</Card></CardGrid>@@ -44,45 +37,30 @@ A simple pattern that works well is:Not every prompt needs every category. Start simple, then add detail only when the model needs more direction.-## Positive and negative prompts+### Positive and negative prompts-<CardGrid>- <Card title="Positive Prompt" icon="seti:default">- Use the positive prompt to describe what you want the model to create. Put the most important idea early and keep the wording concrete.- </Card>- <Card title="Negative Prompt" icon="document">- Use the negative prompt to remove recurring problems or unwanted traits. Keep it short and targeted instead of pasting a giant list into every generation.- </Card>-</CardGrid>+The **positive prompt** describes what you want the model to create. Put the most important idea early and keep the wording concrete.++The **negative prompt** lists what you do not want. Use it to remove recurring problems or unwanted traits, and keep it short and targeted rather than pasting a giant list into every generation. Good negative prompts name specific failure modes: `blurry`, `distorted hands`, `low detail`, `extra limbs`.-Good negative prompts usually name specific failure modes: `blurry`, `distorted hands`, `low detail`, `extra limbs`.+Not every model uses a negative prompt. See [Negative prompt](/users-guide/image-generation/introduction/#negative-prompt) in the Generate panel guide for which models do.:::tip[Negative prompts are strong]A negative term can suppress nearby concepts too. If you negate something broad like `green` or `moss`, you may also weaken grass, foliage, or other related ideas.:::-## A practical prompting workflow+### A practical workflow<Steps>- 1. Start with the core image-- Write the clearest version of the image you want before adding stylistic extras.-- 2. Add style and composition+ 1. **Start with the core image.** Write the clearest version of the image you want before adding stylistic extras.- Once the subject is right, add medium, lens, lighting, mood, background, or framing details.+ 2. **Add style and composition.** Once the subject is right, add medium, lens, lighting, mood, background, or framing details.- 3. Test with a fixed seed+ 3. **Test with a fixed seed.** When you are learning what a prompt change does, set the seed mode to **Fixed** so you can compare results directly.- When you are learning what a prompt change does, keep the seed stable so you can compare results directly.+ 4. **Change one thing at a time.** If you add five new terms at once, you will not know which one helped.- 4. Change one thing at a time-- If you add five new terms at once, you will not know which one helped.-- 5. Escalate only when needed-- If the result is close but one element is too weak or too strong, move to [Prompting Syntax](../prompt-syntax) for weighting. If you want lots of variations, use [Dynamic Prompting](../dynamic-prompting).+ 5. **Escalate only when needed.** If the result is close but one element is too weak or too strong, use [attention weighting](#attention-weighting). If you want lots of variations, use [dynamic prompts](#dynamic-prompts).</Steps>Here is the same idea refined in stages:@@ -95,25 +73,17 @@ portrait of a woman, studio photograph, soft key lightportrait of a woman, studio photograph, soft key light, 85mm lens, shallow depth of field, natural skin texture```-## Write for the model you are using+### Write for the model you are usingThe same prompt can behave very differently across models.-- Photo-oriented models respond well to camera, lens, lighting, and texture language.-- Illustration models often respond better to medium, art direction, and shape language.-- Specialty models may expect specific trigger words, subjects, or styles from their own model card.+- Newer models with large language-model text encoders, such as FLUX, Qwen Image, Z-Image and Krea-2, understand full sentences and long, detailed descriptions. Describe the scene as you would to a person, including how things relate to each other and any text that should appear in the image.+- Older models such as SD 1.5 and SDXL use CLIP text encoders trained on short captions, and respond best to short, comma-separated phrases.+- Photo-oriented models respond well to camera, lens, lighting and texture language. Illustration models often respond better to medium, art direction and shape language.+- Specialty models and concepts may expect specific [trigger phrases](/users-guide/image-generation/prompt-tools/#prompt-triggers) from their model card.- If a prompt works beautifully on one model and poorly on another, that does not always mean the prompt is bad. The model may just speak a different visual language.-## When advanced syntax helps--Reach for advanced syntax when a normal comma-separated prompt is almost right, but you need more control.--- Use [Prompting Syntax](../prompt-syntax) when one term needs more or less influence.-- Use `.blend()` when you want to mix concepts or styles deliberately.-- Use `.and()` when you want separate prompt clauses encoded individually.-- Use [Dynamic Prompting](../dynamic-prompting) when you want many prompt variations from one template.--## Common mistakes+### Common mistakes- Packing too many unrelated ideas into one prompt.- Using long generic quality-word lists before you know the base prompt works.@@ -121,60 +91,351 @@ Reach for advanced syntax when a normal comma-separated prompt is almost right,- Expecting identical behavior across models, schedulers, and workflows.- Changing prompt, model, seed, and settings all at once while troubleshooting.-## Example prompts--### Photographic portrait+### Example prompts-**Positive prompt**+**Photographic portrait**```texteditorial portrait of a woman in a charcoal coat, studio photograph, soft key light, subtle rim light, 85mm lens, shallow depth of field, natural skin texture```-**Negative prompt**+Negative: `blurry, low detail, waxy skin, extra fingers`++**Environment concept art**```text-blurry, low detail, waxy skin, extra fingers+ancient stone temple built into a cliffside, fantasy concept art, misty sunrise, towering scale, moss-covered stairs, cinematic atmosphere```-### Environment concept art+Negative: `flat lighting, low contrast, muddy details`-**Positive prompt**+**Product-style render**```text-ancient stone temple built into a cliffside, fantasy concept art, misty sunrise, towering scale, moss-covered stairs, cinematic atmosphere+sleek ceramic teapot on a matte stone surface, product photography, clean studio lighting, soft shadow, high detail, minimal background```-**Negative prompt**+Negative: `cluttered background, distortion, duplicate objects`++**Stylized illustration**```text-flat lighting, low contrast, muddy details+fox courier crossing a rainy city street, storybook illustration, bold shapes, glowing shop signs, reflective pavement, warm and cool color contrast```-### Product-style render+Negative: `photorealistic, dull colors, low detail`++## Prompt templates++A prompt template is a reusable piece of prompt text, such as a photographic or artistic style, that wraps whatever you type. Apply **Photography (General)** once, and every prompt you write is sent as a photograph without you retyping the style words. Templates are available in the **Generate** panel.++### Applying a template++Click **Templates** in the positive prompt's toolbar. The popover lists the templates available to you in three groups:++* **Your templates** — templates you have created. Only these can be edited or deleted.+* **Shared templates** — templates other users have shared (multi-user installations only).+* **Built-in templates** — the templates that ship with InvokeAI.++Each row shows the template's preview image, its name and its prompt text. Type in **Search templates** to filter by name or prompt text, and click a template to apply it.++While a template is applied, the toolbar button shows its name and a tag with the name appears under the positive prompt. To stop using the template, click the tag's close button (**Stop using this template**).++Applying a template never changes the text in your prompt box. The template is combined with your prompt when you press **Invoke**, so you can switch templates, or remove one, without losing what you wrote.-**Positive prompt**+### How the template and your prompt combine++A template's text usually contains the placeholder `{prompt}`, which marks where your own prompt goes. With the template```text-sleek ceramic teapot on a matte stone surface, product photography, clean studio lighting, soft shadow, high detail, minimal background+{prompt}. photography. f/2.8 macro photo, bokeh, photorealism```-**Negative prompt**+the prompt `a red fox in the snow` is sent as```text-cluttered background, distortion, duplicate objects+a red fox in the snow. photography. f/2.8 macro photo, bokeh, photorealism```-### Stylized illustration+* Only the first `{prompt}` is replaced. Any further copies stay in the text as written.+* A template without `{prompt}` is added to the end of your prompt, after a space.+* Templates can carry negative text too. It is combined with your negative prompt by the same rules, for models that use a negative prompt.++While a template is applied, an eye button in the prompt toolbar (**Show the merged prompt**) shows the prompt exactly as it will be sent, with the template's words distinguished from yours. The prompt boxes are read-only in this view. Click the text, or the button again (**Back to editing your prompt**), to return to editing.++### Built-in templates++InvokeAI ships with 18 templates covering common styles:++* **Photography** — General, Studio Lighting, Landscape, Portrait, and Black and White+* **Concept Art** — Fantasy, Sci-Fi, Character and Painterly+* **Architectural Visualization**, **Environment Art**, **Interior Design (Visualization)**, **Product Rendering** and **Vehicles**+* **Sketch**, **Line Art**, **Anime** and **Illustration**++Built-in templates can be applied but not edited. To adapt one, create your own template from its text.++### Creating and editing templates++Click **New template** at the top of the popover. The editor has four fields:++* **Name** — up to 128 characters. Templates you create are saved to your account.+* **Prompt** — the template's positive text. The **`{prompt}`** button next to the field inserts the placeholder.+* **Negative** — optional negative text, which may also contain `{prompt}`.+* **Preview image** — an optional thumbnail for the list. Pick an image from the gallery, upload a file or drag one in.-**Positive prompt**+Click **Save** to store the template. To change or remove one of your templates later, use the pencil and trash buttons on its row. Deleting a template cannot be undone. If you delete, or someone else deletes, a template you are currently using, it keeps shaping your prompt until you stop using it.++To reuse the prompt of an image you like, right-click it in the Gallery or Preview and choose **Use as Prompt Template**. The New template editor opens with the image's positive and negative prompts filled in. Replace the part that describes the subject with `{prompt}`, name the template and save it.++### Importing and exporting templates++The popover's **Import** and **Export** buttons move templates in and out as files. In a multi-user installation they are available to administrators only.++* **Import** reads a `.csv` or `.json` file. A CSV file needs the columns `name`, `prompt` and `negative_prompt`; a JSON file is a list of objects with the same keys. Every template needs a name. Imported templates become your own templates.+* **Export** downloads every user-created template as `prompt_templates.csv`, with the same three columns. Built-in templates are not included.++Preview images are not part of either file.++On a multi-user installation, templates you create are private to your account. Templates that other users have shared appear under **Shared templates**, where you can apply them but not change them.++### Templates and image metadata++An image's metadata records the prompt that was actually used, with the template already combined into it. It does not record which template was applied. When you recall the prompts from an image, you get that combined text, and any template you currently have applied is removed so that the style is not applied twice.++## Dynamic prompts++Dynamic prompts expand a single prompt into many variations. Write the parts you want to vary as a list of alternatives, and one press of **Invoke** generates an image for each variation. They are useful for brainstorming, exploring styles and subjects, and testing a model without rewriting the same prompt by hand.++Dynamic prompts work in the **Generate** panel and on the Canvas. Only the positive prompt is expanded; the negative prompt is used as written for every variation.++### Basic syntax++Put alternatives inside braces and separate them with `|`:```text-fox courier crossing a rainy city street, storybook illustration, bold shapes, glowing shop signs, reflective pavement, warm and cool color contrast+a {red|green|blue} balloon```-**Negative prompt**+This expands into three prompts: `a red balloon`, `a green balloon` and `a blue balloon`. Several groups in one prompt multiply:```text-photorealistic, dull colors, low detail+a {red|green} {balloon|kite}```++gives `a red balloon`, `a red kite`, `a green balloon` and `a green kite`. Groups can also be nested: `a {cat|{small|large} dog}` gives `a cat`, `a small dog` and `a large dog`. More syntax is described under [Advanced dynamic prompt syntax](#advanced-dynamic-prompt-syntax).++### Previewing and generating++Click **Dynamic** in the prompt toolbar to open the Dynamic Prompts popover. When the prompt contains dynamic syntax, the button shows how many prompts it expands into.++The **Preview** tab lists the expanded prompts, numbered and highlighted, and shows the total as *prompts × iterations → generations*. The Invoke button's tooltip shows the same count. Only the first 200 prompts are listed; the rest are summarized as *and N more*.++Click a prompt in the list (**Use this prompt**) to replace your prompt with that one variation, for example to refine it on its own. If a template is applied, it is folded into the chosen prompt and the template itself is removed, since its words are now part of your prompt.++If the prompt cannot be expanded, for example because a brace is not closed or a wildcard has no values, the Preview tab shows the error and Invoke is blocked until you fix it.++<Steps>++1. **Write the prompt** with the parts you want to vary in braces.++2. **Open Dynamic** and check the Preview list. Make sure the combinations make sense before you generate a large batch.++3. **Set the mode and the number of prompts** (see below).++4. **Press Invoke.** Each expanded prompt is generated once per iteration, so 6 prompts with **Iterations** set to 2 give 12 images.++</Steps>++### All combinations or a random sample++The **Mode** menu in the Preview tab sets how prompts are chosen:++<CardGrid>+ <Card title="All combinations" icon="list-format">+ Lists every combination in order, up to **Max prompts**. This is the default, and the best choice when you want to compare every option.+ </Card>+ <Card title="Random sample" icon="random">+ Draws **Number of prompts** variations at random, honoring any weights. The same prompt can be drawn more than once. Click **Shuffle the sample** to draw a new sample.+ </Card>+</CardGrid>++The number of prompts can be set from 1 to 10,000 and is 100 by default. Combinations grow quickly, so this limit keeps an innocent-looking prompt from queuing thousands of images: `a {red|green|blue} balloon in {morning mist|golden hour|rain}` already has nine combinations.++:::tip[Start small]+ Preview a handful of variations first. Once they look useful, raise the limit or the number of iterations for a larger batch.+:::++### Seeds++By default, every variation within one iteration shares the same seed. Because only the prompt changes between the images, this makes it easy to see what each option does.++Turn on **New seed for every image** to give each image its own seed instead, for the widest variety. When the panel's **Seed mode** is **Fixed**, every image uses the same seed and this switch is unavailable.++### Dynamic prompts and other features++* **Prompt templates.** Expansion runs on your prompt after the [template](#prompt-templates) has been applied, so a template can contain dynamic syntax too.+* **Image metadata.** Each image records the expanded prompt that produced it and its own seed. The original dynamic prompt and the dynamic prompt settings are not recorded.+* **Workflows.** The workflow editor has a **Dynamic Prompt** node, and batch generators for random and combinatorial expansion.++## Wildcards++A wildcard is a named list of values that you can use in any prompt. Write the name between double underscores, and it behaves like a [dynamic prompt](#dynamic-prompts) group of all its values:++```text+a __colors__ balloon+```++With a `colors` wildcard containing `red`, `green` and `blue`, this is the same as `a {red|green|blue} balloon`. Wildcards save retyping long lists and keep them consistent between prompts.++Values can contain dynamic syntax, including other wildcards. Names can be nested with `/`, such as `animals/dogs`, and `__animals/*__` combines every wildcard under `animals`.++### Managing wildcards++Wildcards are managed on the **Wildcards** tab of the **Dynamic** popover.++* **New wildcard** opens the editor. Give the wildcard a **Name** (letters, numbers, underscores and hyphens, up to 128 characters) and its **Values**, one per line. Blank lines are ignored, and `#` starts a comment.+* Click a wildcard to insert it at the cursor (**Insert into the prompt**). You can also type `__` in the prompt, or use the **+** [prompt trigger](/users-guide/image-generation/prompt-tools/#prompt-triggers) menu.+* Use the pencil and trash buttons on a wildcard to edit or delete it.+* **Search wildcards** finds wildcards by name or value.++Wildcards belong to your account. On a multi-user installation, each user has their own set.++### Importing and exporting wildcards++**Import** reads wildcards from files you already have, such as collections downloaded for other tools:++* **From files…** imports one or more files. A `.txt` file (or a file without an extension) becomes one wildcard named after the file, with one value per line.+* **From a folder…** imports every wildcard file in a folder. Subfolders become part of the name, so `animals/dogs.txt` becomes `animals/dogs`.+* A `.yaml`, `.yml` or `.json` file can hold many wildcards. Nested keys become the name, joined with `/`, and each list becomes a wildcard's values.++If some wildcards already exist in your library, or cannot be imported, the **Import wildcards** dialog lists them. For each existing name you can **Skip** it, **Replace** it, or **Keep both**, which imports the new one under a numbered name.++**Export** downloads all your wildcards as `wildcards.yaml` (**As YAML**) or `wildcards.json` (**As JSON**), in the same nested format.++## Attention weighting++Attention weighting makes parts of the prompt count for more or less than the rest. It uses Compel syntax, which applies to **SD 1.5 and SDXL**. Newer model families, including FLUX, Z-Image, CogView4 and Qwen Image, do not use it, and the symbols are passed to the model as ordinary text.++:::note[Compatibility note]+ If a weighted prompt seems to be ignored, check which model you are using. The syntax in this section only affects SD 1.5 and SDXL.+:::++| Syntax | Effect |+|---|---|+| `trees+` / `fog-` | Increase or decrease a single word |+| `(golden hour light)+` | Weight a phrase |+| `(cinematic lighting)1.25` | Use an exact numeric weight |+| `(portrait with (blue eyes)1.3)1.1` | Nest weights |+| `("portrait photo", "oil painting").blend(0.7, 0.3)` | Blend prompts |+| `("red silk dress", "studio portrait", "soft rim light").and()` | Encode clauses separately |+| `colored pencil \(medium\)` | Use literal parentheses |++### Weighting with `+` and `-`++Append `+` to increase influence, or `-` to reduce it.++```text+freckles++background crowd-+(soft rim light)+++```++- Single words can be weighted directly. Wrap phrases of several words in parentheses.+- Each additional `+` or `-` compounds, in steps of roughly 10%.+- One or two steps is usually enough. Extreme weighting can overpower the rest of the prompt.++### Numeric weights++Use numeric weights when you want precise control instead of repeated plus or minus markers.++```text+(cinematic lighting)1.25+(background crowd)0.8+```++`1` is neutral, values above `1` increase emphasis, and values between `0` and `1` reduce it. Wrap the weighted phrase in parentheses.++Groups can be nested, and the weights combine. In `(portrait with (blue eyes)1.3)1.1`, the outer group strengthens the whole phrase, and `blue eyes` gets even more emphasis.++### Adjusting weights with the keyboard++In a prompt field, select text and press **Ctrl+Up** or **Ctrl+Down** to raise or lower its attention. With no selection, the shortcut targets the word at the cursor. Selecting a group's parentheses or weight targets its contents.++- A selection inside a group changes only the selected words. A selection crossing a group boundary changes the selected words on both sides.+- Symbolic weights move one `+` or `-` step. Numeric weights change by `0.1` of effective attention, including inherited group weights.+- The numeric attention preference controls new weights; existing group weights keep their style.+- Adjacent content with matching weights merges, and the adjusted content stays selected for the next keypress.+- Inside prompt functions, the shortcut adjusts prompt arguments and preserves function parameters. Use **Ctrl+Z** to undo a weight change.++### Blending with `.blend()`++Use `.blend()` to mix the meaning of two or more prompts.++```text+("portrait photo, 85mm lens", "oil painting, visible brushstrokes").blend(0.7, 0.3)+```++Provide one weight for each prompt. Keeping the weights near a total of `1` makes the result easier to reason about, and quoting each prompt is safest, especially when they contain commas.++### Combining clauses with `.and()`++Use `.and()` when you want separate prompt clauses encoded individually instead of as one long comma-separated sentence.++```text+("red silk dress", "studio portrait", "soft rim light").and()+```++This can behave differently from `red silk dress, studio portrait, soft rim light`. If a normal prompt keeps collapsing ideas together, `.and()` is worth testing.++### Literal parentheses++Unescaped parentheses are treated as weighting syntax. To include actual parentheses in the text, escape them with backslashes:++```text+colored pencil \(medium\)+A bear \(with razor-sharp teeth\) in a forest+```++## Advanced dynamic prompt syntax++These additions to the [dynamic prompt](#dynamic-prompts) syntax give finer control over how variations are built.++### Choosing more than one option++Put a number and `$$` at the start of a group to pick several different options from it. They are joined with a comma:++```text+portrait, {2$$rim light|fog|rain}+```++gives prompts such as `portrait, rim light,fog` and `portrait, fog,rain`. To join them differently, put the separator between two `$$`:++```text+portrait, {2$$ and $$rim light|fog|rain}+```++gives prompts such as `portrait, rim light and fog`. A range picks a varying number of options: `{1-3$$rim light|fog|rain}` picks one, two or three.++### Weighting options++In **Random sample** mode, you can make some options more likely than others by putting a weight and `::` in front of them:++```text+a {0.7::red|0.2::green|0.1::blue} balloon+```++makes red balloons most common. Weights are ignored in All combinations mode, where every option appears once.++### Variables++A variable gives a group a name, so you can define it once and use it in several places. `${name={...}}` defines it and `${name}` uses it:++```text+${color={red|blue}} a ${color} hat with a ${color} scarf+```++Each use varies on its own, like a group written out in full, so this gives all four combinations from `a red hat with a red scarf` to `a blue hat with a blue scarf`. Variables are most useful for long lists you would otherwise repeat; for lists you use in many prompts, a [wildcard](#wildcards) is more convenient.++### Comments++Everything after a `#` is treated as a comment and left out of the prompt. Avoid `#` in ordinary prompts, since the rest of the prompt after it is dropped.diff --git a/docs/src/content/docs/Users Guide/05.Video Generation/introduction.mdx b/docs/src/content/docs/Users Guide/05.Video Generation/introduction.mdxindex 22cd494bcb..ad283f0533 100644--- a/docs/src/content/docs/Users Guide/05.Video Generation/introduction.mdx+++ b/docs/src/content/docs/Users Guide/05.Video Generation/introduction.mdx@@ -65,7 +65,7 @@ If you pick a model that can't run the current combination, the Invoke button te### Prompt-The prompt toolbar carries the same helpers as the image Generate panel — templates, prompt expansion, image-to-prompt, and history. On LTX-2, **Expand Prompt** starts from the enhancer LTX-2.5 was released with and, when a first frame is set, describes the video from that frame — see [prompt enhancement for LTX-2.5](/users-guide/image-generation/prompt-tools/#prompt-enhancement-for-ltx-25). The **negative prompt** behaves per family:+The prompt toolbar carries most of the helpers from the image Generate panel — prompt triggers, prompt expansion, image-to-prompt, and history (prompt templates are only available in Generate). On LTX-2, **Expand Prompt** starts from the enhancer LTX-2.5 was released with and, when a first frame is set, describes the video from that frame — see [prompt enhancement for LTX-2.5](/users-guide/image-generation/prompt-tools/#prompt-enhancement-for-ltx-25). The **negative prompt** behaves per family:* **Wan** — used only when CFG is greater than 1 (the field says so). With the Lightning fast path on (CFG 1), it is ignored by the graph.* **MiniMax H3** — hidden entirely. H3 is guidance-distilled and has no CFG, so a negative prompt has nothing to act on.diff --git a/docs/src/content/docs/Users Guide/08.Workflows/editor-interface.mdx b/docs/src/content/docs/Users Guide/08.Workflows/editor-interface.mdxindex 91322b636c..828b070de6 100644--- a/docs/src/content/docs/Users Guide/08.Workflows/editor-interface.mdx+++ b/docs/src/content/docs/Users Guide/08.Workflows/editor-interface.mdx@@ -13,7 +13,7 @@ The workflow editor is a blank canvas allowing for the use of individual functioA node graph is composed of multiple nodes that are connected together to create a workflow. Nodes' inputs and outputs are connected by dragging connectors from node to node. Inputs and outputs are color-coded for ease of use.:::tip[New to Diffusion?]-If you're not familiar with Diffusion, take a look at our [Diffusion Overview](/users-guide/image-generation/diffusion/). Understanding how diffusion works will enable you to more easily use the Workflow Editor and build workflows to suit your needs.+If you're not familiar with Diffusion, take a look at our [Diffusion Overview](/users-guide/image-generation/advanced-topics/diffusion/). Understanding how diffusion works will enable you to more easily use the Workflow Editor and build workflows to suit your needs.:::## Featuresdiff --git a/docs/src/content/docs/Users Guide/assets/generate-panel-overview.png b/docs/src/content/docs/Users Guide/assets/generate-panel-overview.pngnew file mode 100644index 0000000000..0d2eb7be1eBinary files /dev/null and b/docs/src/content/docs/Users Guide/assets/generate-panel-overview.png differdiff --git a/docs/src/content/docs/configuration/Optimization/low-vram-mode.mdx b/docs/src/content/docs/configuration/Optimization/low-vram-mode.mdxindex 1d196dcaa5..e391b2b277 100644--- a/docs/src/content/docs/configuration/Optimization/low-vram-mode.mdx+++ b/docs/src/content/docs/configuration/Optimization/low-vram-mode.mdx@@ -180,7 +180,7 @@ This setting processes parts of the PiD pixel pathway in chunks and uses float32It is disabled by default because it is **not output-preserving**. The combined optimized path is not guaranteed to be bit-exact: chunking can change GPU kernel and reduction choices, while the float32 sampler differs from the default float64 path. The few-step sampler amplifies the difference into a slightly different image. The delta is small — around 43 dB PSNR, visually indistinguishable in side-by-side comparisons — but it is real, so the same seed and workflow will not reproduce an unoptimized decode exactly. Decoding speed is roughly unchanged: chunking costs about 4%, which the cheaper sampler math largely offsets.-When the setting is active, each decode logs the resolution, the patch-token count and whether chunking actually engaged — worth checking, since the option is server-wide and never recorded in image metadata. See [PiD Super-Resolution Decode](/users-guide/image-generation/pid-decode/) for supported models and usage.+When the setting is active, each decode logs the resolution, the patch-token count and whether chunking actually engaged — worth checking, since the option is server-wide and never recorded in image metadata. See [PiD Super-Resolution Decode](/users-guide/image-generation/advanced-topics/pid-decode/) for supported models and usage.### Disabling Nvidia sysmem fallback (Windows only)