Local AI Image Generation
Type a prompt. Get art. No cloud required. No spaghetti needed.
The Problem ⢠Tutorial ⢠Installation ⢠Commands
You wanted to make AI art. Instead you got:
You're spending more time fighting the tool than creating.
That's insane.
Z-Explorer strips away everything between you and your art. Let's prove it.
One command to install:
# Linux
curl -fsSL https://raw.githubusercontent.com/pyros-projects/z-Explorer/main/install.sh | bash
# Windows (PowerShell)
irm https://raw.githubusercontent.com/pyros-projects/z-Explorer/main/install.ps1 | iex
After a bit your browser should open
Click "Download" when prompted. Grab a coffee while ~10GB of models download. ā
Once complete ā you're ready to create!
Requirements: Linux or Windows, NVIDIA GPU (GTX 1080 Ti or newer) with 10GB+ VRAM, uv package manager, Node.js, and Unicode support in terminal (like Windows Terminal or almost any Linux terminal).
Note: The installer creates a
z-Explorerfolder in your current directory. Run it from where you want to install!Note: The installer tries to automatically install uv and Node.js if missing. If this fails, please install them manually before running the installer again.
See Installation for Docker, manual setup, and advanced options.
Type a prompt. Any prompt. Natural language, just like talking to a person:
>>> a cute fox in a magical forest
Hit enter. Watch the magic happen.
That's it. No nodes. No tabs. No sliders. Just your idea, rendered.
Your image appears in the gallery above. Hover over it to see the prompt. Click to view full size.
Let's make things interesting. Variables let you randomize parts of your prompt:
>>> a __animal__ in a magical forest
Each time you run this, Z-Explorer picks a random animal from its library. Run it 5 times, get 5 different creatures.
You may ask where it knows what variables are available.
Here's where it gets magical. They get generated on the fly:
>>> a cute __mythical_creature__ in a magical forest
Z-Explorer's local LLM generates it on the fly:
⨠Generated __mythical_creature__ with 20 values
ā Phoenix, Dragon, Unicorn, Griffin, Kitsune...
Saved to your library forever. Use __mythical_creature__ anytime.
No more googling "list of mythical creatures". Just ask, and it appears.
Pro tip: Type /vars to see all available variables.
Pro tip: Combine as many variables as you want, and remember: The name of the variable steers its content!
Your prompt: a cute fox
What the AI actually needs for stunning results: A cute fox with fluffy orange fur and bright amber eyes, sitting in an enchanted forest clearing, soft dappled sunlight filtering through ancient oak trees, magical fireflies floating in the air, Studio Ghibli inspired, warm color palette, highly detailed fur texture
The > operator bridges that gap:
>>> a cute fox > studio ghibli, 2d, anime
The local LLM expands your idea into a rich, detailed prompt. Same intent, 10x better output.
Think of the > operator as magical 'turns into' operator which makes exploring your ideas even more fun!
Found a prompt you like? Generate multiple variations at once:
>>> a __mythical_creature__ in a magical forest : x5
5 images, 5 different creatures, 5 different seeds. Find the diamond in the rough.
Need a specific aspect ratio? Add size parameters:
>>> epic fantasy landscape : w1216,h832
Or combine everything:
>>> a __mythical_creature__ in a magical forest > cinematic and epic : x3,w1216,h832
3 widescreen cinematic images with random creatures and enhanced prompts. One command.
Type /settings to open the settings dialog:
>>> /settings
Gallery Tab ā Choose how your images display:
Thumbnail Size ā See more detail or fit more images:
Your gallery grows with every generation. Use the layout options to find what works for you:
Hover over any image to see its prompt. Click to view full size.
Every image is saved to your output/ folder with its prompt embedded in the metadata.
You've learned the basics. Here's what else you can do:
| Command | What it does |
|---|---|
/seed 12345 |
Set a specific seed for reproducibility |
/size 1024x1024 |
Set default dimensions |
/gpu |
Check GPU memory status |
/unload |
Free up GPU memory |
Create your own variables:
# library/mood.md
ethereal
cyberpunk
cottagecore
dark fantasy
solarpunk
Now use __mood__ in any prompt. Your vocabulary, your art.
Everything runs locally. No cloud. No API keys. No monthly fees. No data leaving your machine.
Your GPU, your art, your privacy.
Launch Z-Explorer and get a beautiful web-based UI:
uv run z-explorer
Prefer a pure terminal experience? Terminal with good graphical abilities preferred (Kitty or Alacritty)
uv run z-explorer --cli
Same power, different vibe. Perfect for SSH sessions or terminal lovers.
Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh # Linux
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # Windows
Install Node.js:
# Linux (Ubuntu/Debian)
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
# Linux (Fedora/RHEL)
curl -fsSL https://rpm.nodesource.com/setup_20.x | sudo bash -
sudo dnf install -y nodejs
# Windows - download installer from https://nodejs.org/
# Or use winget:
winget install OpenJS.NodeJS.LTS
git clone https://github.com/pyros-projects/z-Explorer.git
cd z-Explorer
uv run z-explorer --quick-setup
That's it. uv sync handles all dependencies including bleeding-edge versions from Git.
Linux:
curl -fsSL https://raw.githubusercontent.com/pyros-projects/z-Explorer/main/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/pyros-projects/z-Explorer/main/install.ps1 | iex
ā ļø macOS is not supported ā requires NVIDIA CUDA (bitsandbytes dependency)
Pre-built image:
docker run --gpus all -p 8345:8345 -v ./output:/app/output ghcr.io/pyros-projects/z-explorer:latest
Or build locally:
git clone https://github.com/pyros-projects/z-Explorer.git
cd z-Explorer
docker build -t z-explorer .
docker run --gpus all -p 8345:8345 -v ./output:/app/output z-explorer
Then open http://localhost:8345
On first launch, Z-Explorer guides you through model configuration:
? Choose a setup option:
> Quick Start (Recommended for beginners)
Custom Setup
Full Quality
Pick "Quick Start" ā it downloads optimized models that work great on 12GB GPUs:
The wizard downloads everything automatically. Grab a coffee ā
For advanced configuration, see docs/CONFIGURATION.md or copy env.example to .env.
uv run z-explorer --setup # Re-run setup wizard (interactive)
uv run z-explorer --quick-setup # Auto-configure with defaults (non-interactive)
uv run z-explorer --show-config # Check current configuration
git pull
uv sync
| Command | Description |
|---|---|
/help |
Show all commands |
/vars |
List available prompt variables |
/enhance <prompt> |
Preview enhanced prompt |
/seed <number> |
Set seed for reproducibility |
/size <WxH> |
Set output dimensions (e.g., 1920x1080) |
/gpu |
Check GPU memory status |
/unload |
Free GPU memory |
/settings |
Open settings dialog |
/quit |
Exit |
Prompt Syntax:
__variable__ Random value from variable
__variable:5__ Specific index (5th value)
prompt > instruction Enhance prompt with instruction
prompt : x10,w1920 Batch with parameters
Everything runs locally. No internet required after initial setup.
Inspired by
https://github.com/lllyasviel/Fooocus
MIT ā Go forth and create.