LatentSync
LatentSync API(数字人与口型):$0.01015 / 秒。给单人视频换口型(配音最长 120 秒)。通过 /v1/videos 调用,美元按量付费,失败的任务不扣费。
- 价格
- $0.01015
- 单位
- 秒
- 类型
- 数字人与口型
- 接口
- /v1/videos
价格
$0.01015 / 秒
预计 $0.08122
美元计价,按标价从预付余额扣费。少数特殊套餐的 Key 价格可能不同。失败和取消的任务不扣费。 计费规则
能力
给单人视频换口型(配音最长 120 秒)
- 模型 ID
- latentsync
接口
POST /v1/videos
以异步任务运行:创建任务、轮询状态,再下载文件。先把 BIGMODEL_API_KEY 设为你的 API Key。
cURL
curl https://bigmodel.io/v1/videos \
-H "Authorization: Bearer $BIGMODEL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: job-1" \
-d '{
"model": "latentsync",
"video": "https://example.com/person.mp4",
"input_audio": "https://example.com/voice.mp3"
}'
# Inputs differ per model; see the guide. Then poll:
curl https://bigmodel.io/v1/videos/TASK_ID \
-H "Authorization: Bearer $BIGMODEL_API_KEY"Python、Node.js 示例、全部输入字段和错误处理见指南。 接入指南 →