Skip to main content
Wan2.2 T2V A14B is an text-to-video generation model available through AnyFast. Video generation is asynchronous — submit a task and poll GET /v1/video/generations/{task_id} until status is succeeded.

Key capabilities

  • Text-to-video — Generate videos from text descriptions
  • Duration control — 3–5 seconds
  • Custom resolution — Set width × height

Quick example

# Step 1 — create task
curl https://www.anyfast.ai/v1/video/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan2.2-t2v-a14b",
    "prompt": "a cat playing piano",
    "duration": 5
  }'

# Step 2 — poll until succeeded
curl https://www.anyfast.ai/v1/video/generations/{TASK_ID} \
  -H "Authorization: Bearer YOUR_API_KEY"

Parameters

ParameterTypeRequiredDescription
modelstringYesMust be wan2.2-t2v-a14b
promptstringYesText description of the video
durationnumberNo3–5 seconds. Default: 5
widthintegerNoOutput video width in pixels
heightintegerNoOutput video height in pixels
seedintegerNoRandom seed for reproducibility
metadataobjectNoExtra parameters passed to upstream

Task status values

StatusDescription
queuedTask is waiting in queue
processingVideo is being generated
succeededDone — data.url contains the video link (valid ~24h)
failedFailed — data.error contains the error message

API Reference

View the interactive API playground for Wan2.2 T2V A14B.