Generate AI videos using Wan 2.5 with text-to-video and image-to-video capabilities. Supports 480p to 1080p resolution and 5-10 second videos.

Model

wan-ai/wan-2.5

Parameters

ParameterTypeRequiredDescription
promptstringYesText description of the video
image_urlstringNoReference image URL (optional for text-to-video)
resolutionstringNo480p, 720p, or 1080p (default: 720p)
durationintegerNo5 or 10 seconds (default: 5)
aspect_ratiostringNo16:9 or 9:16
motion_idstringNoMotion preset ID
seedintegerNoSeed for reproducibility

Resources

Get available motion presets from the Resources API:
GET /v1/resources/wan-ai/motions/wan-2.5

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": "wan-ai/wan-2.5",
    "input": {
      "prompt": "Sunset over ocean waves",
      "resolution": "1080p",
      "duration": 10,
      "aspect_ratio": "16:9"
    }
  }'

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": "wan-ai/wan-2.5",
    "input": {
      "prompt": "Person walking through a forest",
      "image_url": "https://example.com/person.jpg",
      "resolution": "720p",
      "duration": 10,
      "aspect_ratio": "16:9"
    }
  }'

Response

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

Pricing

DurationResolutionPrice
5s480p$0.14
5s720p$0.26
5s1080p$0.40
10s480p$0.26
10s720p$0.50
10s1080p$0.80