Skip to main content

Overview

Wan 2.5 (by Alibaba) is a cost-effective video model with good motion quality, especially for character animation. It supports text-to-video, image-to-video, and optional audio input.
Model IDQualityCredits~Cost
wan-2.5Standard80$0.80
wan-2.5-previewPreview60$0.60

Quick start

import { createVarg } from "vargai/ai"

const varg = createVarg({ apiKey: process.env.VARG_API_KEY! })

const result = await varg.videoModel("wan-2.5").generate({
  prompt: "a cartoon character dancing energetically in a colorful studio",
  duration: 5,
  aspectRatio: "16:9",
})

console.log(result.video.url)

Capabilities

Text-to-video

const result = await varg.videoModel("wan-2.5").generate({
  prompt: "a woman walking through a busy market, vibrant colors, cinematic",
  duration: 8,
})

Image-to-video

cURL
curl -X POST https://api.varg.ai/v1/video \
  -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan-2.5",
    "prompt": "the character starts walking forward slowly",
    "duration": 5,
    "files": [{ "url": "https://example.com/character.jpg" }]
  }'

Parameters

prompt
string
required
Text description of the video to generate.
duration
string
default:"5"
Video duration in seconds. Range: 3-10 seconds.
aspect_ratio
string
default:"16:9"
Output aspect ratio.
files
array
Array of { url: string } objects for image-to-video.
provider_options
object
Pass-through options. Supports resolution (default "480p"), negative_prompt, and audio_url for audio-driven generation.

Pricing

ModelCreditsUSD
wan-2.580$0.80
wan-2.5-preview60$0.60
One of the most affordable video models available.

Tips

  • Best value for character animation. Wan handles human and cartoon motion well at a fraction of Kling/Seedance cost.
  • Preview variant is good for quick iteration at even lower cost.
  • Combine with Soul for consistent character generation — use Soul to create the character image, then Wan to animate.
  • Audio input can drive motion — provide an audio_url in provider options for music-driven animation.

Kling V3

Higher quality, more expensive. Best for hero content.

Minimax

Similar price point, different motion characteristics.

LTX

Even cheaper at 50 credits. Fastest generation.