๐ŸŽฎ Varo Pixel Art LoRA

Generate retro RPG game sprite pixel art with AI! / Buat pixel art bergaya RPG klasik dengan AI!

Monster with Sword

Red Dragon


โœจ About / Tentang Model

A LoRA model trained to generate pixel art in retro RPG game sprite style. Perfect for creating game characters, monsters, items, and other pixel art objects.

Model LoRA yang ditraining khusus untuk menghasilkan pixel art bergaya sprite game RPG klasik.

  • ๐ŸŽฏ Style: Retro RPG Game Sprite
  • ๐Ÿง  Base Model: Stable Diffusion v1.5
  • ๐Ÿ”ง Type: LoRA
  • ๐Ÿ“ Resolution: 512x512

๐Ÿš€ Usage / Cara Pakai (Google Colab)

!pip install diffusers transformers accelerate peft -q
!pip install torchao --upgrade -q

import torch
from diffusers import StableDiffusionPipeline
from peft import PeftModel
from IPython.display import display

pipe = StableDiffusionPipeline.from_pretrained(
    "stable-diffusion-v1-5/stable-diffusion-v1-5",
    torch_dtype=torch.float16,
    safety_checker=None,
).to("cuda")

pipe.unet = PeftModel.from_pretrained(pipe.unet, "VaroDZAKY/Varo_pixel_Art")
pipe.unet = pipe.unet.to("cuda")

def generate(prompt):
    pipe.unet.eval()
    result = pipe(
        prompt=f"pixelart_style, {prompt}, sharp pixel edges, flat colors, no gradient",
        negative_prompt="blurry, realistic, 3d, gradient, smooth shading, watermark, text",
        num_inference_steps=100,
        guidance_scale=11.0,
        height=512,
        width=512,
    ).images[0]
    display(result)
    return result

# Just type the object name! / Tinggal ketik nama objek!
generate("monster with sword")
generate("red fire dragon")
generate("ice monster")
Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for VaroDZAKY/Varo_pixel_Art

Adapter
(636)
this model