Text-to-Image
Diffusers
Safetensors
MLX
Chinese
English
QwenImage21Pipeline
apple-silicon
image-to-image
qwen2.1
image-editing
rgba
Instructions to use themindstudio/Qwen-Image-2.1-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use themindstudio/Qwen-Image-2.1-MLX-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("themindstudio/Qwen-Image-2.1-MLX-4bit", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - MLX
How to use themindstudio/Qwen-Image-2.1-MLX-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download themindstudio/Qwen-Image-2.1-MLX-4bit --local-dir Qwen-Image-2.1-MLX-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Draw Things
- DiffusionBee
- Atomic Chat
Qwen-Image-2.1-MLX-4bit β for MindCraft Studio
This repository contains the 4-bit quantized version of Qwen-Image 2.1, optimized for Apple Silicon (macOS) using MLX.
Qwen-Image 2.1 is an advanced visual foundation model featuring strong multilingual prompt understanding, native transparent RGBA image generation, and instruction-based multi-image editing (supporting up to 10 reference images).
- Original Model: Qwen/Qwen-Image-2.1
- Used by: MindCraft Studio β A local-first AI image generation & canvas powerhouse for macOS
- Framework: Apple MLX
- Quantization: 4-bit weight quantization (~11.6 GB)
- License: Qwen Research License Agreement (same as upstream)
Features
- Apple Silicon Native: Optimized specifically for Unified Memory architectures (M1/M2/M3/M4/M5) via MLX.
- Instruction-Based Image Editing: Edit existing images using natural language instructions with support for 1β10 input reference images.
- Native RGBA Transparency Support: Generate cutout stickers and transparent PNGs natively with prompt triggers (e.g.,
"This is an RGBA image with transparency... The image has alpha channel and the background is transparent."). - Bilingual Prompt Understanding: Excellent prompt adherence in both English and Chinese.
How to Use
In MindCraft Studio (Recommended)
No manual conversion or shell scripting required:
- Download and open MindCraft Studio.
- Go to Settings β Model Library.
- Select Qwen-Image 2.1 (4-bit) and click Download / Install.
- The model will download directly from this repository and become available in both the generation sidebar and the endless canvas node engine.
π Download MindCraft Studio β
License
This model follows the original upstream license: Qwen Research License Agreement.
Links & Credits
- Original Base Model: Qwen/Qwen-Image-2.1
- Qwen GitHub: https://github.com/QwenLM/Qwen-Image-2.1
- MindCraft Studio: https://themindstudio.cc/mindcraft
- Downloads last month
- 248
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for themindstudio/Qwen-Image-2.1-MLX-4bit
Base model
Qwen/Qwen-Image-2.1