Video models
Kling 2.6
On this page
Kling 2.6 — high-quality AI video generation.
| modelId | kling-2-6-image-to-video |
| Modality | video |
| Pricing | See this model on the Pricing page for the current per-call price (with your markup). |
Operations
| Operation | Endpoint | Description |
|---|---|---|
| Text to video | POST /api/v1/generate | Base generation from a text prompt. |
| Image to video | POST /api/v1/generate | Condition on a reference image — upload it via /api/v1/files/upload and pass the URL. |
| Poll task | GET /api/v1/task/{id}?model=kling-2-6-image-to-video | Retrieve state and result URLs. |
Input parameters
| Field | Type | Required | Values / example |
|---|---|---|---|
| prompt | textarea | required | Enter your text here... |
| image_urls | image | required | Drag and drop or click to upload your image |
| sound | select | required | false, true |
| duration | select | required | 5, 10 |
Example request
bash
curl -X POST https://you.bot/api/v1/generate \
-H "Authorization: Bearer $YOUBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"modelId":"kling-2-6-image-to-video","input":{"prompt":"Animate the still: a scoop of ice cream slowly melts down a waffle cone, a single drip sliding toward the fingertips as warm afternoon light glows behind it and the camera drifts gently closer.","sound":"false","duration":"5"}}'