Skip to main content
POST
Error

Autorisierungen

Authorization
string
header
erforderlich

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

Body

application/json

Image generation request

model
string
erforderlich
prompt
string
erforderlich
n
integer
Erforderlicher Bereich: x >= 1
provider
string

Provider is gateway routing metadata, stripped before dispatching upstream.

quality
string
response_format
string
size
string
stream
boolean

Stream is typed only so the gateway can reject it: streaming image generation returns server-sent events, which this endpoint does not relay.

user
string

Antwort

OK

background
string
created
integer
data
object[]
output_format
string
provider
string

Provider is a gateway addition, stamped like every other routed response, so clients can tell which provider served the request.

quality
string
size
string
usage
object