参数
video_url类型
URL
取值
Public video URL
默认值
—
价格
—
Volcengine Lip Sync — 唇形同步(docs.Pixel/market/volcengine/video-to-video-lip-sync)。需要 mode、video_url 和 audio_url。按秒计费。
volcengine-lipsyncVolcengine Lip Sync — 唇形同步(docs.Pixel/market/volcengine/video-to-video-lip-sync)。需要 mode、video_url 和 audio_url。按秒计费。
生成是异步的:先创建任务,然后轮询状态直至完成。
在 Bearer 请求头中传递密钥。API 会返回 jobId 用于轮询状态。
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"volcengine-lipsync","opts":{"mode":"lite","video_url":"https://example.com/video_url.mp4","audio_url":"https://example.com/audio_url.mp3","separate_vocal":false,"align_audio":true}}'const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "volcengine-lipsync",
"opts": {
"mode": "lite",
"video_url": "https://example.com/video_url.mp4",
"audio_url": "https://example.com/audio_url.mp3",
"separate_vocal": false,
"align_audio": true
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);通过 GetVibe API 向 Volcengine Lip Sync 发起请求的参数。
video_urlaudio_urlmodeseparate_vocalopen_scenedetalign_audiovideo_file_idvideo_base64audio_file_idaudio_base64| 参数 | 类型 | 取值 | 默认值 | 价格 |
|---|---|---|---|---|
video_url | URL | Public video URL | — | — |
audio_url | URL | Public audio URL | — | — |
mode | option selection | Lite (front-facing video) (default) · Basic (complex scenes) | Lite (front-facing video) | Included in the base price |
separate_vocal | yes/no | Yes · No (default) | 否 | Included in the base price |
open_scenedet | yes/no | Yes · No (default) | 否 | Included in the base price |
align_audio | yes/no | Yes (default) · No | 是 | Included in the base price |
video_file_id | text | Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
video_base64 | text | Alternative to video_url: the file inline, as base64 or a data: URI | — | Included in the base price |
audio_file_id | text | Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
audio_base64 | text | Alternative to audio_url: the file inline, as base64 or a data: URI | — | Included in the base price |
请求:POST https://getvibeapi.com/api/media/generate。价格以 USD 计。
Volcengine Lip Sync 的价格待确认:供应商尚未发布该契约的初步确认价格。价格确认后即可生成。
Volcengine Lip Sync 的机器可读契约包含请求 schema、操作、限制、轮询和响应示例。
# Volcengine Lip Sync
公开模型:volcengine-lipsync
创建任务: POST /api/media/generate
检查状态: GET /api/media/jobs/{jobId}
## 输入参数
- `video_url` (URL): Public video URL; 默认: —
- `audio_url` (URL): Public audio URL; 默认: —
- `mode` (option selection): Lite (front-facing video) (default) · Basic (complex scenes); 默认: Lite (front-facing video)
- `separate_vocal` (yes/no): Yes · No (default); 默认: No
- `open_scenedet` (yes/no): Yes · No (default); 默认: No
- `align_audio` (yes/no): Yes (default) · No; 默认: Yes
- `video_file_id` (text): Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…); 默认: —
- `video_base64` (text): Alternative to video_url: the file inline, as base64 or a data: URI; 默认: —
- `audio_file_id` (text): Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…); 默认: —
- `audio_base64` (text): Alternative to audio_url: the file inline, as base64 or a data: URI; 默认: —
## 公开变体
- `volcengine-lipsync`: 默认Volcengine Lip Sync 的价格:从 $35.00 per second。价格按当前汇率动态计算。
是的,API 完全兼容 OpenAI。只需将 base_url 改为 https://getvibeapi.com/v1 并设置密钥——其余代码不变。