Wan 2.2's 5B model produces up to 5 seconds of video 720p at 24FPS with fluid motion and powerful prompt understanding
Wan v2.2 5B (alibaba/wan-v2.2-5b-image-to-video) is a video model from Alibaba. Pricing via AIgateway: $0.150 per second. Call it via https://api.aigateway.sh/v1/videos/generations — set model="alibaba/wan-v2.2-5b-image-to-video". Best for: Ads, Storyboards, Demos.
curl https://api.aigateway.sh/v1/videos/generations \
-H "Authorization: Bearer $AIGATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"alibaba/wan-v2.2-5b-image-to-video","prompt":"a slow drone shot over a mountain lake"}'{
"model": "alibaba/wan-v2.2-5b-image-to-video",
"prompt": "A drone shot of a mountain lake at golden hour",
"duration": 5, // seconds
"aspect_ratio": "16:9"
}
// Response is an async job — poll /v1/jobs/<id> until status === "completed".{
"id": "job_abc123",
"status": "queued", // queued | processing | completed | failed
"model": "alibaba/wan-v2.2-5b-image-to-video",
"created": 1776947082
}
// After completion:
{
"id": "job_abc123",
"status": "completed",
"result": {
"url": "https://media.aigateway.sh/video/abc123.mp4",
"duration": 5,
"resolution": "1920x1080"
}
}# See docs at https://aigateway.sh/docs