Skip to main content
Akio supports local text-to-image generation using the image (or img) command. It runs entirely on-device — no external API required.

Supported Models

AliasHuggingFace RepoDefault StepsNotes
Z-Image-TurboTongyi-MAI/Z-Image-Turbo9Optimized for fast inference

Quickstart

1. Pull the model
akio pull Tongyi-MAI/Z-Image-Turbo
2. Generate an image
akio image --model turbo --prompt "a cute orange cat sitting on a rooftop looks at a sunset in studio ghibli-style"
Z Image Output
The output is saved to z_image_output.png by default.

Options

FlagTypeDefaultDescription
-m, --modelstring(required)HuggingFace repo of the model to use
--promptstring(required)Text prompt describing the image
--negative-promptstring""Prompt to steer generation away from
--heightusizemodel defaultOutput height in pixels (must be divisible by 16)
--widthusizemodel defaultOutput width in pixels (must be divisible by 16)
--num-stepsusizemodel default (9)Number of denoising steps
--guidance-scalef64model defaultClassifier-free guidance (CFG) scale
--seedu64randomSeed for reproducible outputs
--outputstringoutput.pngOutput filename
--cpuflagfalseForce CPU inference instead of GPU

Examples

Custom resolution and seed
akio img \
  --model turbo \
  --prompt "a futuristic city skyline, neon lights, cinematic" \
  --width 1024 \
  --height 576 \
  --seed 42 \
  --output city.png
With negative prompt and guidance scale
akio img \
  --model turbo \
  --prompt "a serene mountain lake at dawn, photorealistic" \
  --negative-prompt "blurry, low quality, distorted" \
  --guidance-scale 3.5 \
  --output lake.png
CPU-only inference
akio img \
  --model turbo \
  --prompt "a red panda in a bamboo forest" \
  --cpu \
  --output panda.png

Notes

Width and height must both be divisible by 16. If you pass an invalid size, Akio will suggest the nearest valid dimensions.
Pass --seed with a fixed integer to get the same image across runs. Without it, a random seed is used each time.
GPU is used by default when available (Metal on macOS, CUDA on Linux/Windows). Use --cpu to override.
Weights are stored in the same directory as models downloaded via akio pull.