imagestringrequired
URL of the image to use as the first frame
minimax/hailuo/2.3/standard/image-to-videoMiniMax Hailuo 2.3 Standard by MiniMax animates a still image into a 6 or 10 second 768P video with realistic motion.
Try the model
PNG, JPEG, WebP, or GIF · 20 MiB maximum
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.
{
"image": "https://static.sandbase.ai/examples/e9aed9c8-7fe4-4ee2-8220-cf4a6a900059/input/0fc605d5-9fe7-4069-a474-95d002581dfc.jpg",
"prompt": "The space station slowly rotates in orbit, its solar panels tracking the sun. Earth rotates majestically in the background with weather patterns and landmasses drifting by. The station's communication arrays adjust position. A small spacecraft approaches one of the docking ports. The scene captures the silent majesty of space and human engineering."
}Hailuo 2.3 Standard: animate an image into a 6 or 10 second 768P video.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 2,000 characters. |
image | image URL, required | — | First frame. JPEG, PNG, or WebP URL. |
duration | 6 / 10 | 6 | Output length in seconds. |
prompt_optimizer | boolean | true | Let MiniMax rewrite the prompt for better results. |
$0.28 for 6 seconds, $0.56 for 10 seconds.
| Output | Price |
|---|---|
| 6s (default) | $0.28 |
| 10s | $0.56 |
Failed runs are not charged.
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/text-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).
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/hailuo/2.3/standard/image-to-video",
"image": "https://static.sandbase.ai/examples/minimax/hailuo/2.3/standard/image-to-video/input_image_0.jpg",
"prompt": "The space station slowly rotates in orbit, its solar panels tracking the sun. Earth rotates majestically in the background with weather patterns and landmasses drifting by. The station's communication arrays adjust position. A small spacecraft approaches one of the docking ports. The scene captures the silent majesty of space and human engineering.",
"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"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.
imagestringrequiredURL of the image to use as the first frame
promptstringrequiredText prompt for video generation
durationintegerThe duration of the video in seconds.
Default: 6
Possible values: 6, 10
prompt_optimizerbooleanWhether to use the model's prompt optimizer
Default: true
{
"model": "minimax/hailuo/2.3/standard/image-to-video",
"image": "https://static.sandbase.ai/examples/minimax/hailuo/2.3/standard/image-to-video/input_image_0.jpg",
"prompt": "The space station slowly rotates in orbit, its solar panels tracking the sun. Earth rotates majestically in the background with weather patterns and landmasses drifting by. The station's communication arrays adjust position. A small spacecraft approaches one of the docking ports. The scene captures the silent majesty of space and human engineering.",
"duration": 6,
"prompt_optimizer": true
}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/b5c2667dde4c3c68c2ac.jpg",
"source": "MiniMax schema mirror",
"source_url": "https://platform.minimax.io/docs/guides/video-generation",
"url": "https://static.sandbase.ai/examples/e9aed9c8-7fe4-4ee2-8220-cf4a6a900059/output/d93157aa-aee6-42e0-92ae-d23ddb59c345.mp4"
}
]