Stable Diffusion V35
Header parameters
AuthorizationstringRequiredExample:
sk-kEEV5TfTCTpE4uFwUg9p8UhVyVWpC9IEgOVezQ4b1ZCWQFCVBody
modelstringRequiredExample:
model is the model name
stable-diffusion-v35-large-text-to-imagepromptstringRequiredExample:
prompt is the prompt.
A cute baby sea otter.negative_promptstringOptionalDefault:
The negative prompt to use. Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution). Default value: ""
""Example: low resolution, error, worst quality, low quality, defectsnum_inference_stepsintegerOptional
The number of inference steps to perform. Default value: 28
guidance_scalenumberOptionalDefault:
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Default value: 3.5
3.5Example: 3.5enable_safety_checkerbooleanOptionalDefault:
If set to true, the safety checker will be enabled. Default value: false
falsenintegerOptionalDefault:
n is the number of images to generate, default value is 1.
1Example: 1output_formatstring · enumOptionalDefault:
output_format indicate the output format, default value is url.
urlExample: urlPossible values: Responses
200Success
application/json
createdintegerRequired
post
/v1/images/generations200Success
Last updated