CLI reference › PixelLab utilities

pixelate

Converts a photo, painting, or render into pixel art with PixelLab's Image to Pixel Art Pro Flash (/image-to-pixelart-pro-flash). It works on source art that was never pixel art. For pixel art that was only upscaled, use unzoom, which recovers the grid instead of redrawing it.

pixelkiln pixelate --from renders/lodge.png --out art/lodge.png --description "light dithering"
  • PixelLab picks the output size from the source's detected pixel scale; there is no size option. A 256x256 render came back 108x109 and a 384x384 render 84x110. Sources over 2048px on the longer side are scaled down upstream.
  • The result is opaque, on a near-white background (transparent source areas become white too), like unzoom. Remove the background afterwards when you need a cut-out sprite.
  • --description optionally steers the style, e.g. "retro vibes with light dithering".
  • --pro uses Image to Pixel Art Pro (/image-to-pixelart-pro) instead: the most careful redraw, a flat 20 generations (billed exactly that live, November 2026, in 42 s). On the same 256x256 render Pro returned 161x151 where Pro Flash returned 108x109: finer pixels and closer to the source, where Pro Flash is chunkier and more stylised. Pro also returns the result on a reduced palette, written beside --out as <out>.quantized.png (141 colors down to 40 on that call). --palette and --max-colors constrain the colors, and work only with --pro.
  • Without --pro, a flat 6 generations, confirmed against a live bill. The command prints the cost and asks first; --yes skips the question, --budget <n> refuses when n is below it, and --dry-run sends nothing.
  • --out defaults to <input>.pixel.png beside the input, and the input is never overwritten. An existing --out is replaced only with --force.
  • --json prints the job id, both sizes, the PixelLab gallery imageId, and the billed usage.

Like unzoom, it writes a loose file and leaves the lockfile alone. Declare the result as an asset's source, or use it as a styleImages or reference path, to bring it into a manifest.