Try Grok Imagine - Image Edit in the Workbench
Run this model interactively, tune parameters, and compare outputs.
xai-grok-imagine-image-edit
Grok Imagine - Image Edit is part of xAI’s Grok Imagine suite, a multimodal creative stack supporting image-to-image generation with strong prompt adherence, cinematic aesthetics, style adaptation (including anime), and advanced world/physics understanding. It excels in believable lighting, coherent composition, and production-ready outputs suitable for video game ads and creative workflows. This endpoint specifically handles text-to-image generation.
Example request
- Sync
- Async
- Async with SSE
See the image editing reference for more details.
- Minimal
- All parameters
Fetch model details
The models endpoint returns the full model object, including itsjson_request_schema.
Request parameters
Required parameters
| Field | Type | Default | Description |
|---|---|---|---|
prompt | string | "" | Prompt for generated image |
input_image | string | — | Image you want to edit. Format: uri. |
Optional parameters
| Field | Type | Default | Description |
|---|---|---|---|
output_format | string | "webp" | Format of the output images One of: webp, jpg, png. |