Wait briefly for a SpicyAPI task
spicyapi_task_waitWait for a task to complete, then read its output asset URLs directly without a download-ticket call. Set a timeout up to 300 seconds and choose adaptive or fixed polling.
Instructions
Wait for a task for up to 300 seconds and read ready output.assets[].url directly without a download-ticket call. By default, polling backs off from about 2 to at most 10 seconds; an explicit intervalSeconds stays fixed. Prefer signed webhooks for production; a complete verified v2 callback needs no extra task_get. A local wait timeout does not cancel the task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ||
| timeoutSeconds | No | ||
| intervalSeconds | No | Fixed polling interval in seconds. Omit to use adaptive SDK backoff from about 2 to at most 10 seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |