Skip to main content
Wan2.2 I2V A14B is an image-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

  • Image-to-video — Generate videos from an image + text prompt
  • Image-to-video — Provide a reference image URL via image
  • 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-i2v-a14b",
    "prompt": "a cat playing piano",
    "duration": 5,
    "image": "https://example.com/cat.jpg"
  }'

# 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-i2v-a14b
promptstringYesText description of the video
imagestringYes (i2v)Reference image URL
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 I2V A14B.