react-1:flowdefaultReact 1 API — cara menghubungkan dan membayar
React-1 — bibir, ekspresi wajah (emosi), dan gerakan kepala opsional untuk fragmen hingga 15 dtk. 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 react-1:flowdefault | mulai dari $0.239 / dtk |
Buat hasil yang Anda butuhkan
react-1:flowModel ini hanya memublikasikan harga minimumnya di katalog.
Apa itu React 1
React-1 — bibir, ekspresi wajah (emosi), dan gerakan kepala opsional untuk fragmen hingga 15 dtk. 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
- 6 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":"react-1:flow","opts":{"video_url":"https://example.com/video_url.mp4","audio_url":"https://example.com/audio_url.mp3","emotion":"neutral","model_mode":"face","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": "react-1:flow",
"opts": {
"video_url": "https://example.com/video_url.mp4",
"audio_url": "https://example.com/audio_url.mp3",
"emotion": "neutral",
"model_mode": "face",
"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 React 1 melalui GetVibe API.
video_urlaudio_urlemotionmodel_modetemperaturesync_modevideo_file_idvideo_base64audio_file_idaudio_base64| Parameter | Jenis | Nilai | Default | Harga |
|---|---|---|---|---|
video_url | URL | Public video URL | — | — |
audio_url | URL | Public audio URL | — | — |
emotion | option selection | Neutral (default) · Happy · Sad · Angry · Disgusted · Surprised | Neutral | Included in the base price |
model_mode | option selection | Lips only · Lips and facial expression (default) · Lips, expression and head motion | Lips and facial expression | Included in the base price |
temperature | text / number | any value | — | Included in the base price |
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 React 1
Biaya React 1: dari $0.239 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: Emotion — Neutral, What to change — Lips and facial expression, When lengths differ — Cut to the shorter (length = min). Request tersebut berharga $0.239.
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.
Flowreact-1:flowmulai dari $0.239 / dtkharga pasti
| Harga | Harga |
|---|---|
| Flow | $0.239 / dtk |
Harga per detik video yang dihasilkan. Biayanya adalah harga ini × durasi hasil yang sebenarnya.
Setiap kombinasi dalam JSON: /api/media/price-table?model=react-1%3Aflow
README
Kontrak yang dapat dibaca mesin untuk React 1 berisi skema request, operasi, batasan, polling, dan contoh respons.
# React 1
Model publik: react-1: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: —
- `emotion` (option selection): Neutral (default) · Happy · Sad · Angry · Disgusted · Surprised; default: Neutral
- `model_mode` (option selection): Lips only · Lips and facial expression (default) · Lips, expression and head motion; default: Lips and facial expression
- `temperature` (text / number): any value; 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
- `react-1:flow`: FlowFAQ tentang API React 1
Berapa biaya React 1?
Harga React 1: dari $0.239 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 React 1 sekarang
Daftar dalam satu menit, bayar sesuai penggunaan, dengan kode siap pakai di atas.
Dapatkan kunci API