> ## 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 Q4 Preview

Vidu Q4 Preview improves character performances, camera work, and complex visual effects. It accepts up to 15 reference images and three audio clips and supports 2K and 4K output.

### Model parameters

* Model ID: `viduq4-preview`
* Current pricing: [Vidu Q4 Preview](https://geekai.co/models/viduq4-preview)
* 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://geekai.co/user/api_keys)

> [!NOTE]
>
> The following video API parameters are not supported:
>
> * `negative_prompt`
> * `image_tail`
> * `video`
> * `action`
> * `size`
> * `quality`
> * `fps`
> * `draft`
> * `draft_task_id`
> * `output_format`
>
> See the [official Vidu Q4 Preview API documentation](https://platform.vidu.cn/docs/api-reference/video-models/vidu-q4-preview).

Vidu Q4 Preview supports these aspect ratios (`aspect_ratio`):

* `16:9`: landscape
* `9:16`: portrait
* `3:4`: portrait
* `4:3`: landscape
* `1:1`: square

`resolution` accepts `540p`, `720p`, `1080p`, `2k`, or `4k` (default: `720p`).

`duration` accepts `3`–`16` seconds (default: `5` seconds).

Use `enhance_prompt` instead of the official `is_rec` to expand and enhance the prompt.

Pass additional official parameters in `extra_body`, as in the Vidu Q3 example.

### Pricing

Vidu Q4 Preview pricing depends on output resolution and duration:

| Model | Resolution | Price (CNY per second) |
| - | - | - |
| Vidu Q4 Preview | 540p | 0.3 |
| Vidu Q4 Preview | 720p | 0.6 |
| Vidu Q4 Preview | 1080p | 0.75 |
| Vidu Q4 Preview | 2k | 1.2 |
| Vidu Q4 Preview | 4k | 2.4 |

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 Pro channel with multiplier `0.8`, a `5`-second video at `720P` costs `0.6 x 5 x 0.8 = 2.4` CNY; at `2K` it costs `1.2 x 5 x 0.8 = 4.8` CNY. The discount also applies to additional charges.

### Image to video

Vidu Q4 Preview supports first-frame generation and references (images and audio). For text-to-video, use the Vidu Q3 family.

**First frame**

Pass one image in `image` to generate a video starting from that frame:

```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": "viduq4-preview",
    "prompt": "A drone races through intricate obstacles or natural wonders for an immersive flight",
    "image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seepro_i2v.png",
    "async": true
}'
```

### Reference to video

Vidu Q4 Preview accepts up to 15 reference images and three reference audio clips.

**Reference images**

Pass one or more reference images in `images`:

```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": "viduq4-preview",
    "prompt": "The boy in glasses and a blue T-shirt from @Image1 and the corgi from @Image2 sit on the lawn from @Image3, in 3D cartoon style",
    "images": [
        "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"
    ],
    "async": true
}'
```

**Multimodal references**

Pass reference images and audio together:

```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": "viduq4-preview",
    "prompt": "Use audio 1 as background music throughout this first-person ad for Geek Farm’s limited-edition Apple of Peace fruit tea. Begin with image 1: your hand picks a dew-covered Aksu red apple with a crisp tapping sound. At 2–4 seconds, cut to your hand dropping apple pieces, ice and tea into a shaker. Shake hard; sync the clinking ice and shaker to a lively drumbeat. Voice-over: ‘Freshly cut, freshly shaken.’ At 4–6 seconds, show the layered tea pouring into a clear cup, your hand piping milk foam on top and attaching a pink label. Move in on the layers of foam and tea. At 6–8 seconds, lift the cup from image 2 toward the viewer, label clearly visible. Voice-over: ‘Take a refreshing sip.’ Freeze on image 2. Use the same female voice throughout.",
    "images": [
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/r2v_tea_pic1.jpg",
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/r2v_tea_pic2.jpg"
    ],
    "audio": [
        "https://ark-project.tos-cn-beijing.volces.com/doc_audio/r2v_tea_audio1.mp3"
    ],
    "with_audio":true,
    "aspect_ratio": "16:9",
    "duration": 11,
    "async": true,
    "watermark": false
}'
```

### Asynchronous tasks

Video tasks can take a while. Use asynchronous requests to avoid timing out while waiting for generation.

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.

Follow the [asynchronous task example](https://docs.geekai.co/en/docs/video/kling/kling-video-v3-omni.md#asynchronous-tasks) to retrieve the result.


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