使用时在请求头中添加:
Authorization: Bearer YOUR_API_KEY
Lipsync 模型变体
lipsync-2:标准质量lipsync-2-pro:更高质量lipsync-2 "lipsync-2"
输入视频文件的公开 URL
说明:
"https://example.com/portrait-video.mp4"
输入音频文件的公开 URL
说明:
sync_mode)"https://example.com/speech.mp3"
视频与音频的同步模式,决定输出视频时长
可选值:
| 值 | 行为 | 输出时长 |
|---|---|---|
bounce | 视频来回播放以匹配音频长度 | = 音频时长 |
loop | 视频循环播放以匹配音频长度 | = 音频时长 |
cut_off | 音频在视频结束时截断 | = min(视频, 音频) |
silence | 视频末尾以静音填充 | = 视频时长 |
remap | 重映射音频时间轴以匹配视频 | = 音频时长 |
"loop"
高级选项,提供额外控制能力
任务创建成功
任务创建时间戳
1757165031
任务ID
"task-unified-1757165031-uyujaw3d"
实际使用的模型名称
任务的具体类型
video.generation.task 任务进度百分比 (0-100)
0 <= x <= 1000
任务状态
pending, processing, completed, failed "pending"
异步任务信息
任务的输出类型
video "video"