Pixelina is a self-contained image generation, editing and viewer application with a distinctive Windows 3.11-styled retro UI. It runs Z-Image Turbo locally for text-to-image generation and Qwen Image 2.1 for reference-guided image editing, offering a fast, offline creative workflow with as little external dependency as possible.
Pixelina brings modern image generation capabilities to a nostalgic interface, proving that you don't need flashy UI frameworks to create beautiful art.
- Local text-to-image: type a prompt, adjust seed, steps and shift, and generate arbitrarily sized images entirely offline. Reproducibility is guaranteed by seed and settings snapshot.
- Live Preview: Watch generation progress in real-time as diffusion steps complete.
- Batch exploration: keep a working directory with
pixelina.txtdatabase and generated files. The carousel provides instant visual history; click to reload any previous generation with its exact prompt and parameters. - Model swapping: point the diffuser, encoder and VAE fields to alternative files in the same format. Pixelina validates settings before generation and persists the last used models.
- Reference-guided editing: open an existing image and edit it with a prompt and reference guidance using the Edit mode. Adjust seed, size, steps and reference resolution, add multiple reference images, and regenerate with consistent style or content.
- Visual chat: open the Chat dialog from the Image menu and ask questions about the currently displayed image using Qwen-VL chat with streaming responses, thinking mode support and per-session conversation history. The chat reuses the Edit settings for model selection and can reference the image inline.
- Batch queue of jobs: add jobs to a queue and start batch processing, stop or pause the queue. The queue supports import and export.
- Switchable themes: switch between UI themes.
- Two creative workspaces: switch between Generate for pure text-to-image and Edit for image-to-image workflows via the settings tabs. Each workspace remembers its own models and parameters.
- Open and clear canvas: open single images directly for editing, or clear the canvas to start fresh without changing the working directory.
- Auto-seed: let Pixelina advance the seed automatically after each generation to explore variations quickly.
- CPU-first deployment: runs on commodity hardware with only a CPU backend. Optional Vulkan backend accelerates matmul and attention on supported GPUs.
- Minimal-dependency distribution: the binary bundles its own UI widgets, image I/O via stb, and JSON parsing. No Python, no pip packages, no large runtimes.
Pixelina targets the Z-Image Turbo pipeline:
- Diffuser: GGUF quantized diffuser weights in the Z-Image Turbo family.
- Text encoder: Qwen3 text encoder in GGUF format with
qwen3architecture. - VAE: Safetensors VAE decoder matching Z-Image Turbo.
Pixelina also supports Qwen Image 2.1 for editing:
- Diffuser: Qwen Image 2.1 diffuser GGUF.
- Language encoder: language encoder GGUF for text conditioning.
- Vision projector: vision projector GGUF for reference image encoding.
- VAE: Qwen Image 2.1 VAE safetensors with RGBA support.
The application validates model metadata and tensor names at load time. Only the above model roles are required; Pixelina does not support arbitrary diffusion families.
Tested with both Q5_K and Q8_0 quants.
Pixelina is built around a faithful Windows 3.11 desktop metaphor with system menu, title bar, min/max/close and resizable borders. Controls use 8×8 bitmap font rendering, beveled buttons, faceplate colors and the characteristic 3D bevels of Windows 3.11.
The UI library pixuilib is written from scratch with no external GUI toolkit. Rendering is done via SDL2 as a thin canvas adapter, keeping the widget set minimal and portable.
Version 0.5 adds the Chat workflow, refactored UI modules, persistent window and configuration storage, and improved multi-reference handling.
- C++17 compiler
- SDL2
- GNU Make
- Optional Vulkan:
glslcfor shader compilation
Yes, that's it! Minimal dependencies are intentional. No external ML framework needed.
The application is platform-independent and compiles cleanly on any modern Unix-like system with SDL2 support. Vulkan shaders require Vulkan 1.0+ with optional 1.1/1.2 features for subgroup and cooperative matmul.
Build:
make
With optional Vulkan:
make VULKAN=1
Run:
pixelina [-p] [-t threads] [-j job_file] [path]
-p forces PNG output for Save, -t threads sets max CPU thread count for CPU-only inference, -j job_file selects the job file, path selects working directory.
Pixelina supports dark, pixie and witch themes. The theme can be switched at any time, and the last used theme is persisted.
Custom themes can be created by following the format of the existing themes: each theme is defined by its colors and fonts.
Fonts can be created with the font tool: tools/font font.ttf NAME [width height] > font.txt.
Pixelina is designed to have as little dependency on other libs as possible. Core inference, kernels, tokenization and UI are all implemented in-house. Only SDL2 is required for windowing and input.
MIT. See LICENSE.
Pixelina - (C) Dmitry 'sciloaf' Solovyev, 2026