Get task status and results
get_taskCheck an image or video generation task's status, progress, result URLs, and failure reason, optionally polling until it completes or the wait time ends.
Instructions
Read an image or video task: status (queued, in_progress, completed, failed), progress, result_urls and fail_reason. Free. wait_seconds (0-45, default 30) keeps polling until the task finishes or the time runs out. Failed tasks are refunded automatically. Result links last 24 hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | task_id returned by generate_image or generate_video. | |
| wait_seconds | No |