API reference
🇺🇸 English
  • 🇨🇳 Chinese
  • 🇺🇸 English
  1. Kling-API
API reference
🇺🇸 English
  • 🇨🇳 Chinese
  • 🇺🇸 English
  • Chat Models
    • Chat
      • Create chat completion
      • vision
    • OpenAI-Realtime
    • Completions
      • Instruct
    • Audio
      • Transcriptions
      • Translations
      • Speech
    • Image generation
      • DALL·E 3
    • Embeddings
      • Create
    • Models
      • model list
    • Help
      • 常见问题及解决办法
  • Anthropic
    • Anthropic Claude
  • Suno
    • Generate music
    • Generate lyrics
    • Upload music
    • Music concat
    • Fetch task
    • Fetch batch tasks
  • Udio
    • Generate music
    • Fetch task
  • Midjourney API
    • Quick
    • Task Submit
      • Imagine
      • Action
      • Modal
      • Blend
      • Describe
      • Shorten
      • Upload discord
    • Get Task
      • Fetch task by ids
      • Fetch task by id
      • Get seed
  • Flux
    • Official
      • Generate
      • Finetune
      • Fetch task
    • OpenAI Dalle3
  • Recraft
    • Official
      • Generate Image
      • Vectorize Image
      • Remove Background
      • Clarity Upscale
      • Generative Upscale
      • Create style
    • OpenAI Dalle3
  • Ideogram
    • Generate
    • Remix
    • Edit
    • Upscale
    • Describe
  • Luma
    • Official
      • Generate
      • Fetch task
    • Own format
      • Submit
        • Generate
        • Get video of no mark
        • 扩展视频
      • Get task
        • Get task
        • Get batch task
  • Runway
    • Official
      • image to video
      • get task
    • reverse
      • text to video
      • image to video
      • video2video
      • Act-one
      • Get task
  • Kling-API
    • Callback
    • Generate image
      POST
    • Text 2 Video
      POST
    • Image 2 Video
      POST
    • Video extend
      POST
    • Get task
      GET
    • lip-sync
      POST
    • kolors-virtual-try-on
      POST
  • Replicate
    • Generate
    • Get
  • MiniMax
    • Generate video
    • Get task
    • Get file
  1. Kling-API

lip-sync

POST
/kling/v1/videos/lip-sync
最后修改时间:2025-05-14 09:05:18
1.
Generate video
2.
This interface requires the task id and video id to be passed in
This interface belongs to a subtask and needs to be used on the parent task account. Please operate as soon as possible to avoid the resource package from expiring.
Official Document:https://docs.qingque.cn/d/home/eZQClW07IFEuX1csc-VejdY2M#section=h.o30jngluvb4t

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Header 参数

Body 参数application/json

示例
{
    "input":{
        "task_id":"ClpejWduJGYAAAAAAN9B-w",
        "video_id":"de1b86d9-8e40-4f1c-a6a5-6459f8eb42f2",
        "mode":"text2video",
        "text":"今天天气很好",
        "voice_id":"girlfriend_1_speech02",
        "voice_language":"zh"
    }
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/kling/v1/videos/lip-sync' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "input":{
        "task_id":"ClpejWduJGYAAAAAAN9B-w",
        "video_id":"de1b86d9-8e40-4f1c-a6a5-6459f8eb42f2",
        "mode":"text2video",
        "text":"今天天气很好",
        "voice_id":"girlfriend_1_speech02",
        "voice_language":"zh"
    }
}'

返回响应

🟠404记录不存在
application/json
Body

示例
{
    "error": {
        "message": "string",
        "type": "string",
        "code": "string"
    }
}
修改于 2025-05-14 09:05:18
上一页
Get task
下一页
kolors-virtual-try-on
Built with