imagestringobbligatorio
The first frame of the generated video.
minimax/h3/image-to-videoGenerate native-stereo 2K video from a first frame and optional last frame with MiniMax H3.
Prova il modello
PNG, JPEG, WebP o GIF · massimo 20 MiB
PNG, JPEG, WebP o GIF · massimo 20 MiB
Cosa vuoi fare dopo?
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
{
"duration": 15,
"image": "https://static.sandbase.ai/examples/23ca8902-929b-4b32-912d-ce1d7dd40a79/input/9a0ddc5e-266d-45c2-a34f-9db1ce9044ab.jpeg",
"prompt": "make my cleavage bigger and fatter and jigglier and my bottom part too\nwith my body and clothes are all sweaty and with some milk on it i seductively dance then turn around and jiggle my lower behind part up and down\nthen i drop on the floor knees first all hot and tired but enjoying my self the i grab a cucumber from the camera and i lick and suck it seductively \nthen loads of milk drop on me from the camera while i laugh and enjoy myself",
"resolution": "768P"
}{
"aigc_watermark": false,
"duration": 5,
"image": "https://static.sandbase.ai/examples/c375cafc-7a48-4473-af89-323d11969730/input/b13dbd25-b7eb-4f11-a917-1c245919b466.jpg",
"prompt": "The camera slowly pushes in toward the single glowing tree in the wet plaza. Mist drifts across the ruined streets, leaves tremble slightly, reflections shimmer on the rain-slick ground. Cinematic night lighting, no new objects, no text, no watermark.",
"resolution": "768P"
}{
"duration": 15,
"image": "https://static.sandbase.ai/examples/5b8ea529-00b1-4ea4-91de-bf9aa92233f0/input/e3014cf9-f667-4b58-976d-3c48a4a1887c.jpeg",
"prompt": "make my cleavage bigger and fatter and jigglier but not that much and my bottom part too\nwith my body and clothes are all sweaty and with some milk on it i dance front facing camera then i turn and jiggle my lower part a bit\nthen i drop on the floor knees first all hot and tired but enjoying my self the i grab a cucumber from the camera and i start sucking it it like its an ice cream \nthen small loads of milk drop on me from the camera while i laugh and enjoy myself\nmake sure to include every detail and make the video longer than the usual 15 seconds maybe 30 and take your time with it until you perfect it",
"resolution": "768P"
}{
"duration": 15,
"image": "https://static.sandbase.ai/examples/cc4277ea-9fe8-47e6-a0dc-4a4a3a44eda5/input/ac3d54d3-5e54-423a-a841-0c764c0c6f51.jpeg",
"prompt": "make me turn around and dance like ice spice in a rap video but make my bottom part alot bigger and rounder and jggilier and moves like its clapping and small amount of milk shooting at it from random directions while the camera moves like its walking towards me while I'm faced against the wall and i start saying ah ah ah ah like I'm enjoying it \nkeep the video frame on my whole body with my face showing too",
"resolution": "768P"
}MiniMax H3 image-to-video: animate a first frame, optionally toward a last frame, into a 4–15 second native-stereo 2K clip.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 7,000 characters. |
image | image URL, required | — | First frame. JPEG, PNG, or WebP URL. |
end_image | image URL | — | Optional last frame. |
duration | 4–15, required | 5 | Output length in seconds. |
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/text-to-video, minimax/h3/reference-to-video, minimax/h3-max/image-to-video (faster, cheaper).
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/image-to-video",
"prompt": "The camera slowly pulls back, revealing the full landscape as clouds drift overhead and light shifts across the terrain.",
"duration": 5,
"resolution": "2K",
"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"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.
imagestringobbligatorioThe first frame of the generated video.
promptstringobbligatorioPredefinito: "The camera slowly pulls back, revealing the full landscape as clouds drift overhead and light shifts across the terrain."
durationintegerobbligatorioPredefinito: 5
Valori possibili: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
end_imagestringOptional last frame for first-to-last keyframe control.
resolutionstringOutput resolution. 768P is generated natively; 2K is upscaled via an in-context regeneration pass.
Predefinito: "2K"
Valori possibili: "768P", "2K"
aigc_watermarkbooleanWhether to add an AIGC label watermark to the generated video.
Predefinito: false
{
"model": "minimax/h3/image-to-video",
"prompt": "The camera slowly pulls back, revealing the full landscape as clouds drift overhead and light shifts across the terrain.",
"duration": 5,
"resolution": "2K",
"aigc_watermark": false
}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/c0d98c0689b259fac83b.jpg",
"source": "Completed user prediction (human visual safety screened)",
"source_url": "https://www.sandbase.ai",
"url": "https://static.sandbase.ai/examples/23ca8902-929b-4b32-912d-ce1d7dd40a79/output/9a5939f1-e402-4344-8460-c7d593c3bd52.mp4"
}
]