GET https://www.anyfast.ai/v1/video/generations/{TASK_ID} until the AnyFast outer status reaches a terminal state. This endpoint covers the independent Wan2.7 model IDs wan2.7-t2v, wan2.7-i2v, and wan2.7-r2v, as well as compatible Wan2 tasks that return the same task shape.
Poll a task
A successful create response means the task was accepted and queued, not that generation succeeded. Provider-side validation can still move an accepted task to
FAILURE. Likewise, a query response can return HTTP 200 with top-level code: "success" while data.status is FAILURE; always use data.status for the generation outcome.AnyFast status lifecycle
Use the outerdata.status field to control polling.
data.progress is a percentage string from "0%" to "100%", not a number. Treat status as authoritative because progress can remain unchanged between polls.
Use a reasonable polling interval, such as 15 seconds, instead of sending continuous queries while generation is running.
AnyFast fields and upstream fields
The response contains an AnyFast task envelope and a nested copy of the upstream provider response.Retain the result
- A task can be queried for 24 hours after it is created.
- A successful result URL remains valid for 24 hours.
- Download or transfer the video promptly after
data.statusreachesSUCCESS.
Wan2 Task Query API Reference
View the complete task response, upstream payload, and error schema.