Downloads · 30 days
6.5K
27% of all-time downloads
Limbicnation/pixel-art-lora
pixel-art-lora is a text-to-image model from Limbicnation. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
A LoRA adapter trained on FLUX.2-klein-4B for generating pixel art character sprites. Optimized for game-ready assets with transparent backgrounds.
Downloads · 30 days
6.5K
27% of all-time downloads
All-time downloads
24K
Public
Repo size
9.8 GB
Likes
62
Trending 1
Click a slice to open those files.
.safetensors651 MB · 99%
From the Hugging Face model README
A LoRA adapter trained on FLUX.2-klein-4B for generating pixel art character sprites. Optimized for game-ready assets with transparent backgrounds.
Always include in your prompt:
pixel art sprite, [your character description], game asset, transparent background
Style modifiers: 16-bit pixel art, 32-bit pixel art, chibi
| Parameter | Value |
|---|---|
| Steps | 4 |
| CFG Scale | 1.0 |
| Resolution | 512x512 |
| Sampler | Euler |
Requires
diffusers >= 0.37.0.dev0(install from git main)
import torch
from diffusers import Flux2KleinPipeline
# Load base model + LoRA
pipe = Flux2KleinPipeline.from_pretrained(
"black-forest-labs/FLUX.2-klein-4B",
torch_dtype=torch.bfloat16,
low_cpu_mem_usage=False,
)
pipe.load_lora_weights("Limbicnation/pixel-art-lora")
pipe.to("cuda")
image = pipe(
"pixel art sprite, a brave knight in shining armor, game asset, transparent background",
num_inference_steps=4,
guidance_scale=1.0,
height=512,
width=512,
).images[0]
image.save("knight.png")
huggingface-cli download Limbicnation/pixel-art-lora \
pytorch_lora_weights.safetensors \
--local-dir ./models/loras/
pytorch_lora_weights.safetensorsA sample workflow is included: comfyui_workflow.json
| Preview | Prompt |
|---|---|
| pixel art sprite, a brave knight in shining armor holding a sword | |
| pixel art sprite, an elven archer with bow and quiver | |
| pixel art sprite, a fierce orc warrior with battle axe | |
| pixel art sprite, a fire-breathing dragon with red scales | |
| pixel art sprite, a cute slime monster, blue and bouncy | |
| pixel art sprite, a skeletal warrior with rusty sword | |
| pixel art sprite, a majestic unicorn with rainbow mane | |
| pixel art sprite, a dark vampire lord with cape and fangs | |
| pixel art sprite, a space marine in power armor | |
| pixel art sprite, a cyberpunk hacker with neon implants | |
| pixel art sprite, a cute robot companion with glowing eyes | |
| pixel art sprite, a ninja assassin in black outfit with katana |
14/15 samples generated successfully (1 failed due to content filter)
| Parameter | Value |
|---|---|
| Base model | black-forest-labs/FLUX.2-klein-4B |
| LoRA rank | 64 |
| LoRA alpha | 128 |
| rsLoRA | Yes |
| Dtype | bfloat16 |
| Steps | 1000 |
| Batch size | 1 |
| Gradient accumulation | 4 |
| Learning rate | 1e-4 |
| LR scheduler | Cosine with restarts |
| Optimizer | AdamW 8-bit |
| Resolution | 512x512 |
| Dataset | 500 images (CC0 curated + synthetic) |
Final loss: ~1.8 - 2.0 (stable convergence)
Full training config: config.yaml
This model was trained with full data provenance tracking. All source images are CC0 public domain, making the outputs safe for commercial game development, Steam releases, and B2B studio use.
FLUX.2-klein-4B uses a different architecture from FLUX.1:
Flux2KleinPipeline (not FluxPipeline)AutoencoderKLFlux2You must use
diffusers >= 0.37.0.dev0(install from git main branch). The released 0.36.x does not includeFlux2KleinPipeline.
This LoRA adapter is released under Apache 2.0.
The base model (FLUX.2-klein-4B) is also Apache 2.0 licensed.
@misc{pixel-art-lora-2026,
title={Pixel Art Sprite LoRA for FLUX.2-klein-4B},
author={Limbicnation},
year={2026},
url={https://huggingface.co/Limbicnation/pixel-art-lora}
}