KlingAI Avatar 2.0 Standard
KlingAI Avatar 2.0 Standard generates talking avatar videos from a single portrait image and audio, preserving identity and producing natural lip-sync and expressive motion. It supports up to five minutes of video with multilingual control and gesture clarity for human or cartoon characters.
API Options
Platform-level options for task execution and delivery.
-
taskType
string required value: videoInference -
Identifier for the type of task being performed
-
taskUUID
string required UUID v4 -
UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
-
outputType
string default: URL -
Video output type.
Allowed values 1 value
-
outputFormat
string default: MP4 -
Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.
- `MP4`: Widely supported video container (H.264), recommended for general use.
- `WEBM`: Optimized for web delivery.
- `MOV`: QuickTime format, common in professional workflows (Apple ecosystem).
Allowed values 3 values
-
outputQuality
integer min: 20 max: 99 default: 95 -
Compression quality of the output. Higher values preserve quality but increase file size.
-
webhookURL
string URI -
Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.
Learn more 1 resource
- Webhooks PLATFORM
- Webhooks
-
deliveryMethod
string default: async -
Determines how the API delivers task results.
Allowed values 1 value
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation.
Learn more 1 resource
- Task Polling PLATFORM
-
uploadEndpoint
string URI -
Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.
Common use cases:
- Cloud storage: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- CDN integration: Upload to content delivery networks for immediate distribution.
// S3 presigned URL for secure upload https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600 // Google Cloud Storage presigned URL https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789 // Custom storage endpoint https://storage.example.com/uploads/generated-image.jpgThe content data will be sent as the request body to the specified URL when generation is complete.
-
safety
object -
Content safety checking configuration for video generation.
Properties 2 properties
-
safety»checkContentcheckContent
boolean default: false -
Enable or disable content safety checking. When enabled, defaults to
fastmode.
-
safety»modemode
string default: none -
Safety checking mode for video generation.
Allowed values 3 values
- Disables checking.
- Checks key frames.
- Checks all frames.
-
-
ttl
integer min: 60 -
Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeisURL.
-
includeCost
boolean default: false -
Include task cost in the response.
-
numberResults
integer min: 1 max: 4 default: 1 -
Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
Inputs
Input resources for the task (images, audio, etc). These must be nested inside the inputs object.
inputs object. Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: klingai:avatar@2.0-standard -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string min: 1 max: 2500 -
Text prompt describing elements to include in the generated output.
Learn more 2 resources
Retro Arcade Announcer Avatar
{
"taskType": "videoInference",
"taskUUID": "b38a0d45-2cb9-45e7-8340-8ab8de6aec1d",
"model": "klingai:avatar@2.0-standard",
"positivePrompt": "A highly expressive talking avatar performance of an energetic arcade event host, preserving the exact identity from the source image. Natural mouth movement, accurate lip-sync, subtle head nods, lively eyebrows, friendly eye contact, confident shoulders, polished presenter timing, stable framing, clean facial detail, appealing conversational realism, vibrant electronic-gaming atmosphere.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/b06de116-9865-4f69-85aa-47389348df02.jpg",
"audio": "https://assets.runware.ai/assets/inputs/f7e9776d-d6d9-40d3-aa53-120611f4b9c8.mp3"
}
}{
"taskType": "videoInference",
"taskUUID": "b38a0d45-2cb9-45e7-8340-8ab8de6aec1d",
"videoUUID": "e808dfdf-068f-443f-ad60-24f81ea318c3",
"videoURL": "https://vm.runware.ai/video/os/a10d08/ws/5/vi/e808dfdf-068f-443f-ad60-24f81ea318c3.mp4",
"cost": 0.5397
}Retro Futurist Transit Announcer
{
"taskType": "videoInference",
"taskUUID": "bb658937-9ac1-4ade-86bb-9c907221b34e",
"model": "klingai:avatar@2.0-standard",
"positivePrompt": "A polished talking avatar video of a retro-futurist transit announcer speaking directly to camera, natural lip sync, expressive eyebrows, subtle head nods, composed shoulders, confident welcoming demeanor, clean broadcast presentation, crisp facial detail, steady framing, smooth realistic mouth shapes, professional public-information style",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/582089a2-657c-4c2a-9b25-5f9bd061442f.jpg",
"audio": "https://assets.runware.ai/assets/inputs/551930ae-e549-4142-a9e8-24884810c18f.mp3"
}
}{
"taskType": "videoInference",
"taskUUID": "bb658937-9ac1-4ade-86bb-9c907221b34e",
"videoUUID": "0911f019-124e-45c9-8606-d4347d32a189",
"videoURL": "https://vm.runware.ai/video/os/a23d05/ws/5/vi/0911f019-124e-45c9-8606-d4347d32a189.mp4",
"cost": 0.76265
}Amber Radio Host Portrait
{
"taskType": "videoInference",
"taskUUID": "8f3dfba7-f74b-424b-a784-1a15226defc4",
"model": "klingai:avatar@2.0-standard",
"positivePrompt": "Create a natural talking-avatar video from the provided portrait and voice track. Preserve the subject's identity precisely. Use accurate lip-sync, attentive eye contact, gentle head nods, soft shoulder movement, and believable facial expression that matches an inviting storyteller tone. Keep framing as a vertical close portrait with clean professional presentation and warm broadcast ambiance.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/57f689a1-fa6a-4aca-8e56-3799724a8932.jpg",
"audio": "https://assets.runware.ai/assets/inputs/64711012-965c-468b-ac8d-03008677482c.mp3"
}
}{
"taskType": "videoInference",
"taskUUID": "8f3dfba7-f74b-424b-a784-1a15226defc4",
"videoUUID": "90ee0dcc-6e13-4e8a-8319-d6117d9c740e",
"videoURL": "https://vm.runware.ai/video/os/a08d21/ws/5/vi/90ee0dcc-6e13-4e8a-8319-d6117d9c740e.mp4",
"cost": 0.8448
}Clockwork Lecturer Portrait Sequence
{
"taskType": "videoInference",
"taskUUID": "f100cffa-8e8c-4693-939c-c950764364dc",
"model": "klingai:avatar@2.0-standard",
"positivePrompt": "A refined talking avatar video of a whimsical clockwork professor delivering an engaging explanation to camera. Preserve the exact identity from the portrait image, with precise mouth movement matched to the audio, natural blinking, subtle eyebrow raises, small hand-led upper-body emphasis, and confident educational presence. Clean vertical framing for social video, polished cinematic lighting, realistic skin and fabric detail, charming steampunk-inspired styling, steady camera, professional presentation.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/a4e31180-a3af-4a6d-8b33-97265984a525.jpg",
"audio": "https://assets.runware.ai/assets/inputs/190994b2-8fae-4c7f-b4e6-02020fbb929c.mp3"
}
}{
"taskType": "videoInference",
"taskUUID": "f100cffa-8e8c-4693-939c-c950764364dc",
"videoUUID": "db907e57-6da5-4eba-b81e-e705afe706bc",
"videoURL": "https://vm.runware.ai/video/os/a08d21/ws/5/vi/db907e57-6da5-4eba-b81e-e705afe706bc.mp4",
"cost": 0.76265
}