video_urlVolcengine Lip Sync API — cara menghubungkan dan membayar
Volcengine Lip Sync — sinkronisasi bibir (docs.Pixel/market/volcengine/video-to-video-lip-sync). Memerlukan mode, video_url, dan audio_url. Harga per detik.
Buat hasil yang Anda butuhkan
volcengine-lipsyncApa itu Volcengine Lip Sync
Volcengine Lip Sync — sinkronisasi bibir (docs.Pixel/market/volcengine/video-to-video-lip-sync). Memerlukan mode, video_url, dan audio_url. Harga per detik.
Ringkasan kontrak
- Input
- video, audio
- Output
- video
- Mode
- asinkron (pekerjaan + polling)
- Polling status
- setiap 3 d · hingga 600 d
Keunggulan
- Harga: per detik
- Input: video, audio
- 2 opsi yang dapat dikonfigurasi
- Satu kunci API untuk pembuatan media
Penggunaannya
- Klip media sosial
- Promosi dan rangkaian judul
- Animasi gambar diam
- Storyboard dan animatik
Kontrak API
Generasi berjalan secara asinkron: buat pekerjaan, lalu lakukan polling status hingga selesai.
- Buat pekerjaan
- POST /api/media/generate
- Periksa status
- GET /api/media/jobs/{jobId}
- Input
- video, audio
- Output
- video
- Polling
- setiap 3 d · hingga 600 d
- Autentikasi
- Authorization: Bearer sk-pv-…
Contoh request
Kirim key Anda dalam header Bearer. API mengembalikan jobId untuk melakukan polling status.
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}}'JavaScript
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);Parameter request API
Parameter untuk request ke Volcengine Lip Sync melalui GetVibe API.
audio_urlmodeseparate_vocalopen_scenedetalign_audiovideo_file_idvideo_base64audio_file_idaudio_base64| Parameter | Jenis | Nilai | Default | Harga |
|---|---|---|---|---|
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) | Tidak | Included in the base price |
open_scenedet | yes/no | Yes · No (default) | Tidak | Included in the base price |
align_audio | yes/no | Yes (default) · No | Ya | 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 |
Request: POST https://getvibeapi.com/api/media/generate. Harga dalam USD.
Harga Volcengine Lip Sync
Harga Volcengine Lip Sync sedang dikonfirmasi: provider belum memublikasikan harga yang awalnya dikonfirmasi untuk kontrak ini. Generasi akan tersedia setelah harga dikonfirmasi.
README
Kontrak yang dapat dibaca mesin untuk Volcengine Lip Sync berisi skema request, operasi, batasan, polling, dan contoh respons.
# Volcengine Lip Sync
Model publik: volcengine-lipsync
Buat pekerjaan: POST /api/media/generate
Periksa status: GET /api/media/jobs/{jobId}
## Parameter input
- `video_url` (URL): Public video URL; default: —
- `audio_url` (URL): Public audio URL; default: —
- `mode` (option selection): Lite (front-facing video) (default) · Basic (complex scenes); default: Lite (front-facing video)
- `separate_vocal` (yes/no): Yes · No (default); default: No
- `open_scenedet` (yes/no): Yes · No (default); default: No
- `align_audio` (yes/no): Yes (default) · No; default: Yes
- `video_file_id` (text): Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `video_base64` (text): Alternative to video_url: the file inline, as base64 or a data: URI; default: —
- `audio_file_id` (text): Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `audio_base64` (text): Alternative to audio_url: the file inline, as base64 or a data: URI; default: —
## Varian publik
- `volcengine-lipsync`: defaultFAQ tentang API Volcengine Lip Sync
Berapa biaya Volcengine Lip Sync?
Harga Volcengine Lip Sync: dari $35.00 per second. Harga dihitung secara dinamis berdasarkan nilai tukar saat ini.
Apakah kompatibel dengan OpenAI SDK?
Ya, API ini sepenuhnya kompatibel dengan OpenAI. Cukup ubah base_url menjadi https://getvibeapi.com/v1 dan atur key Anda — kode lainnya tetap sama.
Hubungkan Volcengine Lip Sync sekarang
Daftar dalam satu menit, bayar sesuai penggunaan, dengan kode siap pakai di atas.
Dapatkan kunci API