Text-to-Image
Diffusers
Safetensors
English
lora
stable-diffusion
stable-diffusion-1.5
pixel-art
meowqara
zynra

Run this model with HF Jobs

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:

Fine-tune on my dataset

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.

Run batch inference

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.

Zynra 1 β€” Meowqara's image model

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.

a white puppy playing in a sunny park, drawn by Zynra 1

What it is (honest)

  • Base: Stability AI's SD 1.5 (stable-diffusion-v1-5/stable-diffusion-v1-5). Zynra 1 is a LoRA fine-tune on top of it, not a from-scratch model.
  • Speed: latent-consistency/lcm-lora-sdv1-5 (LCM-LoRA by latent-consistency) for few-step sampling.
  • Training: LoRA rank 8, alpha 8, on the UNet only, 1,000 steps, learning rate 1e-4, on a Kaggle T4.
  • Parameters: 1,594,368 trainable parameters (~1.59M) in the LoRA adapter β€” the SD 1.5 UNet it plugs into is 860M.
  • Data: 3,000 general photos with human captions (COCO captions) + 1,000 pixel-art images with captions (pixel-art-atlas). So it knows everyday things AND pixel-art characters.
  • Sizes: trained in three aspect buckets β€” 512x512 square, 768x432 (16:9), 432x768 (9:16).
  • Trigger: write /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.

Samples

six test images: dogs in three sizes, a cat plain vs /hyperdetail, and a pixel art wizard

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.

How to use

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:

  • Sizes: pass width and height β€” 512x512 square, 768x432 for 16:9, 432x768 for 9:16. Those are the sizes it trained on.
  • Trigger: /hyperdetail anywhere in the prompt for the most detailed version.
  • You need the SD 1.5 base weights too β€” this repo is only the LoRA adapter (6.4 MB), not the full model.

Known limits (first version)

  • 9:16 portrait is the weakest size β€” the portrait bucket had the fewest training images (664, vs 2130 landscape), so faces can look a little off in tall images.
  • It is still SD 1.5 underneath, so it keeps the base model's broad knowledge β€” and its flaws too.

Credit

  • Base model: Stability AI, Stable Diffusion 1.5 (CreativeML Open RAIL-M license, which this adapter inherits).
  • Speed adapter: latent-consistency, LCM-LoRA for SD 1.5.
  • Fine-tune, data mix and the /hyperdetail trigger: Meowqara (MeowSamOPDZN Studio).
  • Zynra is Meowqara's image-model series. Meowqara is a separate brand under MNAI.
Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ 1 Ask for provider support

Datasets used to train Meowqara/zynra-1