Skip to content
Docs menu

Video models

Kling 2.6

On this page

Kling 2.6 — high-quality AI video generation.

modelIdkling-2-6-image-to-video
Modalityvideo
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationEndpointDescription
Text to videoPOST /api/v1/generateBase generation from a text prompt.
Image to videoPOST /api/v1/generateCondition on a reference image — upload it via /api/v1/files/upload and pass the URL.
Poll taskGET /api/v1/task/{id}?model=kling-2-6-image-to-videoRetrieve state and result URLs.

Input parameters

FieldTypeRequiredValues / example
prompttextarearequiredEnter your text here...
image_urlsimagerequiredDrag and drop or click to upload your image
soundselectrequiredfalse, true
durationselectrequired5, 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"}}'