Instructions to use VaroDZAKY/Varo_pixel_Art with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use VaroDZAKY/Varo_pixel_Art with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("VaroDZAKY/Varo_pixel_Art") prompt = "pixelart_style" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
๐ฎ Varo Pixel Art LoRA
Generate retro RPG game sprite pixel art with AI! / Buat pixel art bergaya RPG klasik dengan AI!
โจ 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
Model tree for VaroDZAKY/Varo_pixel_Art
Base model
stable-diffusion-v1-5/stable-diffusion-v1-5