> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Wan 2.5

Wan 2.5 generates video from text or images. wan2.5-t2v-preview animates text descriptions, including lip-synced speaking, singing, and acting. It supports real people in portraits, half-length or full-body shots, as well as cartoon characters.
wan2.5-i2v-preview animates a single still image with automatic dubbing or a custom audio file.

### Model parameters

* Model IDs: `wan2.5-i2v-preview` / `wan2.5-t2v-preview`
* Pricing: see the [model catalog](https://geekai.co/models?platform=dashscope\&type=video) for current rates.
* Endpoint: `https://geekai.co/api/v1/videos/generations`
* Parameters: [Video API reference](https://docs.geekai.co/en/api/video/generations.md)
* Authentication: [Get an API key](https://docs.geekai.co/en/docs/quick_start.md)

> [!NOTE]
>
> The following video API parameters are not supported:
>
> * `with_audio`
> * `aspect_ratio`
> * `image_tail`
> * `quality`
> * `fps`
>
> See the [official Wan 2.5 API documentation](https://help.aliyun.com/zh/model-studio/use-video-generation).

Specify dimensions in `size` as width x height. Supported sizes match Wan 2.1.

### Text to video

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/videos/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model":"wan2.5-t2v-preview",
    "prompt": "An epic, adorable scene: a tiny cartoon kitten general in finely detailed golden armor and a slightly oversized helmet sits bravely on a little warhorse on a cliff. He recites: ‘Long clouds over Qinghai darken snowy peaks; a lone fortress looks toward Jade Gate Pass. A hundred battles in yellow sands wear through our golden armor; until Loulan falls, we shall not return.’ Below, an endless army of mice charges with makeshift weapons. Dark clouds gather over distant snowy peaks. Stage it like an ancient Chinese war epic, at once funny, cute and commanding.",
    "size": "832x480"
}'
```

The JSON response includes the generated video's URL:

```json theme={null}
{
    "model": "wan2.5-t2v-preview",
    "task_id": "b3edb816-3aaa-4c55-bf55-5997a5871616",
    "task_status": "succeed",
    "video_result": [
        {
            "id": "b93ebeb3-9280-4157-9361-c44c14f0874c",
            "url": "https://static.geekai.co/video/2026/02/06/6dd6538d58ab5edfe8910202ac30d18b.mp4"
        }
    ]
}
```

The image-to-video examples below use the same response format.

### Image to video

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/videos/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model":"wan2.5-i2v-preview",
    "prompt": "Urban fantasy art: a spray-painted teenage graffiti character springs to life from a concrete wall beneath a city railway bridge at night. He strikes an energetic rapper’s pose while rapping in English at breakneck speed. A lone streetlamp gives the scene cinematic lighting, vivid detail and energy. Only his rap is audible, with no other dialogue or noise.",
    "image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png",
    "resolution": "480P",
    "duration": 10
}'
```

To supply audio, pass the file URL:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/videos/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model":"wan2.5-i2v-preview",
    "prompt": "Urban fantasy art: a spray-painted teenage graffiti character springs to life from a concrete wall beneath a city railway bridge at night. He strikes an energetic rapper’s pose while rapping in English at breakneck speed. A lone streetlamp gives the scene cinematic lighting, vivid detail and energy. Only his rap is audible, with no other dialogue or noise.",
    "image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png",
    "audio_url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/ozwpvi/rap.mp3",
    "resolution": "480P"
}'
```

> [!NOTE]
>
> For `wan2.5-i2v-preview`, `resolution` accepts 480P, 720P, or 1080P. Base64 image data is also supported.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.