moss-pixelart-v.0.3 is a Low-Rank Adaptation (LoRA) model fine-tuned on OpenMOSS-Team/MOSS-Image-SFT specifically for generating clean, grid-aligned pixel art and 2D game assets.
The model is trained to render at a strict 8x pixel scale, where every 8×8 block of output pixels represents a single logical pixel. This enforces strong grid adherence during generation and makes downsampling to native pixel resolutions straightforward.
| Generation Resolution | Native Pixel Art Grid | Downscale Factor |
|---|---|---|
| 512 × 512 (Training res) | 64 × 64 px | 8x (12.5%) |
| 768 × 768 | 96 × 96 px | 8x (12.5%) |
| 1024 × 1024 | 128 × 128 px | 8x (12.5%) |
Prepend pxl8x (or [pxl8x]) to your prompt to activate the 8x pixel art style.
This LoRA is designed to run using the standard MOSS-Image-SFT default parameters:
Euler (flowmatch / sgm_uniform)50 (or 30–50 steps for standard generation)3.0 (recommended range 3.0–6.0)5.022 (uncond_skip_layers: [22], slg_start: 0.01, slg_stop: 1.0)1.0moss-pixelart-v.0.3 stacks cleanly with MOSS Turbo / DMD (8-step) distillation LoRAs. When pairing with an 8-step Turbo LoRA:
8.Euler and Flow Shift at 5.0.1.0.pxl8x an isometric cyberpunk ramen stall at night, glowing neon sign reading "NOODLES", steam rising from bowls, rain puddles on asphalt, crisp pixel artpxl8x a retro sci-fi space marine in bulky industrial armor holding a motion tracker, dark derelict spacecraft corridor, green CRT monitor glowpxl8x a 3/4 top-down RPG potion shop interior, wooden shelves packed with glowing glass vials, a sleepy alchemist cat on the counter, warm lantern lightpxl8x a classic 16-bit boss sprite of a mechanical dragon breathing plasma fire, dark volcanic cavern background, high contrast arcade paletteWhile the model maintains an 8×8 pixel grid natively, diffusion decoding can occasionally introduce subtle sub-pixel edge bleeding or slight grid drift ("mixels").
For game-ready 1:1 assets, post-process your raw outputs with Sprite Fusion Pixel Snapper (GitHub). It automatically detects the pixel grid, cleans up blurry or inconsistent blocks, and snaps the image down to a crisp, true-resolution sprite sheet or tile.
Trained via Ostris's ai-toolkit (diffusion_trainer) using the following configuration:
OpenMOSS-Team/MOSS-Image-SFT (moss_image arch)diffusers format, bf16)32 / 3216 / 16layers.22. (paired with uncond_skip_layers: [22] on the base model)convrot8 (applied to both Transformer and Text Encoder)train_text_encoder: false)30 pixelsnapped 64x64 sprites upscaled to 512x512 (512x512 resolution, flip_x: false, flip_y: false)30002 (Gradient Accumulation 2 = Effective Batch Size 4)adamw8bit (lr: 0.0001, weight_decay: 0.001)flowmatch (timestep_type: shift)msescale: 3.0)0.05 (5%)bf16512x512, 768x768, or 1024x1024) to keep the 8x pixel grid evenly aligned with the VAE latent space.512x512 yields a 64x64 logical canvas—keep in-image text short (1–2 words in block font) or generate at 1024x1024 (128x128 logical grid) if you need readable signage.Download the ComfyUI workflow. Model setup and usage notes are included on the canvas, with optional bounding-box layout control and separate raw, native-size, and display outputs.
For pixel cleanup, install SpriteFusion Pixel Snapper (Rust) through ComfyUI Manager (Registry ID: spritefusion-pixel-snapper-rust), then restart ComfyUI. The workflow uses SpriteFusionPixelSnapper, with 8-pixel uniform spacing, 64 colors, and native-size output by default.
OpenMOSS-Team/MOSS-Image-SFT