Tiny Arabic/English Pixel-Art Generator
compact pixel-art generator
1 min readupdated
The model turns short text prompts in English or Arabic into 16×16-pixel sprites in RGBA format. It uses a 513-color palette (including transparent) and relies on a custom PyTorch architecture with about 23 million active parameters. A handy solution for game developers and indie projects that need fast procedural sprites from a text description.
Key features
- Generation of 16×16-pixel sprites based on text prompts
- Support for English, Arabic (Modern Standard and Egyptian), and mixed prompts
- Compact size: about 23.1M active parameters
- Fixed 513-color palette with transparency support
What you can do
- Generate a set of game assets or characters for a pixel-art game
- Test sprite generation from Arabic prompts
- Use the custom inference package from the repository to run scripts locally
Example
from huggingface_hub import snapshot_download
import sys
repo = snapshot_download("nomeda-lab/pixel-art-tiny-colorizer-v2")
sys.path.insert(0, repo)
from pixelgen.inference import PixelArtGenerator
gen = PixelArtGenerator.from_pretrained(repo)
gen.generate("a small red dragon", seed=42).show()
gen.generate("تنين أحمر صغير", seed=42).show()Read more
DetailsBest validation loss: 1.1897 at step 4000
Trained on the Angais/pixel-art-atlas-1.4m dataset
Custom PyTorch checkpoint (does not use the diffusers library)


Comments