POST
/
models
/
v2
/
stabilityai
/
stable-diffusion-xl-base-1.0

Authorizations

Authorization
string
header
required

Provide your API key as Key your-key-here in the Authorization header.

Body

application/json
text
string
required

Input text to generate an image.

json
boolean

Flag to determine if the response is JSON formatted.

Response

200 - application/json
output
string

Generated image link or string.