lipsync-2-pro:flowdefaultLipsync 2 PRO API — cara menghubungkan dan membayar
Lipsync-2-pro — sinkronisasi bibir video yang sudah ada dengan audio baru. Memerlukan video_url dan audio_url. Panjang output dengan sync_mode=cut_off (default) adalah min(video, audio). Harga dihitung per detik video output.
Perbandingan kanal
7 hari terakhir
| Kanal | Harga |
|---|---|
Flow lipsync-2-pro:flowdefault | mulai dari $0.119 / dtk |
Buat hasil yang Anda butuhkan
lipsync-2-pro:flowModel ini hanya memublikasikan harga minimumnya di katalog.
Apa itu Lipsync 2 PRO
Lipsync-2-pro — sinkronisasi bibir video yang sudah ada dengan audio baru. Memerlukan video_url dan audio_url. Panjang output dengan sync_mode=cut_off (default) adalah min(video, audio). Harga dihitung per detik video output.
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
- 5 opsi yang dapat dikonfigurasi
- Satu kunci API untuk pembuatan media
Penggunaannya
- Klip media sosial
- Promo 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":"lipsync-2-pro:flow","opts":{"video_url":"https://example.com/video_url.mp4","audio_url":"https://example.com/audio_url.mp3","sync_mode":"cut_off"}}'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": "lipsync-2-pro:flow",
"opts": {
"video_url": "https://example.com/video_url.mp4",
"audio_url": "https://example.com/audio_url.mp3",
"sync_mode": "cut_off"
}
}),
});
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 Lipsync 2 PRO melalui GetVibe API.
video_urlaudio_urlsync_modevideo_file_idvideo_base64audio_file_idaudio_base64| Parameter | Jenis | Nilai | Default | Harga |
|---|---|---|---|---|
video_url | URL | Public video URL | — | — |
audio_url | URL | Public audio URL | — | — |
sync_mode | option selection | Cut to the shorter (length = min) (default) · Loop the video (length = audio) · Ping-pong the video (length = audio) · Stretch the video (length = audio) · Pad with silence (length = max) | Cut to the shorter (length = min) | 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 Lipsync 2 PRO
Biaya Lipsync 2 PRO: dari $0.119 per second. Harga dihitung secara dinamis berdasarkan nilai tukar saat ini, dan biaya akhir ditampilkan dalam respons API (priceRub). Pembayaran dalam USD, tanpa langganan.
Biaya request default
Tanpa parameter yang dikirim, request menggunakan nilai berikut: When lengths differ — Cut to the shorter (length = min). Request tersebut berharga $0.119.
Saluran dan harga untuk setiap kombinasi parameter
Untuk setiap saluran, harga setiap kombinasi parameter. Jumlahnya sama persis dengan biaya untuk satu generasi yang berhasil, dan sama dengan angka dalam tabel yang dapat dibaca mesin yang ditautkan di bawah.
Flowlipsync-2-pro:flowmulai dari $0.119 / dtkharga pasti
| Harga | Harga |
|---|---|
| Flow | $0.119 / dtk |
Harga per detik video yang dihasilkan. Biayanya adalah harga ini × durasi hasil yang sebenarnya.
Setiap kombinasi dalam JSON: /api/media/price-table?model=lipsync-2-pro%3Aflow
README
Kontrak yang dapat dibaca mesin untuk Lipsync 2 PRO berisi skema request, operasi, batasan, polling, dan contoh respons.
# Lipsync 2 PRO
Model publik: lipsync-2-pro:flow
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: —
- `sync_mode` (option selection): Cut to the shorter (length = min) (default) · Loop the video (length = audio) · Ping-pong the video (length = audio) · Stretch the video (length = audio) · Pad with silence (length = max); default: Cut to the shorter (length = min)
- `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
- `lipsync-2-pro:flow`: FlowFAQ tentang API Lipsync 2 PRO
Berapa biaya Lipsync 2 PRO?
Harga Lipsync 2 PRO: dari $0.119 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 Lipsync 2 PRO sekarang
Daftar dalam satu menit, bayar sesuai penggunaan, dengan kode siap pakai di atas.
Dapatkan kunci API