pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("statisticalplumber/sd-magicbowl", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]🧩 Magic Bowl model V1
This is the fine-tuned Stable Diffusion model trained on image inside transparent bowl.
Use sdmagicbwl in your prompts.
🧨 Diffusers
This model can be used just like any other Stable Diffusion model. For more information, please have a look at the Stable Diffusion.
You can also export the model to ONNX, MPS and/or FLAX/JAX.
from diffusers import StableDiffusionPipeline
import torch
model_id = "statisticalplumber/sd-magicbowl"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "sdmagicbwl, a beautiful treehouse, art by Beeple"
image = pipe(prompt).images[0]
- Downloads last month
- -
# Gated model: Login with a HF token with gated access permission hf auth login