---
title: "Create an advanced Kling lip-sync task"
method: POST
path: "/kling/v1/videos/advanced-lip-sync"
---

# Create an advanced Kling lip-sync task

`POST /kling/v1/videos/advanced-lip-sync`

Submit the `session_id` returned by face identification plus one or more `face_choose` mappings that connect target faces to audio segments.

## Request body

- object
  - `session_id` string, required — Session id returned by identify-face.
  - `face_choose` object[], required — One or more face/audio mappings to synthesize.
    - `face_id` string, required — Face id returned by identify-face.
    - `audio_id` string — Audio id from a prior audio task.
    - `sound_file` string — Public audio URL when you provide your own audio.
    - `sound_start_time` string — Start time within the audio source, in milliseconds.
    - `sound_end_time` string — End time within the audio source, in milliseconds. The clipped segment must be at least 2000 ms and must not exceed the source audio duration.
    - `sound_insert_time` string — Insertion time in the target video, in milliseconds.
    - `sound_volume` number — Volume for the inserted audio.
    - `original_sound_volume` number — Volume for the original video audio.
  - `callback_url` string — Webhook URL to receive task status updates.
  - `external_task_id` string — Custom task id for your own tracking. Must be unique per account.

## Response `200`

Task accepted.

- object
  - `code` integer, required
  - `message` string, required
  - `data` object, required
    - `task_id` string
    - `task_status` string
    - `created_at` integer
    - `updated_at` integer

---

[API](https://skmtc.net/cometapi/apis/create-api-key.md) · [All operations](https://skmtc.net/cometapi/apis/create-api-key/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cometapi/create-api-key/versions/0863102dbf34/schema)
