FLOWDocs

Commands & flags

Full reference for pixl's commands and generation flags.

pixl [COUNT] [PROMPT] [OUT_DIR] is the default (generate) form; pixl gen is the explicit alias. With no arguments, pixl opens the gallery idle.

Generation flags

flagdefaultdescription
--model turbo|sdxlturbobase model
--cfg <f>1 (turbo) / 7 (sdxl)classifier-free guidance
--steps <n>8 (turbo) / 25 (sdxl)diffusion steps
--seed <n>randombase seed (omit for random)
--size <WxH>512x512generation resolution (multiple of 8)
--negative <text>—negative prompt (SDXL / cfg > 1)
--no-loraoffdisable the pixel-art LoRA
--lora-weight <f>1.0pixel-art LoRA strength
-c, --colors <n>16palette size for the post-process pass (0 = keep all distinct cell colors)
--pixel-size <n>autoforce the logical cell size in source pixels (bypass grid detection)
--no-postprocessoffskip the pixelize pass, save the raw render
--viewoffforce the interactive gallery on, even on terminals without inline graphics
--no-viewoffforce the headless batch output
--saved-dir <path>~/.pixl/savedwhere saved favorites are copied
-j, --jobs <n>autopixelize/save worker threads
--jsonoffemit one JSON line per finished image
--quietoffsuppress progress output
--fail-fastoffabort on the first failed image
--low-prio (--bg, --background)offrun at low priority (macOS background QoS)

Other commands

pixl pixelize

Snap existing images to true pixel art — no GPU or model needed (works in every build).

pixl pixelize sprite.png --scale 8
pixl pixelize *.png -o out/ --colors 24
flagdefaultdescription
-o, --out <path>next to inputoutput file (single input) or directory
-c, --colors <n>16palette size
--pixel-size <n>autoforce the logical cell size in source pixels
--target-cells <n>128fallback logical long-edge (cells) used only when grid detection fails
--scale <n>1nearest-neighbor upscale of the result

pixl view <dir>

Browse a directory of images in the interactive gallery.

pixl models

pixl models ls          # list cached merged-UNet files and show where weights live
pixl models path        # print the cache directories
pixl models clear       # delete pixl's merged-UNet cache (not the shared weights)
pixl models clear --yes # skip the confirmation prompt

On this page