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

ShengShu Technology's Vidu Q2 improves language understanding, emotional expression, motion range, and camera work for film, animation, advertising, e-commerce, short dramas, entertainment, and tourism.
It follows instructions more closely, captures subtler expressions, and produces more varied movement and smoother camera work.

### Model parameters

* Model IDs: `viduq2` / `viduq2-turbo` / `viduq2-pro`
* Pricing: see the [model catalog](https://geekai.co/models?platform=vidu\&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 shared video API parameters are not supported:
>
> * `size`
> * `quality`
> * `fps`
>
> See the [official Vidu Q2 API documentation](https://platform.vidu.cn/docs/text-to-video).

`aspect_ratio` accepts the following values:

* `1:1`
* `16:9`
* `9:16`
* `4:3`
* `3:4`

`resolution` accepts 540p, 720p, or 1080p.

`duration` accepts 1–10 seconds (default: 5 seconds).

Pass these additional options in `extra_body`:

* `subjects`: subject content.
* `style`: style; `general` for general use or `anime` for anime-style output.
* `movement_amplitude`: motion range; `auto` (default), `small`, `medium`, or `large`.
* `bgm`: add background music. If `true`, the system selects music from its preset library. If omitted or `false` (default), no music is added.
* `voice_id`: voice ID specifying the voice used in the video.
* `wm_url`: watermark image URL.
* `wm_position`: position of the watermark on the image.
* `off_peak`: off-peak mode. Use `true` for off-peak generation or `false` (default) for immediate generation.
* `payload`: pass-through data, transmitted without processing.
* `meta_data`: metadata identifier passed through as a JSON string.

These fields use the same types as the official API.

### Pricing

Vidu Q2 pricing depends on the model, task, resolution, and duration:

| Task | Model | Resolution | Price (CNY per second) |
| - | - | - | - |
| Text to video | viduq2 | 540p | 0.3125 |
| | viduq2 | 720p | 0.46875 |
| | viduq2 | 1080p | 0.625 |
| Reference to video | viduq2 | 540p | 0.46875 |
| | viduq2 | 720p | 0.78125 |
| | viduq2 | 1080p | 2.34375 |
| | viduq2-pro | 540p | 0.625 |
| | viduq2-pro | 720p | 0.9375 |
| | viduq2-pro | 1080p | 2.65625 |
| Image to video | viduq2-turbo | 540p | 0.1875 |
| | viduq2-turbo | 720p | 0.25 |
| | viduq2-turbo | 1080p | 1.09375 |
| | viduq2-pro | 540p | 0.25 |
| | viduq2-pro | 720p | 0.46875 |
| | viduq2-pro | 1080p | 1.71875 |
| First and last frames | viduq2-turbo | 540p | 0.1875 |
| | viduq2-turbo | 720p | 0.25 |
| | viduq2-turbo | 1080p | 1.09375 |
| | viduq2-pro | 540p | 0.25 |
| | viduq2-pro | 720p | 0.46875 |
| | viduq2-pro | 1080p | 1.71875 |

For [discounted GeekAI channels](https://docs.geekai.co/en/docs/model_price.md), multiply the listed rate by the channel multiplier. On the high-availability, speed-first text-to-video channel with multiplier `0.8`, a standard 5-second 720p video with sound costs `0.46875 x 5 x 0.8 = 1.875` CNY.

### Text to video

Describe the video in text:

```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": "viduq2",
    "prompt": "Hyperreal fashion photography in pale blue and light amber. An astronaut in a spacesuit walks through mist. Captivating platinum light in the background creates both minimalist still-life compositions and breathtaking panoramas.",
    "duration": 5,
    "aspect_ratio": "16:9"
}'
```

The JSON response includes the generated video's URL:

```json theme={null}
{
    "model": "viduq2",
    "task_id": "72bc4fd2-3c43-4571-b72f-db3aad3096fb",
    "task_status": "succeed",
    "video_result": [
        {
            "id": "038a74c4-762a-47c1-a8ba-e0c5d950ab9c",
            "url": "https://static.geekai.co/video/2026/03/05/152c1175b4379ccab9c48b12b8f5a4a4.mp4"
        }
    ]
}
```

The image-to-video and other 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": "viduq2-turbo",
    "prompt": "The astronaut waves as the camera slowly rises",
    "images": "https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/image2video.png",
    "duration": 5,
    "with_audio": true
}'
```

> [!NOTE]
>
> viduq2-turbo and viduq2-pro support image-to-video.

### 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": "viduq2-turbo",
    "prompt": "Push in on the bird as it takes flight to the right. It soars smoothly and naturally across the sky with red light swirling in its wake.",
    "image": "https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/startend2video-1.jpeg",
    "image_tail": "https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/startend2video-2.jpeg",
    "duration": 5
}'
```

> [!NOTE]
>
> viduq2-turbo and viduq2-pro support first-and-last-frame generation.

### 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": "viduq2-pro",
    "prompt": "Santa Claus and a bear hug beside a lake.",
    "image": [
        "https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/reference2video-1.png",
        "https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/reference2video-2.png",
        "https://prod-ss-images.s3.cn-northwest-1.amazonaws.com.cn/vidu-maas/template/reference2video-3.png"
    ],
    "duration": 4,
    "aspect_ratio": "4:3"
}'
```

> [!NOTE]
>
> viduq2 and viduq2-pro support reference generation. On viduq2-pro, `duration` defaults to 5 seconds and accepts 0–10. Set it to 0 to select the duration automatically.

### Asynchronous tasks

Video generation can take a while. We recommend GeekAI's asynchronous task mode.

The [video API](https://docs.geekai.co/en/api/video/generations.md) uses `async` to control asynchronous generation. The default, `false`, waits for the finished video. Set it to `true` to receive a task ID you can poll.

**Create a generation task**

```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": "viduq2",
    "prompt": "Hyperreal fashion photography in pale blue and light amber. An astronaut in a spacesuit walks through mist. Captivating platinum light in the background creates both minimalist still-life compositions and breathtaking panoramas.",
    "duration": 5,
    "aspect_ratio": "16:9",
    "async": true,
    "extra_body": {
        "bgm": true
    }
}'
```

The response includes a task ID:

```json theme={null}
{
    "model": "viduq2",
    "task_id": "371a39ff-d1a6-4990-8c7b-3dcc7e437861",
    "task_status": "pending"
}
```

**Retrieve the result**

Use the returned task ID to query the generation status and retrieve the video:

```bash theme={null}
curl --location --request GET 'https://geekai.co/api/v1/videos/{task_id}' \
--header 'Authorization: Bearer $GEEKAI_API_KEY'
```

The task's `task_status` field has four possible values:

* `pending`: created and waiting for processing
* `running`: processing
* `succeed`: completed successfully; the result is available
* `failed`: failed, possibly due to a content restriction or another error

While the task is running, the response looks like this:

```json theme={null}
{
    "model": "viduq2",
    "task_id": "371a39ff-d1a6-4990-8c7b-3dcc7e437861",
    "task_status": "running"
}
```

Poll the result endpoint until the status is `succeed`, then retrieve the generated video URL:

```json theme={null}
{
  "model": "viduq2",
  "task_id": "371a39ff-d1a6-4990-8c7b-3dcc7e437861",
  "task_status": "succeed",
  "video_result": [
    {
      "id": "30751061-18f8-41d7-8aa1-fea6415a5a01",
      "url": "https://static.geekai.co/video/2026/03/05/45abad7a92d050bfce23fb5768eee698.mp4"
    }
  ]
}
```


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