Pixel32 Bilingual
A compact browser-ready pixel art model
2 min read
Pixel32 Bilingual is a 48M parameter diffusion model (a masked discrete palette transformer) trained from scratch to generate high-quality 32x32 pixel art with transparent backgrounds using English and Chinese text prompts. The model is optimized to run directly in the browser via ONNX and WebGPU. It uses a frozen SigLIP-2 model (a text-image matching model) as its text encoder. This new model is ideal for indie game developers and web applications that need fast sprites without heavy GPUs.
Key features
- Compact size: Only 48.41M parameters (the INT8 version weighs around 53.5 MB).
- 32x32 RGBA format: Generates sprites with transparent backgrounds for pixel games.
- Bilingual: Supports both English and Simplified Chinese.
- Browser support: Fully compatible with ONNX Runtime and WebGPU thanks to quantized versions.
What you can do
- Sprite generation: Create characters, items, and environment elements for 2D games directly in the web interface.
- Web app integration: Embed pixel art generation on the client side without server load.
- Asset localization: Use prompts in English or Chinese to get equally accurate results.
Example
Example prompt for generation: "a cute pixel art wizard staff, transparent background" or "精美的像素风 potions". The output is a ready-to-use 32x32 sprite with an alpha channel.
Read more
DetailsBenchmarks: SigLIP-2 retrieval — 100.0% (EN), 87.5% (ZH)
Hardware requirements: Browser with WebGPU / ONNX Runtime support
Training details: 153,320 sprites, 35,162 steps on Google Colab G4 (96GB Blackwell)
Architecture: Hourglass 32x32 Masked Discrete Palette Diffusion Transformer








Comments