Text-to-Image
Diffusers
flux
lora
diffusion
pixel-art
sprites
game-assets

Run this model with HF Jobs

Run milliyin/pixel_art_characters_lora_flux_nf4 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/milliyin/pixel_art_characters_lora_flux_nf4. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/milliyin/pixel_art_characters_lora_flux_nf4 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

FLUX Pixel Art Characters β€” LoRA

Task: Text-to-Image (Pixel Art Characters)
Base: black-forest-labs/FLUX.1-dev β€’ Adapter: LoRA (attention layers)
Hardware: Trained on NVIDIA A100
Updated: 2025-08-26

This LoRA adapts FLUX to generate retro pixel-art characters with consistent silhouettes and limited palettes great for game assets, avatars, and concept iterations.

Keep prompts short and style-focused (see tips below).
License defaults to CC BY-NC 4.0 (non-commercial).


✨ Examples

Prompt Output
pixel art character, with red hair, wearing gray armor, holding no weapon, facing forward rogue
pixel art character, with red hair, wearing brown armor, holding no weapon, facing forward hacker
pixel art character, with brown hair, wearing blue clothing, holding no weapon, facing forward knight

πŸš€ Quickstart (Diffusers)

import torch
from diffusers import FluxPipeline

pipe = FluxPipeline.from_pretrained(
    "black-forest-labs/FLUX.1-dev",
    torch_dtype=torch.float16
).to("cuda")

pipe.load_lora_weights("milliyin/pixel_art_characters_lora_flux_nf4")


NEGATIVE_PROMPT = "blurry, low quality, distorted, ugly"
HEIGHT = 512
WIDTH = 512
GUIDANCE_SCALE = 7.5
NUM_INFERENCE_STEPS = 50
SEED = 42

prompt = "pixel art, rpg adventurer, green cloak, clean outline, limited palette, facing forward"

image = pipe(
  prompt=prompt,
  negative_prompt=NEGATIVE_PROMPT,
  height=HEIGHT,
  width=WIDTH,
  guidance_scale=GUIDANCE_SCALE,
  num_inference_steps=NUM_INFERENCE_STEPS,
).images[0]

image.save("sample.png")
Downloads last month
114
Inference Providers NEW

Model tree for milliyin/pixel_art_characters_lora_flux_nf4

Adapter
(42,677)
this model

Dataset used to train milliyin/pixel_art_characters_lora_flux_nf4