> ## 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.

# Vidu 2

Vidu 2 balances speed and quality for image-to-video and first-and-last-frame generation, producing four-second clips at 720P. Faster, lower-cost generation and reduced color shifts suit e-commerce, while better frame transitions and multi-image consistency support entertainment, animation, short dramas, and ad production.

### Model parameters

* Model ID: `vidu-2`
* Pricing: see the [model catalog](https://geekai.co/models?platform=bigmodel\&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:
>
> * `negative_prompt`
> * `image_tail`
> * `resolution`
> * `quality`
> * `fps`
> * `watermark`
>
> See the [official Vidu 2 API documentation](https://docs.bigmodel.cn/cn/guide/models/video-generation/vidu2).

Only reference generation supports `aspect_ratio`: 16:9, 9:16, or 1:1.
For image-to-video and reference generation, `size` accepts 1280x720. For first and last frames, it accepts 1280x720 or 480x360.
To use a Base64-encoded image, pass the encoded data in the image field.

### 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": "vidu-2",
    "prompt": "Bring the scene to life",
    "image": "https://img.iplaysoft.com/wp-content/uploads/2019/free-images/free_stock_photo.jpg",
    "size":"1280x720",
    "with_audio": true,
    "extra_body": {
        "movement_amplitude": "auto"
    }
}'
```

The JSON response contains the generated media URL:

```json theme={null}
{
    "model": "vidu-2",
    "task_id": "cc8ba53a-2be5-4a1e-a5db-a224b69d5a49",
    "task_status": "succeed",
    "video_result": [
        {
            "id": "2d394aa2-fef5-436d-9b72-2d783092fd78",
            "url": "https://static.geekai.co/video/2026/02/25/8951c2ef20d4d3477b2910a4c48aa6d7.mp4"
        }
    ]
}
```

The remaining video generation examples use the same response format.

### First and last frames

```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": "vidu-2",
    "prompt": "Bring the scene to life",
    "image": ["https://cdn.bigmodel.cn/markdown/1752547801491cogvideo4.png", "https://cdn.bigmodel.cn/markdown/1752547813297cogvideo5.png"],
    "size": "1280x720",
    "with_audio": true,
    "extra_body": {
        "movement_amplitude": "auto"
    }
}'
```

### Reference 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": "vidu-2",
    "prompt":"The boy in glasses and a blue T-shirt from [image 1] and the corgi from [image 2] sit on the lawn from [image 3], in 3D cartoon style",
    "image":[
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seelite_ref_1.png",
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seelite_ref_2.png",
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seelite_ref_3.png"
    ],
    "aspect_ratio": "16:9",
    "size": "1280x720",
    "with_audio": true,
    "extra_body": {
        "movement_amplitude": "auto"
    }
}'
```


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