A lightning-fast local Gradio Web-UI for the Z-Image-Turbo model. Generate photorealistic images in milliseconds using the power of your local GPU.
Optimized for NVIDIA RTX 50-Series (Blackwell) & CUDA 12.8.
(Generated locally in seconds)
- ⚡ Turbo Speed: Generates high-quality images in just 4-8 steps.
- 📊 Real-Time Monitor: Live display of CPU, RAM, and VRAM usage.
- 🖼️ Full Control: Adjustable Resolution (up to 2048x2048), Steps, and Seed.
- 💾 Auto-Save: Results are automatically saved to the
outputsfolder. - 📂 Quick Access: Open the output folder directly from the UI.
- 🛑 VRAM Friendly: Includes a Shutdown button to instantly close the server.
- Python 3.10 or 3.11 installed.
- Git installed.
- High-end NVIDIA GPU (RTX 3090/4090 or RTX 5090 recommended).
Open PowerShell or Terminal and run:
git clone https://github.com/Detoxfox4234/Z-Image-Local-GUI.git
cd Z-Image-Local-GUIHighly recommended to keep dependencies clean.
python -m venv venv
.\venv\Scripts\activateWe need the latest Diffusers version from source for Z-Image support.
You need PyTorch Nightly for CUDA 12.8 support.
# 1. Install PyTorch Nightly
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
# 2. Install Diffusers from Source (Required!)
pip install git+https://github.com/huggingface/diffusers
# 3. Install other requirements
pip install transformers accelerate sentencepiece protobuf gradio psutil huggingface_hubStandard installation is usually sufficient:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
pip install git+https://github.com/huggingface/diffusers
pip install transformers accelerate sentencepiece protobuf gradio psutil huggingface_hub- Activate your environment:
.\venv\Scripts\activate- Run the app:
python app.py- Open your browser at
http://127.0.0.1:7860.
Alternatively, you can simply use the "start_z_image_lokal_gui.bat" file
Note: On the first run, the model (~6GB) will be downloaded automatically from Hugging Face.
- Model: Tongyi-MAI/Z-Image-Turbo
- Library: Hugging Face Diffusers
This is a free open-source project. I don't ask for donations. However, if you want to say "Thanks", check out my profile on Spotify. A follow or a listen is the best way to support me! 🎧
