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

# Create a video (V1)

> Legacy video generation through the PipeLLM gateway.

<Warning>
  V1 is planned for retirement. A shutdown date has not been announced. For new integrations, prefer [V2](/api-reference/video/create) when your model is supported.

  Before migrating, check the [V2 model list and request schema](/guides/video). V1 models are not automatically supported by V2; changing the URL alone is not a migration. Keep using the documented V1 route for models that have not yet been migrated.
</Warning>

Use `POST https://api.pipellm.ai/v1/videos/generations` for legacy video models, including WaveSpeed Kling models. Supplier paths such as `/api/v3/kwaivgi/...` are internal routing details, not the public PipeLLM endpoint.

```bash theme={"dark"}
curl https://api.pipellm.ai/v1/videos/generations \
  -H "Authorization: Bearer $PIPELLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"kling-o1-text-to-video","prompt":"A blue ball rolling on a table"}'
```

Include the public model ID in `model`. Other required fields, supported options, and the asynchronous response depend on the selected model. This example shows the gateway request envelope; supply any additional fields required by that model.

Seedance models listed in the [V2 guide](/guides/video#supported-v2-models) use [`POST /v2/videos`](/api-reference/video/create). Do not mix V1 model-specific request bodies with the V2 schema.


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