Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
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.
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
