MiniMax Hailuo 2.3 Standard Text to Video
minimax/hailuo/2.3/standard/text-to-videoMiniMax Hailuo 2.3 Standard by MiniMax turns a text prompt into a 6 or 10 second 768P video with realistic motion.
Coba model ini
Playground
Pengaturan lanjutan
Apa yang ingin Anda lakukan selanjutnya?
Contoh
Pilih contoh untuk memuat input dan hasilnya ke playground.
- Buka hasil ↗
Input
{ "prompt": "An intense electrical storm rages over a modern city skyline at night. Multiple lightning bolts strike simultaneously, illuminating the towering skyscrapers in brilliant white flashes. Thunder clouds roil and churn overhead while constant lightning creates a strobe effect. Rain pours in heavy sheets, visible in the glow of city lights. The camera captures the drama from across a river as lightning reflects in the water. Lightning branches across the sky in intricate patterns. Atmosphere: dramatic, powerful, electrifying urban storm." }
MiniMax Hailuo 2.3 Standard Text to Video
Hailuo 2.3 Standard: 6 or 10 second 768P video from a prompt.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 2,000 characters. |
duration | 6 / 10 | 6 | Output length in seconds. |
prompt_optimizer | boolean | true | Let MiniMax rewrite the prompt for better results. |
Billing
$0.28 for 6 seconds, $0.56 for 10 seconds.
| Output | Price |
|---|---|
| 6s (default) | $0.28 |
| 10s | $0.56 |
Failed runs are not charged.
Prompting
- Describe the motion and camera in one or two sentences.
Limits
- No audio track.
Also on SandBase
Other Hailuo 2.3 endpoints: minimax/hailuo/2.3/pro/text-to-video, minimax/hailuo/2.3/pro/image-to-video, minimax/hailuo/2.3/standard/image-to-video, minimax/hailuo/2.3-fast/pro/image-to-video, minimax/hailuo/2.3-fast/standard/image-to-video, minimax/h3/text-to-video (newer, with audio).
Mulai membangun
Kirim permintaan pertama Anda
Kirim model ini melalui SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "minimax/hailuo/2.3/standard/text-to-video",
"prompt": "An intense electrical storm rages over a modern city skyline at night. Multiple lightning bolts strike simultaneously, illuminating the towering skyscrapers in brilliant white flashes. Thunder clouds roil and churn overhead while constant lightning creates a strobe effect. Rain pours in heavy sheets, visible in the glow of city lights. The camera captures the drama from across a river as lightning reflects in the water. Lightning branches across the sky in intricate patterns. Atmosphere: dramatic, powerful, electrifying urban storm.",
"duration": 6,
"prompt_optimizer": true
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"2. Autentikasi
Buat SandBase API key dan atur di environment server Anda. Semua permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key di server. Jangan tampilkan di kode browser atau commit ke repository.
3. Antrean
Kirim permintaan
POST ke /v1/run dengan ID model ini dan inputnya. Contoh permintaan di atas mencakup pengiriman dan polling.
Ambil status dan hasil permintaan
Gunakan run ID yang dikembalikan untuk polling sampai status completed, failed, atau timeout. Baca output hanya setelah completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"4. File
File yang di-host
Kirim URL file yang dapat diakses publik di field image, video, atau audio model. Format dan batas yang didukung ditampilkan di samping setiap input Playground.
Mengunggah gambar
Gunakan kontrol upload atau replace pada field gambar yang didukung di Playground. Field URL video menerima video driving yang di-host; ini tidak berarti dukungan upload video.
5. Skema
Input
durationinteger
The duration of the video in seconds.
Default: 6
Nilai yang mungkin: 6, 10
prompt_optimizerboolean
Whether to use the model's prompt optimizer
Default: true
{
"model": "minimax/hailuo/2.3/standard/text-to-video",
"prompt": "An intense electrical storm rages over a modern city skyline at night. Multiple lightning bolts strike simultaneously, illuminating the towering skyscrapers in brilliant white flashes. Thunder clouds roil and churn overhead while constant lightning creates a strobe effect. Rain pours in heavy sheets, visible in the glow of city lights. The camera captures the drama from across a river as lightning reflects in the water. Lightning branches across the sky in intricate patterns. Atmosphere: dramatic, powerful, electrifying urban storm.",
"duration": 6,
"prompt_optimizer": true
}Output
Run yang selesai menampilkan hasilnya di output. Berikut adalah contoh tersimpan model ini, bukan generasi baru.
[
{
"poster": "https://static.sandbase.ai/examples/posters/33c23c1ccfb98f014ee0.jpg",
"source": "MiniMax schema mirror",
"source_url": "https://platform.minimax.io/docs/guides/video-generation",
"url": "https://static.sandbase.ai/examples/16d7e15e-cbe6-4f30-8acb-3be6a83d1881/output/d861a246-fbfb-4cf6-b113-6edb46d05cc9.mp4"
}
]