on-v1-5", torch_dtype=torch.float16, use_safetensors=True
).to("cuda")
prompt = "peasant and dragon combat, wood cutting style, viking era, bevel with rune"

image = pipeline(prompt, num_inference_steps=25).images[0]
image  Under the hood, AutoPipelineForText2Image: automatically detects a "stable-diffusion" class from the model_index.json file loads the corresponding text-to-image StableDiffusionPipeline based on the "stable-diffusion" class n