Skip to main content
Wan2.2 A14B provides two asynchronous video workflows through POST https://www.anyfast.ai/v1/video/generations:
  • wan2.2-t2v-a14b for text-to-video
  • wan2.2-i2v-a14b for image-to-video
Save the returned task ID and query GET /v1/video/generations/{task_id} for the result.
The AnyFast request shape below is different from Alibaba Cloud Model Studio’s direct API. Use the AnyFast fields shown on this page when calling www.anyfast.ai.

Key capabilities

Both workflows support a 3–5 second duration, explicit output width and height, and an optional random seed through the current AnyFast contract.

Capability examples

Describe the subject, action, setting, visual style, and camera motion in prompt. Use wan2.2-t2v-a14b; do not send an image.A useful prompt states the primary motion before secondary visual details:
A paper lantern floats above a quiet riverside town at dusk. The camera follows from below as warm reflections ripple across the water.

Create a task

cURL

Request behavior

Image input requirements

Alibaba Cloud documents these Wan2.2 family limits for first-frame images:
  • JPEG, JPG, PNG without an alpha channel, BMP, or WebP
  • Public HTTP/HTTPS URL or Base64 data URI
  • Width and height between 240 and 8,000 pixels
  • File size no larger than 10 MB
See the Alibaba Cloud image-to-video API reference for the upstream format details.

Query and retain the result

Poll GET https://www.anyfast.ai/v1/video/generations/{TASK_ID} using the task ID returned by the create request.
  • Continue polling while the AnyFast outer data.status is NOT_START, QUEUED, or IN_PROGRESS.
  • On SUCCESS, read data.result_url.
  • On FAILURE, read data.fail_reason.
  • data.progress is a percentage string such as "0%" or "100%".
  • Download a successful result promptly because upstream video URLs are temporary.
The nested data.data.output.task_status is the upstream provider status. Use the outer AnyFast status to control your polling loop.

Wan2.2 A14B API Reference

View both creation workflows and the shared task-query response.