Game sprites
Generating isolated single sprites — model choice, guidance, negatives, and seeds.
By default pixl uses SDXL-Turbo (fast, few-step, CFG-free) with the pixel-art LoRA. Turbo is quick but ignores negative prompts and leans toward busy scenes. For isolated single sprites, switch to full SDXL so classifier-free guidance and negative prompts take effect:
pixl --model sdxl --cfg 5 "a wooden treasure chest" \
--negative "scene, multiple objects, background, shadow"The levers
| lever | effect |
|---|---|
--model sdxl | full SDXL — slower, but supports guidance and negatives (vs the default turbo) |
--cfg <f> | classifier-free guidance — higher adheres tightly to the prompt, lower (~4-5) gives more variety; negatives only take effect at cfg > 1 |
--negative <text> | what to avoid (SDXL only) |
modifiers (the s panel) | one-key isolation toggles that compose the matching positive + negative fragments |
--seed <n> | random by default; pin a value for reproducible results |
Diversity
A simple, heavily-constrained prompt at high cfg collapses toward a single result — different seeds
converge to nearly the same image. For more variety, lower --cfg (to ~4-5), loosen the prompt, or
use full SDXL instead of Turbo (Turbo's few-step distillation is strongly mode-seeking). The seed is
random per run by default, so repeated runs already differ.
Transparency
pixl renders opaque images. For transparent sprites, generate on a plain background and remove it with an external background-removal tool.