images

Create image (image generation)

Changed on
post/v1/images/generations

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/v1/images/generations
  • Auth
    HTTP bearer

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

Changes

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new permission_error enum value to the / response property for the response status

    • warning

      added the new permission_error enum value to the / response property for the response status

    • warning

      added the new permission_error enum value to the / response property for the response status

    • warning

      added the new permission_error enum value to the / response property for the response status

    • warning

      added the new permission_error enum value to the / response property for the response status