POST /v1/openai/images/generations

Changed on

Request

Request body

promptstring
modelstring required
response_format'url' | 'b64_json' | 'b64_ephemeral'
quality'auto' | 'low' | 'medium' | 'high' | 'very_low' | 'xhigh' | 'max'
sizestring
output_formatstring

Response

Success

Changes

    • info

      added the new max enum value to the request property (media type: application/json)

    • info

      added the new max enum value to the request property (media type: multipart/form-data)

    • info

      added the new very_low enum value to the request property (media type: application/json)

    • info

      added the new very_low enum value to the request property (media type: multipart/form-data)

    • info

      added the new xhigh enum value to the request property (media type: application/json)

    • info

      added the new xhigh enum value to the request property (media type: multipart/form-data)

    • info

      the request property's maxLength was increased from 10000 to 20000 (media type: application/json)

    • info

      the request property's maxLength was increased from 10000 to 20000 (media type: multipart/form-data)