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

# CogVideoX-3

CogVideoX-3 adds first-and-last-frame generation, improves clarity and stability, and produces more natural large movements. It follows instructions and simulates physics more closely, with better HD realistic and 3D scenes.
Suggested uses include e-commerce ads, tourism, animation, film and television, and short videos.

### Model parameters

* Model ID: `cogvideox-3`
* 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`
> * `aspect_ratio`
>
> See the [official CogVideoX-3 API documentation](https://docs.bigmodel.cn/cn/guide/models/video-generation/cogvideox-3).

### 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": "cogvideox-3",
    "prompt": "A cat is playing with a ball.",
    "quality": "quality",
    "with_audio": true,
    "size": "1920x1080",
    "fps": 30
}'
```

The JSON response contains the generated media URL:

```json theme={null}
{
    "model": "cogvideox-3",
    "task_id": "036f6493-ee8f-49aa-ba8e-41ad672e5ff8",
    "task_status": "succeed",
    "video_result": [
        {
            "id": "7f88690b-d50b-4c8e-992d-e226a7bb9ae8",
            "url": "https://static.geekai.co/video/2026/02/10/ef397d1604a74f426dd0916195c5f044.mp4"
        }
    ]
}
```

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

### Image to video

**Single image**

```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": "cogvideox-3",
    "prompt": "Bring the scene to life",
    "image": "https://img.iplaysoft.com/wp-content/uploads/2019/free-images/free_stock_photo.jpg",
    "quality": "quality",
    "with_audio": true,
    "size": "1920x1080",
    "fps": 30
}'
```

**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": "cogvideox-3",
    "prompt": "Bring the scene to life",
    "image": [ "https://cdn.bigmodel.cn/markdown/1752547801491cogvideo4.png", "https://cdn.bigmodel.cn/markdown/1752547813297cogvideo5.png" ]
    "quality": "speed",
    "with_audio": true,
    "size": "1920x1080",
    "fps": 30,
}'
```

```json theme={null}
{
    "model": "cogvideox-3",
    "task_id": "500e61f7-dffc-47cd-8bca-ef001e01042f",
    "task_status": "succeed",
    "video_result": [
        {
            "id": "c2e95541-88f7-4cec-a9db-2a30b44021e3",
            "url": "https://static.geekai.co/video/2026/02/10/3fc62b4e065183b55443069936bf2ada.mp4"
        }
    ]
}
```


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