API Hailuo 02 Fast (image-to-video)
Buat video dengan Hailuo 02 Fast (image-to-video) lewat MartLLM.
Tampilkan lebih banyak
Dibuat oleh MiniMax. MartLLM tidak menjalankan model ini. Di sini, penjual melayaninya lewat akun penyedia mereka sendiri.
Permintaan
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $UBERLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/hailuo-02-fast-image-to-video",
"prompt": "Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged",
"duration_seconds": 6,
"image_url": "https://example.com/photo.jpg"
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}Atur UBERLLM_API_KEY ke API key Anda. Cek /v1/video/generations/<job id> setiap 5 detik sampai status bernilai "succeeded", lalu unduh file dengan key Anda. Job yang gagal menyertakan alasannya dan tidak dikenai biaya. Panduan API lengkap
Opsi
- Jenis tugas
- Gambar jadi video, Gambar referensi
- Durasi
- 6 dtk, 10 dtk
- Gambar input
- Hingga 1
- Satuan tagihan
- per detik video
- ID model
minimax/hailuo-02-fast-image-to-video
Coba Hailuo 02 Fast (image-to-video)
Pengaturan
Gambar awal
Permintaan yang sama dengan pengaturan di kiri, siap disalin.
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $UBERLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/hailuo-02-fast-image-to-video",
"prompt": "",
"duration_seconds": 6
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}Keunggulan API Hailuo 02 Fast (image-to-video)
- Klip hingga 10 detik dalam satu permintaan.
- Frame pertama yang persis dari gambar Anda.
- Hingga 1 gambar referensi untuk karakter, produk, atau tempat.
Contoh untuk memulai
01
Hidupkan foto
Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged
Dengan gambar Anda
02
Putar foto produk
The product in the photo turns slowly on a turntable, soft studio light, the label stays sharp and readable, clean white background
Dengan gambar Anda
03
Gerakkan adegan diam
The scene in the photo starts moving: leaves sway, light shifts across the ground, a gentle handheld drift; nothing new appears in the frame
Dengan gambar Anda · 6 dtk
Parameter API Hailuo 02 Fast (image-to-video)
| Parameter | Tipe | Fungsinya |
|---|---|---|
| model | minimax/hailuo-02-fast-image-to-video | Wajib |
| prompt | string | Wajib. What to make. |
| image_url | string | Salah satu. The first frame: an https:// link or a data: URI. |
| input_images | array<string>, Maks. 1 | Salah satu. Several pictures (https:// links or data: URIs). |
| duration_seconds | 6, 10 | Opsional. Length in seconds. Left out: the model's shortest. |
Diambil dari GET https://api.martllm.com/v1/models/minimax/hailuo-02-fast-image-to-video: aturan yang sama yang dipakai API untuk memvalidasi setiap permintaan.
Perbandingan model Hailuo
| Model | ID model | Mulai, per detik | Hingga | Terpanjang |
|---|---|---|---|---|
| Hailuo 02 Fast (image-to-video) | minimax/hailuo-02-fast-image-to-video | 10 dtk | ||
| Hailuo 02 Standard Text to Video | minimax/hailuo-02-standard-text-to-video | $0.028 | 10 dtk | |
| Hailuo 02 Standard Image to Video | minimax/hailuo-02-standard-image-to-video | $0.028 | 768P | 10 dtk |
| Hailuo 2.3 Standard | minimax/hailuo-2-3-standard-image-to-video | $0.028 | 1080p | 10 dtk |
| Hailuo 2.3 Pro | minimax/hailuo-2-3-pro-image-to-video | $0.0504 | 1080p | 10 dtk |
| Hailuo 02 Pro | minimax/hailuo-02-pro | $0.0532 | 1080p | 6 dtk |
| Hailuo 2.3 Pro (text-to-video) | minimax/hailuo-2-3-pro-text-to-video | $0.0933 | 1080p | 5 dtk |
| Hailuo 2.3 Standard (text-to-video) | minimax/hailuo-2-3-standard-text-to-video | 768p | 10 dtk |
FAQ API Hailuo 02 Fast (image-to-video)
Berapa biaya Hailuo 02 Fast (image-to-video)?
Hailuo 02 Fast (image-to-video) ditagih sesuai harga yang tertera, tanpa tambahan biaya MartLLM. Permintaan yang gagal tidak dikenai biaya.
Bagaimana cara membuat video dengan Hailuo 02 Fast (image-to-video)?
Send a POST to https://api.martllm.com/v1/video/generations with your MartLLM key, model "minimax/hailuo-02-fast-image-to-video" and a prompt. You get a job id back; ask https://api.martllm.com/v1/video/generations/<job id> until it says "succeeded", then download it from https://api.martllm.com/v1/media/artifacts/<job id>/0.