How to Run Image Diffusion Models Locally with Unsloth
Generate and edit AI images locally without writing code. Unsloth supports FLUX.3 Image Klein, MiniMax-H3-Image, Qwen-Image-2.1 and Qwen-Image-2.1-Turbo, alongside Z-Image, FLUX.1 and SDXL. Start from a prompt or image, then use the generation, editing, reference-image and LoRA workflows available for that model.
Image examples
Real outputs from the guides below, grouped by image model. Open a model guide for its prompts, settings and hardware notes; these are examples, not a controlled quality comparison.
FLUX.3 Image Klein



MiniMax-H3-Image



Qwen-Image-2.1



Qwen-Image-2.1-Turbo



Looking for video? MiniMax-H3 is a separate video-and-audio model, not MiniMax-H3-Image. Use the Video page and its dedicated guide. LTX is also a video model.
To create an image LoRA, train a supported base: FLUX.3 Klein Base, Qwen-Image-2.1 or MiniMax-H3-Image. Qwen-Image-2.1 LoRAs run on Turbo; Turbo itself is not a training base.

⚡ Quickstart
Install or update
The desktop app is the easiest way to get started.
Follow the installer, then open the app from your applications. If you already have it installed, make sure it is up to date before continuing.
Command line
Prefer the terminal? Run the command for your operating system. The same command will update an existing installation.
MacOS, Linux, WSL:
Windows PowerShell:
Launch Unsloth
Once the installation finishes, launch Unsloth:
Open http://localhost:8888 if it does not open automatically.
Choose a model
Open Select image model and search for FLUX.3 Image Klein, MiniMax-H3-Image, Qwen-Image-2.1 or Qwen-Image-2.1-Turbo. Klein is a smaller general-purpose choice; Turbo uses eight steps. Check the model guide for hardware and memory requirements.

The Recommended tab is a good place to start. For GGUF models, the best size for your device is also marked recommended. Sizes that may run slowly or not fit are marked TIGHT or OOM.
Enter a prompt
Describe the image you want to generate.
For example:
A lighthouse on a coastal cliff at golden hour
Keep the loaded model's defaults: Klein uses 16 steps and guidance 1; Qwen-Image-2.1 uses 25 steps and guidance 1; Turbo uses 8 steps and guidance 1; MiniMax-H3-Image uses 6 steps without CFG. These settings are not interchangeable. Klein and MiniMax-H3-Image also offer a separately downloaded prompt enhancer.
⭐ Features
The available workflows depend on the model you load. Unsupported workflows are hidden automatically.
Create and edit images
Create: Generate an image from a text prompt.
Transform: Use an existing image as the starting point for a new generation.
Inpaint: Select and regenerate part of an image.
Extend: Generate content beyond the original canvas.
Upscale: Increase the resolution of an image.
Reference: Guide a generation with one or more reference images.
Edit: Describe the changes you want to make to an image.
Instruction-based Edit is supported by FLUX.3 Image Klein, MiniMax-H3-Image, Qwen-Image-2.1 and Turbo, as well as Qwen-Image-Edit and FLUX.1 Kontext. Follow the model guide for reference-image limits and output sizes.
LoRAs and ControlNet
Load compatible LoRAs to add a character, subject or visual style to your generations. Adjust the LoRA weight to control how strongly it affects the result.
Supported models can also use ControlNet to guide the structure of an image. Adjust its strength to control how closely the result follows the guidance image.
Gallery
Generated images are saved to the local gallery. Open a result to view its prompt and settings, select Recipe to restore its generation setup or download the image.
Supported models and workflows
FLUX.3 Image Klein
FLUX.3 guide: create and edit; 16 steps, guidance 1. Train LoRAs on Klein Base.
MiniMax-H3-Image
MiniMax-H3-Image guide: create and edit, up to 16 references; 6 steps, no CFG, 2048 × 2048 canvas. Check its large-model memory requirements.
Qwen-Image-2.1
Qwen-Image-2.1 guide: create and edit, native 2K and up to 10 references; 25 steps, guidance 1. Use this base for Qwen image LoRA training.
Qwen-Image-2.1-Turbo
Turbo guide: create and edit in 8 steps, guidance 1. Same memory needs as the base, not a smaller model.
Other image families
Z-Image, FLUX.1, FLUX.2 klein and SDXL remain available. Transform, inpaint, extend, upscale and ControlNet depend on the model.
Fast FP8 names a picker entry, not a guarantee that every component runs in FP8. Auto can select another supported precision; Qwen and MiniMax-H3-Image commonly load INT8-ConvRot. GGUF is another route, including Mac and CPU use where supported. Check each guide's tested configurations rather than treating file size or memory estimates as guaranteed minimum requirements.
Current image workflows
These screenshots come from the model-specific guides; the models do not share interchangeable settings.



Video is a separate workflow
MiniMax-H3 video guide covers video with sound and video LoRA training. Open the Video page rather than selecting MiniMax-H3 in the image model picker.

Generation settings
The default settings are a good starting point. However, it is possible to adjust settings to get the best result, these are the main parameters you may want to change:
Prompt
Describes the image you want to create. In Edit, this becomes the instruction to follow.
Aspect ratio and resolution
Set the shape and size of the image. Larger images use more memory and take longer.
Steps
Control how long the model spends generating. More steps do not always improve the result.
Guidance
Controls how strongly the prompt guides the result. Some models work best at 0.
Seed
Helps recreate a result. Leave it empty to use a random seed.
⚠️ Troubleshooting
❓ FAQ
Last updated
Was this helpful?



