Images
Generate
POST
/
image
/
generate
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
model
string
requiredThe model ID to use for generation
prompt
string
requiredThe description for the image
width
number
default: 1024Width of the generated image
height
number
default: 1024Height of the generated image
steps
number
default: 30Number of inference steps
hide_watermark
boolean
default: falseWhether to hide the watermark
return_binary
boolean
default: falseWhether to return binary image data instead of base64
seed
number
Random seed for generation
cfg_scale
number
CFG scale parameter
style_preset
string
Style preset to use
negative_prompt
string
Negative prompt for generation
Response
200 - application/json
request
string
Base64 encoded request data
images
string[]
timing
object
Inference timing information