model=bytedance/seed-audio-1-5-video-dubbing。| 必填字段 | 可选字段 |
|---|---|
video_url、target_language | output_format |
prompt、reference_audio_urls、reference_image_url、audio_url),传了会返回参数错误(传空字符串也算传了)。422,不会创建任务。resultJson 里有 resultUrls:一个所选 output_format 格式的音频文件。输出链接保留 14 天,需要长期保存请及时下载。failMsg:| 类别 | failMsg |
|---|---|
| 内容审核 | Your prompt, input media or the generated audio was flagged by content moderation. Please revise it and try again. |
| 输入文件下载 | Failed to download the input file. Make sure the URL is publicly accessible and try again. |
| 输入视频 | Invalid input video. Use an MP4 or MOV file of 4-360 seconds, up to 200 MB, 12-60 fps, between about 480p and 1080p (width x height 407,696-2,086,876 pixels, each side 300-6000 px, aspect ratio 0.4-2.5). |
| 没有清晰人声 | No clear speech was found in the input media. Video Dubbing needs a video with clear Chinese or English speech, and reference audios need a clear voice. Please try another file. |
| 视频音轨 | The video's audio track and picture have different lengths. Re-export the video so they match and try again. |
| 文件过大或过长 | The input file is too large or too long. Please compress or shorten it and try again. |
| 文件无法读取 | The input file could not be read. Use a valid MP3/WAV audio, MP4/MOV video or a supported image format and try again. |
| 服务繁忙 | The service is busy. Please try again later. |
| 其他错误 | Internal Error, Please try again later. |
callBackUrl 参数接收生成完成的自动通知,而非轮询状态接口。curl --location 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "bytedance/seed-audio-1-5-video-dubbing",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"video_url": "https://example.com/your-video.mp4",
"target_language": "ja",
"output_format": "mp3"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "5b0d3c9a7e2f41d68a1c4e7b9f2d6a03"
}
}