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.
Modeli deneyin
Oynatma Alanı
Gelişmiş ayarlar
Sırada ne yapmak istersiniz?
Örnekler
Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.
- Sonucu aç ↗
Girdi
{ "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).
Geliştirmeye başlayın
İlk isteğinizi gönderin
Bu modeli SandBase Unified Run API üzerinden gönderin.
# 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. Kimlik doğrulama
Bir SandBase API anahtarı oluşturun ve sunucu ortamınıza ayarlayın. Tüm istekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın veya bir depoya commit etmeyin.
3. Kuyruk
İstek gönder
Bu model kimliği ve girdileriyle /v1/run adresine POST gönderin. Yukarıdaki istek örneği gönderme ve yoklamayı içerir.
İstek durumunu ve sonucu al
Durum completed, failed veya timeout olana kadar verilen run ID ile yoklama yapın. Çıktıyı yalnızca completed olduktan sonra okuyun.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"4. Dosyalar
Barındırılan dosyalar
Modelin image, video veya audio alanına herkese açık erişilebilir bir dosya URL'si verin. Desteklenen formatlar ve sınırlar her Playground girişinin yanında gösterilir.
Görseller yükleniyor
Playground'daki desteklenen image alanlarında yükleme veya değiştirme kontrolünü kullanın. Video URL alanları barındırılan bir sürüş videosu kabul eder; video yükleme desteği anlamına gelmez.
5. Şema
Girdi
durationinteger
The duration of the video in seconds.
Varsayılan: 6
Olası değerler: 6, 10
prompt_optimizerboolean
Whether to use the model's prompt optimizer
Varsayılan: 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
}Çıktı
Tamamlanan bir run, sonucunu output içinde gösterir. Aşağıdaki, modelin kaydedilmiş örneğidir; yeni bir üretim değildir.
[
{
"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"
}
]