Nyx Image (26M & 36M)
compact pixel art generation models
2 min read
Nyx Image is a family of open diffusion models (Diffusion Transformers) from Sednium Technologies, designed specifically for generating game sprites on low-end hardware and in web browsers. The models operate directly in pixel space, bypassing standard VAE (variational autoencoder) latent compression, which preserves crisp edges and alpha transparency without smoothing artifacts. The lineup includes two versions: 26M (16x16 pixels, discrete MDLM) and 36M (36-million parameter model, continuous Rectified Flow, 32x32 pixels with native RGBA). These tools are useful for indie developers and game creators for quickly generating UI elements and characters.
Key features
- Two architectures: discrete masked diffusion with 26M parameters and continuous Rectified Flow with 36M parameters.
- Native resolution: sprite generation at 16x16 and 32x32 pixel sizes without intermediate compression.
- Strict transparency: strict binary transparency contract for precise object separation from backgrounds without color halos.
- Advanced conditioning: use of frozen CLIP and SigLIP text encoders for accurate prompt adherence.
What you can do
- Game asset generation: create icons, inventory items, weapons, and character sprites for retro games.
- Web application integration: run lightweight ONNX model graphs directly in the browser using ONNX Runtime.
- On-device generation: deploy compact weights on edge hardware thanks to model file sizes under 140 MB.
Example
import torch
from PIL import Image
from safetensors.torch import load_file
from nyx_v2.model import NyxRGBAHourglassDiT
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = NyxRGBAHourglassDiT().to(device)
state = load_file("nyx-image-36m.safetensors")
model.load_state_dict(state)
model.eval()Read more
DetailsBase model: Standalone U-ViT architectures (NyxImage26M and NyxRGBAHourglassDiT)
36M metrics: Validation MSE of 0.08327 on the azyg0s/pixelart-172k dataset
26M metrics: NLL of 0.87445 nats, masked token accuracy of 77.86%
Hardware requirements: Trained on AWS EC2 g6.2xlarge (NVIDIA L4 24GB), lightweight safetensors weights (~100-140 MB)
License: Apache-2.0










Comments