Angais/pixel-art-atlas-1.4m
Viewer β’ Updated β’ 1.41M β’ 89k β’ 808
Run Meowqara/zynra-1 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:
Use HF Jobs to fine-tune https://huggingface.co/Meowqara/zynra-1. 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.
Use HF Jobs to run batch inference with https://huggingface.co/Meowqara/zynra-1 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.
How to use Meowqara/zynra-1 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-", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Meowqara/zynra-1")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Meowqara/zynra-1")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Zynra 1 is a LoRA fine-tune of Stable Diffusion 1.5, made by Meowqara (MeowSamOPDZN Studio). It draws everyday photos and pixel-art sprites, in square, 16:9 and 9:16, and it is fast: with the LCM-LoRA it draws in just 8 steps.
stable-diffusion-v1-5/stable-diffusion-v1-5). Zynra 1 is a LoRA fine-tune on top of it, not a from-scratch model.latent-consistency/lcm-lora-sdv1-5 (LCM-LoRA by latent-consistency) for few-step sampling./hyperdetail anywhere in your prompt and the model draws its most detailed version. The trigger is trained into the model, so it works in any app with no extra setup.Top row: the same dog prompt in square, 16:9 and 9:16. Bottom row: a cat on a windowsill without and with /hyperdetail, and a pixel art wizard with /hyperdetail.
from diffusers import StableDiffusionPipeline, LCMScheduler
from peft import PeftModel
import torch
pipe = StableDiffusionPipeline.from_pretrained(
"stable-diffusion-v1-5/stable-diffusion-v1-5", torch_dtype=torch.float16
)
pipe.to("cuda")
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
# the adapter was saved by peft, so load it back with peft and merge it in
pipe.unet = PeftModel.from_pretrained(pipe.unet, "Meowqara/zynra-1")
pipe.unet = pipe.unet.merge_and_unload()
pipe.load_lora_weights("latent-consistency/lcm-lora-sdv1-5")
image = pipe(
"a dog playing in a sunny park",
width=768, height=432,
num_inference_steps=8, guidance_scale=1.0,
).images[0]
image.save("zynra-dog.png")
Notes:
width and height β 512x512 square, 768x432 for 16:9, 432x768 for 9:16. Those are the sizes it trained on./hyperdetail anywhere in the prompt for the most detailed version./hyperdetail trigger: Meowqara (MeowSamOPDZN Studio).