Generate AI videos using Wan 2.2 Flash, a faster version of Wan 2.2. Produces silent video only. I2V supports 720p in addition to 480p and 1080p.

Model

alibaba/wan-2.2-flash

Parameters

ParameterTypeRequiredDescription
promptstringYesText description of the video
modestringNot2v or i2v (default: t2v)
start_image_urlstringNoFirst-frame image URL (required for i2v)
negative_promptstringNoWhat to avoid in the video
resolutionstringNo480p, 720p (I2V only), or 1080p (default: 480p)
durationintegerNoFixed at 5 seconds
prompt_extendbooleanNoIntelligent prompt rewriting (default: true)
watermarkbooleanNoAdd watermark (default: false)
seedintegerNoSeed for reproducibility
Wan 2.2 Flash produces silent video only. 720p resolution is only available in I2V mode.

Example - Text-to-Video

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/wan-2.2-flash",
    "input": {
      "prompt": "A bird taking flight from a tree branch",
      "mode": "t2v",
      "resolution": "1080p"
    }
  }'

Example - Image-to-Video

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/wan-2.2-flash",
    "input": {
      "prompt": "A bird taking flight",
      "mode": "i2v",
      "start_image_url": "https://example.com/bird.jpg",
      "resolution": "720p"
    }
  }'

Response

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "pending"
  }
}