get_task
Fetch a generation task's result and status by its task id. Optionally wait up to 60 seconds for completion; retry with the same id if still running.
Instructions
Fetch a generation by task id (not an upload assetId). Optional waitSeconds (max 60) polls until completed or failed. Jobs often take longer than 60 seconds — call again with the same id until it is completed or failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task id from generate_model | |
| waitSeconds | No | Seconds to poll for a terminal status (max 60) |