Blane187's picture
Add generated example (#1)
2be7fec verified
metadata
license: mit
tags:
  - text-to-image
  - stable-diffusion
  - lora
  - pony
library_name: diffusers
pipeline_tag: text-to-image
base_model:
  - John6666/mala-anime-mix-nsfw-pony-xl-v5-sdxl
widget:
  - text: >-
      ai hoshino, long hair, bangs, purple eyes, purple hair, symbol-shaped
      pupils
    output:
      url: images/example_n76iliscl.png

prompt: ai hoshino, long hair, bangs, purple eyes, purple hair, symbol-shaped pupils

example code

import torch
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained("John6666/mala-anime-mix-nsfw-pony-xl-v5-sdxl")
pipe.load_lora_weights("Blane187/ai-hoshino-s1-ponyxl-lora-nochekaise")


pipe.to('cuda')

image = pipe(
    prompt, 
    negative_prompt=negative_prompt,
    width=832,
    height=1216, 
    guidance_scale=7,
    num_inference_steps=28
).images[0]

image