edit_image
Create a Grok Imagine task on RunAPI to edit images, returning a task ID, status, and output URLs.
Instructions
Create a Grok Imagine task on RunAPI (edit image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| prompt | No | Optional image editing instruction. Declared type: string. | |
| timeout_ms | No | ||
| aspect_ratio | No | Declared type: string. | |
| callback_url | No | Webhook URL for terminal Task delivery. Declared type: string. | |
| mask_indices | No | Not accepted by this model. | |
| source_task_id | No | Not accepted by this model. | |
| poll_interval_ms | No | ||
| source_image_url | No | Public source image URL. Declared type: string. | |
| source_image_urls | No | Declared type: array. | |
| enable_safety_checker | No | Enable content safety checks. Declared type: boolean. |