How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("cfchase/stable-diffusion-rhteddy", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Red Hat Teddy

Fine Tuned from Stable Diffusion v1-5

This model was based on runwayml/stable-diffusion-v1-5 and finetuned to generate pictures of rhteddy.

redhat dog

Diffusers

from diffusers import StableDiffusionPipeline
import torch

model_id = "cfchase/stable-diffusion-rhteddy"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")

prompt = "a photo of rhteddy on the beach"
image = pipe(prompt).images[0]
image
Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support