promptstringerforderlich
Standard: "A cinematic wide shot of an astronaut walking across a red desert at sunset, wind lifting fine dust, with natural footsteps and distant ambient sound."
minimax/h3/text-to-videoGenerate native-stereo 2K video from text with MiniMax H3.
Modell testen
Was möchten Sie als Nächstes tun?
Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
{
"aspect_ratio": "16:9",
"duration": 4,
"prompt": "A slow macro tracking shot reveals creamy, steamed milk pouring smoothly into a rustic ceramic cup of rich espresso, creating elegant latte art. Warm morning sunlight streams in from the side, illuminating the rising steam. A shallow depth of field blurs the cozy coffee shop background. The atmosphere is warm, premium, and inviting as the liquids mix realistically.",
"resolution": "768P"
}Menschliche Präferenz
Elo-Wertungen aus anonymen Direktvergleichen, verglichen mit anderen Bild- und Videomodellen.
Ranglisten aus Artificial Analysis Arena
Arena für Text-zu-Video (ohne Ton): Personen wählen aus zwei Clips, die aus demselben Prompt generiert wurden, das bessere aus, ohne die Modellnamen zu sehen; Audio wird nicht bewertet.
MiniMax H3 generates native-stereo 2K video with sound from a written prompt, 4–15 seconds long.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 7,000 characters. |
duration | 4–15, required | 5 | Output length in seconds. |
aspect_ratio | 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 | 16:9 | Output frame shape. |
resolution | 768P / 2K | 2K | Sets the per-second rate. |
aigc_watermark | boolean | false | Add MiniMax's AI-generated watermark. |
You pay for output seconds: $0.13 at 2K (the default) and $0.06 at 768P.
| Output | 2K | 768P |
|---|---|---|
| 4s | $0.52 | $0.24 |
| 5s (default) | $0.65 | $0.30 |
| 10s | $1.30 | $0.60 |
| 15s | $1.95 | $0.90 |
Failed runs are not charged.
duration is required.Other MiniMax H3 endpoints: minimax/h3/image-to-video, minimax/h3/reference-to-video, minimax/h3-max/text-to-video (faster, cheaper).
Jetzt loslegen
Senden Sie dieses Modell über die 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/h3/text-to-video",
"prompt": "A cinematic wide shot of an astronaut walking across a red desert at sunset, wind lifting fine dust, with natural footsteps and distant ambient sound.",
"duration": 5,
"resolution": "2K",
"aspect_ratio": "16:9",
"aigc_watermark": false
}
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"Erstellen Sie einen SandBase API-Schlüssel und legen Sie ihn in Ihrer Serverumgebung fest. Alle Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie den Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis und committen Sie ihn nicht in ein Repository.
POST an /v1/run mit dieser Modell-ID und ihren Eingaben. Das obige Anfragebeispiel umfasst Übermittlung und Polling.
Verwenden Sie die zurückgegebene Run-ID zum Polling, bis der Status completed, failed oder timeout ist. Lesen Sie die Ausgabe erst nach completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Übergeben Sie eine öffentlich zugängliche Date-URL im Bild-, Video- oder Audiofeld des Modells. Unterstützte Formate und Limits werden neben jedem Playground-Eingabefeld angezeigt.
Verwenden Sie im Playground bei unterstützten Bildfeldern die Steuerung zum Hochladen oder Ersetzen. Video-URL-Felder akzeptieren ein gehostetes Fahrvideo; sie implizieren keine Unterstützung für Video-Uploads.
promptstringerforderlichStandard: "A cinematic wide shot of an astronaut walking across a red desert at sunset, wind lifting fine dust, with natural footsteps and distant ambient sound."
durationintegererforderlichStandard: 5
Mögliche Werte: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
resolutionstringOutput resolution. 768P is generated natively; 2K is upscaled via an in-context regeneration pass.
Standard: "2K"
Mögliche Werte: "768P", "2K"
aspect_ratiostringStandard: "16:9"
Mögliche Werte: "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"
aigc_watermarkbooleanWhether to add an AIGC label watermark to the generated video.
Standard: false
{
"model": "minimax/h3/text-to-video",
"prompt": "A cinematic wide shot of an astronaut walking across a red desert at sunset, wind lifting fine dust, with natural footsteps and distant ambient sound.",
"duration": 5,
"resolution": "2K",
"aspect_ratio": "16:9",
"aigc_watermark": false
}Ein abgeschlossener Run stellt sein Ergebnis in der Ausgabe bereit. Das Folgende ist das gespeicherte Beispiel des Modells, keine neue Generierung.
[
{
"poster": "https://static.sandbase.ai/examples/posters/7bc657ed4367bfaa69c7.jpg",
"source": "Self organization completed prediction",
"source_url": "https://www.sandbase.ai",
"url": "https://static.sandbase.ai/examples/9fa30c5b-104d-4fa7-b4b6-1573c5c4f6ad/output/f3713823-c90f-4217-a78b-6edb20e162dd.mp4"
}
]