latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-23111184421.2 KB

0e1616bb3dd4

images

Create image (image generation)

post/v1/images/generations

Request body

modelstring required
ninteger
promptstring required
providerstring

Provider is gateway routing metadata, stripped before dispatching upstream.

qualitystring
response_formatstring
sizestring
streamboolean

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

userstring

Response

OK

backgroundstring
createdinteger
output_formatstring
providerstring

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

qualitystring
sizestring