happyhorse:primetermurahHappyHorse API — cara menghubungkan dan membayar
HappyHorse (Alibaba) — versi 1.0 dan 1.1. Prime menangani T2V, I2V, dan Reference; Pixel mempertahankan Video Edit dan multi-reference. Harga per detik. I2V tanpa aspect_ratio (dari frame).
Perbandingan kanal
7 hari terakhir
happyhorse:pixeldefault| Kanal | Harga |
|---|---|
Prime happyhorse:primetermurah | mulai dari $0.132 / dtk |
Pixel happyhorse:pixeldefault | mulai dari $0.144643 / dtk |
Buat hasil yang Anda butuhkan
happyhorse:pixelApa itu HappyHorse
HappyHorse (Alibaba) — versi 1.0 dan 1.1. Prime menangani T2V, I2V, dan Reference; Pixel mempertahankan Video Edit dan multi-reference. Harga per detik. I2V tanpa aspect_ratio (dari frame).
Ringkasan kontrak
- Input
- text, image, video
- Output
- video
- Mode
- asinkron (pekerjaan + polling)
- Polling status
- setiap 3 d · hingga 600 d
Keunggulan
- Harga: per detik
- Input: teks, gambar, video
- 3 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
- text, image, video
- 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":"happyhorse:pixel","prompt":"a beautiful landscape","opts":{"version":"1.0","input":"text-to-video","aspect_ratio":"16:9","duration":"6","resolution":"720p"}}'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": "happyhorse:pixel",
"prompt": "a beautiful landscape",
"opts": {
"version": "1.0",
"input": "text-to-video",
"aspect_ratio": "16:9",
"duration": "6",
"resolution": "720p"
}
}),
});
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 HappyHorse melalui GetVibe API.
promptwajibimage_urlvideo_urlaspect_ratiodurationversioninputresolutionreference_imageaudio_settingseedimage_file_idimage_base64video_file_idvideo_base64| Parameter | Jenis | Nilai | Default | Harga |
|---|---|---|---|---|
promptwajib | text | text description | required | — |
image_url | URL | Public image URL | — | — |
video_url | URL | Public video URL | — | — |
aspect_ratio | option selection | 16:9 (default) · 9:16 · 1:1 | 16:9 | Included in the base price |
duration | option selection | 6 (default) · 10 | 6 | 6: $0.18/s, 10: $0.18/s |
version | option selection | 1.0 (default) · 1.1 (improved) | 1.0 | 1.0: $0.18/s, 1.1 (improved): $0.144643/s |
input | option selection | Text → video (default) · Image → video · Reference → video · Video Edit | Teks → video | Included in the base price |
resolution | option selection | 720p (default) · 1080p | 720p | 720p: $0.18/s, 1080p: $0.308572/s |
reference_image | text / number | any value | — | Included in the base price |
audio_setting | option selection | Auto (default) · Keep original | Otomatis | Included in the base price |
seed | text / number | any value | — | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | 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 |
Request: POST https://getvibeapi.com/api/media/generate. Harga dalam USD.
Harga HappyHorse
Biaya HappyHorse: dari $0.144643 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: Duration — 6, Resolution — 720p, Model version — 1.0, Source material — Text → video. Request tersebut berharga $1.08.
“from $0.144643” adalah set parameter termurah, bukan harga request default.
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.
Pixelhappyhorse:pixelmulai dari $0.144643 / dtkharga pasti
| Rasio aspek · Versi · Input \ Resolusi | 720p | 1080p |
|---|---|---|
| 16:9 · 1.0 · Teks → video | $0.18 / dtk | $0.308571–$0.308572 / dtk |
| — · 1.0 · Gambar → video | $0.18 / dtk | $0.308571–$0.308572 / dtk |
| 16:9 · 1.0 · Referensi → video | $0.18 / dtk | $0.308571–$0.308572 / dtk |
| — · 1.0 · Pengeditan Video | $0.18 / dtk | $0.308571–$0.308572 / dtk |
| 16:9 · 1.1 (ditingkatkan) · Teks → video | $0.144643 / dtk | $0.186429 / dtk |
| — · 1.1 (disempurnakan) · Gambar → video | $0.144643 / dtk | $0.186429 / dtk |
| 16:9 · 1.1 (ditingkatkan) · Referensi → video | $0.144643 / dtk | $0.186429 / dtk |
| 9:16 · 1.0 · Teks → video | $0.18 / dtk | $0.308571–$0.308572 / dtk |
| 9:16 · 1.0 · Referensi → video | $0.18 / dtk | $0.308571–$0.308572 / dtk |
| 9:16 · 1.1 (ditingkatkan) · Teks → video | $0.144643 / dtk | $0.186429 / dtk |
| 9:16 · 1.1 (ditingkatkan) · Referensi → video | $0.144643 / dtk | $0.186429 / dtk |
| 1:1 · 1.0 · Teks → video | $0.18 / dtk | $0.308571–$0.308572 / dtk |
| 1:1 · 1.0 · Referensi → video | $0.18 / dtk | $0.308571–$0.308572 / dtk |
| 1:1 · 1.1 (ditingkatkan) · Teks → video | $0.144643 / dtk | $0.186429 / dtk |
| 1:1 · 1.1 (ditingkatkan) · Referensi → video | $0.144643 / dtk | $0.186429 / dtk |
Setiap kombinasi dalam JSON: /api/media/price-table?model=happyhorse%3Apixel
Primehappyhorse:primemulai dari $0.132 / dtkharga pasti
| Rasio aspek · Versi · Input \ Resolusi | 720p | 1080p |
|---|---|---|
| 16:9 · 1.1 (ditingkatkan) · Teks → video | $0.132 / dtk | $0.176 / dtk |
| — · 1.1 (disempurnakan) · Gambar → video | $0.132 / dtk | $0.176 / dtk |
| 16:9 · 1.1 (ditingkatkan) · Referensi → video | $0.132 / dtk | $0.176 / dtk |
| 9:16 · 1.1 (ditingkatkan) · Teks → video | $0.132 / dtk | $0.176 / dtk |
| 9:16 · 1.1 (ditingkatkan) · Referensi → video | $0.132 / dtk | $0.176 / dtk |
| 1:1 · 1.1 (ditingkatkan) · Teks → video | $0.132 / dtk | $0.176 / dtk |
| 1:1 · 1.1 (ditingkatkan) · Referensi → video | $0.132 / dtk | $0.176 / dtk |
Setiap kombinasi dalam JSON: /api/media/price-table?model=happyhorse%3Aprime
README
Kontrak yang dapat dibaca mesin untuk HappyHorse berisi skema request, operasi, batasan, polling, dan contoh respons.
# HappyHorse
Model publik: happyhorse:pixel
Buat pekerjaan: POST /api/media/generate
Periksa status: GET /api/media/jobs/{jobId}
## Parameter input
- `prompt` (text): text description; default: required
- `image_url` (URL): Public image URL; default: —
- `video_url` (URL): Public video URL; default: —
- `aspect_ratio` (option selection): 16:9 (default) · 9:16 · 1:1; default: 16:9
- `duration` (option selection): 6 (default) · 10; default: 6
- `version` (option selection): 1.0 (default) · 1.1 (improved); default: 1.0
- `input` (option selection): Text → video (default) · Image → video · Reference → video · Video Edit; default: Text → video
- `resolution` (option selection): 720p (default) · 1080p; default: 720p
- `reference_image` (text / number): any value; default: —
- `audio_setting` (option selection): Auto (default) · Keep original; default: Auto
- `seed` (text / number): any value; default: —
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; default: —
- `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: —
## Varian publik
- `happyhorse:prime`: Prime
- `happyhorse:pixel`: PixelFAQ tentang API HappyHorse
Berapa biaya HappyHorse?
Harga HappyHorse: dari $0.144643 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 HappyHorse sekarang
Daftar dalam satu menit, bayar sesuai penggunaan, dengan kode siap pakai di atas.
Dapatkan kunci API