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
- Base URL: https://docs.x.ai (the document declares no server; this is the origin it was published from)
- URL: https://docs.x.ai/v1/images/edits
- Auth: HTTP bearer
Request body
Example request
{
"model": "grok-imagine-image"
}Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.