imagestringobligatoire
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.
Essayer le modèle
PNG, JPEG, WebP ou GIF · 20 MiB maximum
PNG, JPEG, WebP ou GIF · 20 MiB maximum
Que souhaitez-vous faire ensuite ?
Sélectionnez un exemple pour charger ses entrées et son résultat dans le 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).
Commencer à construire
Soumettez ce modèle via l'API Unified Run de SandBase.
# 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"Créez une clé API SandBase et définissez-la dans l'environnement de votre serveur. Toutes les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez la clé sur votre serveur. Ne l'exposez pas dans le code du navigateur et ne la committez pas dans un dépôt.
Faites un POST sur /v1/run avec cet ID de modèle et ses entrées. L'exemple de requête ci-dessus inclut la soumission et le polling.
Utilisez l'ID d'exécution renvoyé pour interroger jusqu'à ce que le statut soit completed, failed ou timeout. Ne lisez la sortie qu'une fois completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passez une URL de fichier accessible publiquement dans le champ image, video ou audio du modèle. Les formats pris en charge et les limites sont indiqués à côté de chaque entrée du Playground.
Utilisez le contrôle upload ou replace sur les champs image pris en charge dans le Playground. Les champs URL vidéo acceptent une vidéo de conduite hébergée ; cela n'implique pas la prise en charge de l'importation vidéo.
imagestringobligatoireThe first frame of the generated video.
promptstringobligatoirePar défaut : "The camera slowly pulls back, revealing the full landscape as clouds drift overhead and light shifts across the terrain."
durationintegerobligatoirePar défaut : 5
Valeurs possibles : 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.
Par défaut : "2K"
Valeurs possibles : "768P", "2K"
aigc_watermarkbooleanWhether to add an AIGC label watermark to the generated video.
Par défaut : 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
}Une exécution terminée expose son résultat dans output. Ce qui suit est l'exemple enregistré du modèle, et non une nouvelle génération.
[
{
"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"
}
]