Create an image variation
Creates a variation of a given image using the OpenAI-compatible Images API. The request is sent as multipart/form-data with the image file as a binary upload.
Not every provider implements the Images API. Requests routed to a provider that does not support it return 400 Bad Request with an explanatory error message; use /chat/completions for those providers.
Query parameters
Specific provider to use (default determined by model)
Response
Successful response
Changes
Changed in 2 of the 55 revisions of this API.19
- ▲
request property
sizewas restricted to a list of enum valuesrequest-property-became-enum
- ○
added the new
1024x1024enum value to the request propertysizerequest-property-enum-value-added
- ○
added the new
1024x1536enum value to the request propertysizerequest-property-enum-value-added
- ○
added the new
1024x1792enum value to the request propertysizerequest-property-enum-value-added
- ○
added the new
1536x1024enum value to the request propertysizerequest-property-enum-value-added
- ○
added the new
1792x1024enum value to the request propertysizerequest-property-enum-value-added
- ○
added the new
256x256enum value to the request propertysizerequest-property-enum-value-added
- ○
added the new
512x512enum value to the request propertysizerequest-property-enum-value-added
- ○
added the new
autoenum value to the request propertysizerequest-property-enum-value-added
- ▲
- ○
endpoint added
endpoint-added
- ○