audiosarray
Up to 3 reference audio URLs (2-15 seconds each, at most 15 seconds combined), referenced in the prompt as Audio 1, Audio 2, and so on. Audio requires at least one reference image or video.
minimax/h3-max/reference-to-videoMiniMax H3 Max by MiniMax generates a 5-15 second video with native audio at 480P or 768P that keeps subjects, motion, and voice consistent with reference images, videos, and audio.
Prova il modello
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 9
Cosa vuoi fare dopo?
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
{
"aspect_ratio": "16:9",
"audios": [
"https://static.sandbase.ai/examples/c1934625-e6b2-40d7-bf17-9017e8ca6191/input/233a82cc-7618-4314-967c-b14207086234.mp3"
],
"duration": 9,
"images": [
"https://static.sandbase.ai/examples/c1934625-e6b2-40d7-bf17-9017e8ca6191/input/26f1c4a1-bfb2-4db6-a27f-aafabd36b0d5.png"
],
"prompt": "Image 1 is the male character. Audio1 is him talking. Lipsync Image1 to Audio1",
"prompt_expansion_mode": "balanced",
"resolution": "480P"
}{
"aspect_ratio": "16:9",
"audios": [
"https://static.sandbase.ai/examples/ef24fea0-6082-44fd-99c7-ded480031255/input/4665aac1-b08b-4f94-b5de-87db68959484.mp3"
],
"duration": 5,
"images": [
"https://static.sandbase.ai/examples/ef24fea0-6082-44fd-99c7-ded480031255/input/93ac1b42-6ede-4871-a42c-82e90164a227.png"
],
"prompt": "Image 1 is the male character. Audio1 is him talking. Lipsync Image1 to Audio1",
"prompt_expansion_mode": "balanced",
"resolution": "480P"
}MiniMax H3 Max reference-to-video: images, videos, and audio references keep subjects, motion, and voice consistent in a 5–15 second clip.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 50,000 characters. |
aspect_ratio | 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 | — | Output frame shape. |
resolution | 480P / 768P | 768P | Sets the per-second rate. |
duration | integer 5–15 | 5 | Output length in seconds. |
images | image URL[] (≤9) | — | Reference images, Image 1, Image 2, … |
prompt_expansion_mode | balanced / quality | balanced | balanced rewrites the prompt lightly; quality expands it more for richer detail. |
videos | video URL[] (≤3) | — | Reference clips, Video 1, … |
audios | audio URL[] (≤3) | — | Reference audio, Audio 1, … |
You pay for output seconds: $0.08 at 768P and $0.05 at 480P. Very large reference sets (over 4,096 reference tokens) add $0.02 per 1,000 extra tokens.
| Output | 768P | 480P |
|---|---|---|
| 5s (default) | $0.40 | $0.25 |
| 10s | $0.80 | $0.50 |
| 15s | $1.20 | $0.75 |
Failed runs are not charged.
Other MiniMax H3 Max endpoints: minimax/h3-max/text-to-video, minimax/h3-max/image-to-video, minimax/h3/reference-to-video (2K).
Inizia a costruire
Invia questo modello tramite la 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-max/reference-to-video",
"images": [
"https://static.sandbase.ai/examples/minimax/mirrored/example_inputs/hailuo23/pro_i2v_in.jpg"
],
"prompt": "Image 1 is the female protagonist. Image 2 is her small dog. Keep the woman and dog consistent with their respective reference images while they walk together through a sunlit garden.",
"duration": 5,
"resolution": "768P",
"prompt_expansion_mode": "balanced"
}
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"Crea una SandBase API key e impostala nell'ambiente del server. Tutte le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la key sul server. Non esporla nel codice del browser né committarla in un repository.
Esegui POST su /v1/run con questo ID modello e i relativi input. L'esempio di richiesta sopra include invio e polling.
Usa il run ID restituito per fare polling finché lo stato non è completed, failed o timeout. Leggi l'output solo dopo completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passa un URL di file accessibile pubblicamente nel campo image, video o audio del modello. I formati supportati e i limiti sono mostrati accanto a ciascun input del Playground.
Usa il controllo upload o replace sui campi immagine supportati nel Playground. I campi URL video accettano un video di driving ospitato; non implicano il supporto al caricamento video.
audiosarrayUp to 3 reference audio URLs (2-15 seconds each, at most 15 seconds combined), referenced in the prompt as Audio 1, Audio 2, and so on. Audio requires at least one reference image or video.
imagesarrayUp to 9 subject or style reference image URLs, referenced in the prompt as Image 1, Image 2, and so on.
promptstringobbligatorioText prompt for video generation. Refer to reference assets by their modality and order in the reference lists: Image 1, Image 2, Video 1, Audio 1, and so on.
videosarrayUp to 3 motion or reference video URLs (2-15 seconds each, at most 15 seconds combined), referenced in the prompt as Video 1, Video 2, and so on.
durationintegerThe duration of the video in seconds.
Predefinito: 5
Minimo: 5
Massimo: 15
resolutionstringThe native generation resolution of the video.
Predefinito: "768P"
Valori possibili: "480P", "768P"
aspect_ratiostringOutput aspect ratio. Omit to let the model choose from the prompt and reference inputs.
Valori possibili: "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"
prompt_expansion_modestringHow much effort to spend rewriting the prompt before generation. `balanced` returns in about a second; `quality` spends up to ~30 seconds on a richer prompt.
Predefinito: "balanced"
Valori possibili: "balanced", "quality"
{
"model": "minimax/h3-max/reference-to-video",
"images": [
"https://static.sandbase.ai/examples/minimax/mirrored/example_inputs/hailuo23/pro_i2v_in.jpg"
],
"prompt": "Image 1 is the female protagonist. Image 2 is her small dog. Keep the woman and dog consistent with their respective reference images while they walk together through a sunlit garden.",
"duration": 5,
"resolution": "768P",
"prompt_expansion_mode": "balanced"
}Un run completato espone il risultato in output. Quanto segue è l'esempio salvato del modello, non una nuova generazione.
[
{
"poster": "https://static.sandbase.ai/examples/posters/bfca29c8271a0d41b3ae.jpg",
"source": "Completed user prediction (human visual safety screened)",
"source_url": "https://www.sandbase.ai",
"url": "https://static.sandbase.ai/examples/c1934625-e6b2-40d7-bf17-9017e8ca6191/output/47cc4d11-7757-4ca2-84b0-90ed513f8158.mp4"
}
]