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
30
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and the model is not deployed on the HF Inference API.