edit_image
Edit an image using AI by providing a source image URL and an editing instruction. Returns task 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. | |
| timeout_ms | No | ||
| aspect_ratio | No | ||
| callback_url | No | Webhook URL for terminal Task delivery. | |
| 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. | |
| source_image_urls | No | ||
| enable_safety_checker | No | Enable content safety checks. |