Pixel Sprite Diffusion

Type what you want, get 16×16 pixel-art sprites. The model runs in your browser: nothing you type leaves your computer.

Sprites

Nothing yet. Pick a model and press Generate. The first run downloads the model; after that it is kept in your browser.
How it works

Your prompt is split into tokens and read by a CLIP text encoder. A small diffusion U-Net then starts from random noise and removes it in steps, guided by the prompt, until a 16×16 image is left. Each pixel is snapped to the nearest colour of the training palette. Both networks are ONNX files that run with ONNX Runtime Web, on your graphics card when the browser supports WebGPU and on the processor otherwise.

Short, concrete prompts work best: a subject, optionally a colour or a detail ("blue potion", "knight with sword").