Logo MiniMaxMiniMaxVideo

API Hailuo 02 Fast (image-to-video)

Buat video dengan Hailuo 02 Fast (image-to-video) lewat MartLLM.

minimax/hailuo-02-fast-image-to-videoHubungkan ke ClaudeDapatkan API key
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)

ParameterTipeFungsinya
modelminimax/hailuo-02-fast-image-to-videoWajib
promptstringWajib. What to make.
image_urlstringSalah satu. The first frame: an https:// link or a data: URI.
input_imagesarray<string>, Maks. 1Salah satu. Several pictures (https:// links or data: URIs).
duration_seconds6, 10Opsional. 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

ModelID modelMulai, per detikHinggaTerpanjang
Hailuo 02 Fast (image-to-video)minimax/hailuo-02-fast-image-to-video10 dtk
Hailuo 02 Standard Text to Videominimax/hailuo-02-standard-text-to-video$0.02810 dtk
Hailuo 02 Standard Image to Videominimax/hailuo-02-standard-image-to-video$0.028768P10 dtk
Hailuo 2.3 Standardminimax/hailuo-2-3-standard-image-to-video$0.0281080p10 dtk
Hailuo 2.3 Prominimax/hailuo-2-3-pro-image-to-video$0.05041080p10 dtk
Hailuo 02 Prominimax/hailuo-02-pro$0.05321080p6 dtk
Hailuo 2.3 Pro (text-to-video)minimax/hailuo-2-3-pro-text-to-video$0.09331080p5 dtk
Hailuo 2.3 Standard (text-to-video)minimax/hailuo-2-3-standard-text-to-video768p10 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.

Panduan

Bandingkan dengan model serupa