Images

Create image variation

Creates a variation of a given image. This endpoint only supports dall-e-2.

post/images/variations

Response

OK

createdinteger required

The Unix timestamp (in seconds) of when the image was created.

background'transparent' | 'opaque'

The background parameter used for the image generation. Either transparent or opaque.

output_format'png' | 'webp' | 'jpeg'

The output format of the image generation. Either png, webp, or jpeg.

quality'low' | 'medium' | 'high' | 'xhigh' | 'max'

The quality of the image generated. One of low, medium, high, xhigh, or max.

Changes

Changed in 4 of the 163 revisions of this API.3215

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

  • 185927e212ab124See the full diff
    • ▲

      the response's property type changed from string to no type for status

      response-property-type-changed

    • ●

      added the new max enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new xhigh enum value to the response property for the response status

      response-property-enum-value-added

    • ○

      added subschema #1 subschema #2 to the response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed the 1024x1024 enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      removed the 1024x1536 enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      removed the 1536x1024 enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 6a6c681b182021See the full diff
    • ▲

      the response's body type changed from no type to object for status

      response-body-type-changed

    • ▲

      the response property became optional for the status

      response-property-became-optional

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog