
🇨🇳 Chinese

🇨🇳 Chinese
- OpenAI
- Anthropic
- Suno(音乐)
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
对口型
POST
/kling/v1/videos/lip-sync
Last modified:2025-01-05 06:45:45
2、此接口要求传入任务id和视频id
此接口属于子任务,需要在父任务账号上使用,请尽快操作避免资源包过期。
官方文档:https://docs.qingque.cn/d/home/eZQClW07IFEuX1csc-VejdY2M#section=h.o30jngluvb4t
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
string
optional
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
input
object
required
video_id
string
required
mode
enum<string>
required
Allowed values:
text2videoaudio2video
text
string
optional
<= 120 characters
voice_id
string
optional
voice_language
enum<string>
optional
Allowed values:
zhen
Default:
zh
voice_speed
number
optional
>= 0.8<= 2
Default:
1
audio_type
enum<string>
optional
Allowed values:
fileurl
audio_file
string
optional
audio_url
string <uri>
optional
task_id
string
任务id
callback_url
string <uri>
optional
Example
{
"input": {
"task_id": "ClpejWduJGYAAAAAAN9B-w",
"video_id": "de1b86d9-8e40-4f1c-a6a5-6459f8eb42f2",
"mode": "text2video",
"text": "今天天气很好",
"voice_id": "girlfriend_1_speech02",
"voice_language": "zh"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
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"
}
}'
Responses
🟠404记录不存在
application/json
Body
error
object
required
message
string
required
type
string
required
code
string
required
Example
{
"error": {
"message": "string",
"type": "string",
"code": "string"
}
}
Modified at 2025-01-05 06:45:45