Create a video (V1)
curl --request POST \
--url https://api.pipellm.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pipellm.ai/v1/videos/generations"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pipellm.ai/v1/videos/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pipellm.ai/v1/videos/generations"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Create a video (V1)
Legacy video generation through the PipeLLM gateway.
POST
/
v1
/
videos
/
generations
Create a video (V1)
curl --request POST \
--url https://api.pipellm.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pipellm.ai/v1/videos/generations"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pipellm.ai/v1/videos/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pipellm.ai/v1/videos/generations"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}V1 is planned for retirement. A shutdown date has not been announced. For new integrations, prefer V2 when your model is supported.Before migrating, check the V2 model list and request schema. 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.
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.
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"}'
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 use POST /v2/videos. Do not mix V1 model-specific request bodies with the V2 schema.Was this page helpful?