Skip to main content
Retrieve Wan video task
Retrieve a Wan task with the public ID returned by Create Wan video task. Try the retrieve workflow.

Path parameter

string
required
Pass the complete ID returned at creation. Wan 2.7 uses wan27:, Wan Animate uses wananimate:, and Wan 3.0 Spicy uses <public-model-id>:<uuid>. URL-encode the ID when placing it in the path.

Response

For Wan 3.0 Spicy, outputs.videos contains the original provider download URLs. GENGEN reads the generated video to measure its billable duration and returns the provider URL directly. If generation fails, read error.message for the provider’s reason and error.upstreamCode when supplied. An accepted task can report a media or duration error asynchronously with HTTP 200 and status: "failed". Pending work can report pending or processing. Wan 3.0 Spicy can also report retrying. A successful task reports succeeded.
A task is visible only to the authorized GENGEN API key scope that owns it. Retrieve requests do not create a new generation charge.

Usage

On success, usage.resolution is the pricing tier string (for example, "720p"). Match usage.priceRowId to the same model in the price catalog and multiply its per-second rate by usage.billableSeconds.