v1
Edit an image based on a prompt. This is the endpoint for making edit requests to image generation models.
post/v1/images/edits
Request body
Example request
{
"model": "grok-imagine-image"
}Response
Success
Changes
Changed in 2 of the 9 revisions of this API.7
- ○
added the new
21:9enum value to the request property////request-property-enum-value-added
- ○
added the new
5:2enum value to the request property////request-property-enum-value-added
- ○
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○