Grok Imagine Image Image Editing
Images
Grok Imagine Image Image Editing
POST
Grok Imagine Image Image Editing
This is an asynchronous API and only returns the
task_id of the asynchronous task.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API key}}.
Request Body
The source image to edit, provided as a public URL or base64 data URI (for example, “data:image/jpeg;base64,…”). The model analyzes the image content and applies the requested edits.
Text instructions describing the desired edits to the source image. The model can understand the image content and make modifications, including style transfer, object modification, scene changes, and iterative refinement.Length limit: 1 - unlimited
Response Information
Use task_id to request the Get Task Result API to retrieve the generated output.