Skip to main content
OpenAI-compatible image generation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-gateway-model-regions
string | null

Body

application/json
model
string
required
prompt
string
required
background
string | null
n
integer<int32> | null
Required range: x >= 0
output_format
string | null
quality
string | null
response_format
string | null
size
string | null

Response

HTTP 200 response.