promptstringrequired
Default: "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.
Try the model
Customize your input with more control.
What would you like to do next?
Select an example to load its inputs and result into the playground.
{
"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"
}Human preference
Elo ratings from blind side-by-side votes, compared with other image and video models.
Rankings sourced from Artificial Analysis Arena
Text-to-video arena (silent): people pick the better of two clips from the same prompt, without seeing the model names; audio is not judged.
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).
Start building
Submit this model through the 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"Create a SandBase API key and set it in your server environment. All requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep the key on your server. Do not expose it in browser code or commit it to a repository.
POST to /v1/run with this model ID and its inputs. The request example above includes submission and polling.
Use the returned run ID to poll until the status is completed, failed or timeout. Read output only after completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Pass a publicly accessible file URL in the model’s image, video or audio field. Supported formats and limits are shown beside each Playground input.
Use the upload or replace control on supported image fields in the Playground. Video URL fields accept a hosted driving video; they do not imply video-upload support.
promptstringrequiredDefault: "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."
durationintegerrequiredDefault: 5
Possible values: 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.
Default: "2K"
Possible values: "768P", "2K"
aspect_ratiostringDefault: "16:9"
Possible values: "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"
aigc_watermarkbooleanWhether to add an AIGC label watermark to the generated video.
Default: 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
}A completed run exposes its result in output. The following is the model’s saved example, not a new generation.
[
{
"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"
}
]