get_task
Fetch the current status and latest result payload for a grok-imagine task using its task ID and action, so you can poll asynchronous image or video generation jobs and retrieve outputs.
Instructions
Fetch the current status and latest result payload for a grok-imagine task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Asynchronous endpoint the task was created on. | |
| task_id | Yes | Task id returned when the task was created. |