Generate AI videos using Wan 2.2 with advanced control over frames and quality steps. Supports 3-5 second videos with adjustable quality.

Model

wan-ai/wan-2.2

Parameters

ParameterTypeRequiredDescription
promptstringYesText description of the video
image_urlstringYesReference image URL
durationintegerNo3 or 5 seconds (default: 3)
framesintegerNoNumber of frames (e.g., 81, 135)
stepsintegerNoQuality steps: 30, 40, or 50 (default: 30)
motion_idstringNoMotion preset ID
seedintegerNoSeed for reproducibility

Steps

Higher step values produce better quality but take longer to generate.
StepsQualitySpeed
30StandardFast
40HighMedium
50BestSlow

Example

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "wan-ai/wan-2.2",
    "input": {
      "prompt": "Smooth motion sequence",
      "image_url": "https://example.com/person.jpg",
      "duration": 5,
      "frames": 135,
      "steps": 50
    }
  }'

Response

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

Pricing

DurationStepsPrice
3s30$0.20
3s40$0.24
3s50$0.28
5s30$0.20
5s40$0.24
5s50$0.28