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

Model

alibaba/wan-2.5

Parameters

ParameterTypeRequiredDescription
promptstringYesText description of the video
modestringNot2v or i2v (default: t2v)
start_image_urlstringNoFirst-frame image URL (required for i2v)
audio_urlstringNoCustom audio URL for audio-video sync
negative_promptstringNoWhat to avoid in the video
resolutionstringNo480p, 720p, or 1080p (default: 720p)
durationintegerNo5 or 10 seconds (default: 5)
prompt_extendbooleanNoIntelligent prompt rewriting (default: true)
watermarkbooleanNoAdd watermark (default: false)
audiobooleanNoAuto-generate audio. Set false for silent video (default: true)
seedintegerNoSeed for reproducibility
video_urls and multi_prompt are not supported on Wan 2.5. For reference-to-video or multi-shot, use Wan 2.6.

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.5",
    "input": {
      "prompt": "Sunset over ocean waves",
      "mode": "t2v",
      "resolution": "1080p",
      "duration": 10
    }
  }'

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.5",
    "input": {
      "prompt": "Person walking through a forest",
      "mode": "i2v",
      "start_image_url": "https://example.com/person.jpg",
      "resolution": "720p",
      "duration": 10
    }
  }'

Response

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