You're looking at a specific version of this model. Jump to the model overview.

stability-ai /stable-diffusion-3:3a1a11ff

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Input prompt
negative_prompt
string
Input negative prompt
image
string
Input image for img2img mode
aspect_ratio
None
1:1
Aspect ratio for the generated image
num_outputs
integer
1

Min: 1

Max: 4

Number of images to output.
guidance_scale
number
4.5

Max: 50

Scale for classifier-free guidance
prompt_strength
number
0.6

Max: 1

Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image
seed
integer
Random seed. Leave blank to randomize the seed
output_format
None
webp
Format of the output images
output_quality
integer
80

Max: 100

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
disable_safety_checker
boolean
False
Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}