This model is a diffusion model for text to image generation.
Usage
from diffusers import StableDiffusionPipeline
pipeline = StableDiffusionPipeline.from_pretrained('MADZaMeR/stable_diffusion', torch_dtype=torch.float16
).to("cuda" if torch.cuda.is_available() else "cpu")
prompt = "a photograph of an astronaut riding a horse"
image = pipeline(prompt, num_inference_steps=50, guidance_scale=7.5).images[0]
image
- Downloads last month
- 9
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.