Kling

Kling Avatar

Image
Not available
Generate Now

Kling AI Avatar Standard. Generate talking avatars from images with audio.

Type
Image to Video
Billed
per vid
Provider
Kling

Pricing

/ vid
Price$6.00 / vid

Supported parameters

modelSettings
  • Promptprompt
  • Image Inputimage_url
  • Audio Inputaudio_input

Code examples

POST /v1/generations

Generations are async — the request returns immediately with an id; poll for the result.

python
import requests

response = requests.post(
    "https://api.modelstack.cc/v1/generations",
    headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
    json={
        "type": "IMAGE_TO_VIDEO",
        "prompt": "A serene mountain landscape at sunset",
        "model": "kling/ai-avatar"
    },
)
generation_id = response.json()["data"]["id"]

# Poll for the result
result = requests.get(
    f"https://api.modelstack.cc/v1/generations/{generation_id}",
    headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
).json()
print(result["data"]["status"])

Related models

Frequently asked questions

How is Kling Avatar billed on ModelStack?expand_more
Kling Avatar (Image to Video) is billed at a flat, prepaid rate of $6.00 / vid — generation pricing has no tier-based discounts. Final request costs are available in the console.
What other generation types does Kling Avatar support?expand_more
Besides Image to Video, Kling Avatar also supports: Speech to Video.
Which parameters does Kling Avatar support?expand_more
Kling Avatar supports: Prompt, Image Input, Audio Input.
How can I generate with Kling Avatar?expand_more
Use the Generate composer in your dashboard, or call the API directly with model `kling/ai-avatar` and type `IMAGE_TO_VIDEO` — see the code example above.