Skip to main content
POST
Playground image generation

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345"

Path Parameters

workspaceID
string
required

The workspace ID

Pattern: ^[a-f0-9]{24}$

Body

application/json
prompt
string
required
model
string
required
n
number
size
string
quality
string
output_format
enum<string>
Available options:
png,
jpeg,
webp

Response

Successful response

The response is of type object.