Kling v2.1 Master
kling-v2.1-masterUse the Kling V2.1 Master API for AI video generation. Use the listed route’s video request format to specify the clip. Develop storyboard clips, motion studies, or creative previews. Compare the available provider routes, request examples, and usage prices on OpenAny.
Auto route pricing
Route source: Tencent
- Published rate
- $0.276 / second
- Billing unit
- / second
- Context / Max output
- — / —
- Live routes
- 1
On this page
Overview
Use the Kling V2.1 Master API for AI video generation. Use the listed route’s video request format to specify the clip. Develop storyboard clips, motion studies, or creative previews. Compare the available provider routes, request examples, and usage prices on OpenAny.
Playground
Result preview
Tencent · 211ms
Response example. Run to see the actual response.
{
"url": "https://raw.githubusercontent.com/hong3yang/hong3test/refs/heads/main/1784098657.mp4"
}Agent handoff preview
Providers
| Provider | Pricing | Latency | Uptime | Supply | Route |
|---|---|---|---|---|---|
Live | Input $0.276 / second | 211ms | — | Verified |
- Unit price
- $0.276
Source: the selected provider route in OpenAny's public model catalog. A price update timestamp is not supplied.
API
- Base URL
https://api.openany.si/v1- POST
/v1/videos- GET
/v1/videos/{task_id}- Authentication
Authorization: Bearer $OPENANY_API_KEY
Request parameters
| Parameter | Type / range | Default value | Required | Description |
|---|---|---|---|---|
cfg_scale | number | — | No | cfg_scale |
duration | string | — | No | duration |
image | object | — | No | image |
mode | string | — | No | mode |
model_name | string | — | No | model_name |
prompt | string | — | No | prompt |
No required parameters returned.
Request example
curl 'https://api.openany.si/v1/videos' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aspect_ratio": "16:9",
"cfg_scale": 0.5,
"duration": "5",
"mode": "std",
"model": "kling-v2.1-master",
"prompt": "A small river flowing",
"resolution": "720p",
"route_mode": "balanced"
}'Response example
Configured response example · not a live result
{
"url": "https://raw.githubusercontent.com/hong3yang/hong3test/refs/heads/main/1784098657.mp4"
}Error handling
400Check the model ID and request fields.429Retry with exponential backoff.5xxRetry only temporary provider failures.JSON Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string"
},
"image": {
"type": "object",
"properties": {
"url": {
"type": "string"
}
}
},
"prompt": {
"type": "string"
},
"duration": {
"type": "string"
},
"cfg_scale": {
"type": "number"
},
"model_name": {
"type": "string"
}
}
}Examples
Request example
POST /v1/videoscurl 'https://api.openany.si/v1/videos' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aspect_ratio": "16:9",
"cfg_scale": 0.5,
"duration": "5",
"mode": "std",
"model": "kling-v2.1-master",
"prompt": "A small river flowing",
"resolution": "720p",
"route_mode": "balanced"
}'