Skip to content
Docs menu

Video models

Kling AI Avatar 2.0

On this page

Kling AI Avatar 2.0 — high-quality AI video generation.

modelIdkling-ai-avatar-pro
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-ai-avatar-proRetrieve state and result URLs.

Input parameters

FieldTypeRequiredValues / example
image_urlimagerequiredDrag and drop or click to upload your file
audio_urlimagerequiredDrag and drop or click to upload your file
prompttextarearequiredEnter your prompt here...

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-ai-avatar-pro","input":{"prompt":"natural, expressive facial performance with lip movement synced to the spoken audio, subtle head turns and blinking, soft even lighting, steady framing"}}'