audiosarray
Audio requires at least one reference image or video.
minimax/h3/reference-to-videoGenerate native-stereo 2K video guided by image, video, and audio references with MiniMax H3.
Modell testen
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 9
Was möchten Sie als Nächstes tun?
Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
{
"aigc_watermark": false,
"audios": [],
"duration": 7,
"images": [
"https://static.sandbase.ai/examples/bff323df-f593-467c-b6a7-96a7bf473983/input/4c91f51e-f6d9-426a-8896-4678c7a115c7.jpg"
],
"prompt": "anime scene, two-shot on a campus path: the reference character (male student) stops and faces a middle-aged female dormitory counselor in her 40s, counselor has chestnut bob hair, glasses, navy blazer, holding a small key, slightly serious expression, noon lighting, calm atmosphere, cinematic composition, Hyouka-style",
"resolution": "768P",
"videos": []
}{
"aigc_watermark": false,
"audios": [],
"duration": 4,
"images": [
"https://static.sandbase.ai/examples/f37db918-73c5-4c0b-8801-ad0dc81e3e4f/input/b05d0c19-55b3-4e16-bf09-a50b297dcde6.jpg"
],
"prompt": "anime close-up, the reference character's hand reaching out to take a small key, then a quick facial close-up showing an embarrassed awkward expression, soft natural lighting, Hyouka-style reaction shot, comedic timing",
"resolution": "768P",
"videos": []
}MiniMax H3 reference-to-video: up to 9 images, 3 videos, and 3 audio clips keep characters, motion, and voice consistent in a new 2K clip.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 7,000 characters. |
images | image URL[] (≤9) | — | Reference images, Image 1, Image 2, … |
videos | video URL[] (≤3) | — | Reference clips, Video 1, … |
audios | audio URL[] (≤3) | — | Reference audio, Audio 1, … |
duration | 4–15, required | 5 | Output length in seconds. |
aspect_ratio | 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 | — | 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. Each reference image beyond the fifth adds $0.04.
| Output | 2K | 768P |
|---|---|---|
| 4s | $0.52 | $0.24 |
| 5s (default) | $0.65 | $0.30 |
| 10s | $1.30 | $0.60 |
| 15s | $1.95 | $0.90 |
| 5s with 9 images | $0.81 | $0.46 |
Failed runs are not charged.
duration is required.Other MiniMax H3 endpoints: minimax/h3/text-to-video, minimax/h3/image-to-video, minimax/h3-max/reference-to-video (faster, cheaper).
Jetzt loslegen
Senden Sie dieses Modell über die 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/reference-to-video",
"prompt": "Keep the referenced character and motion consistent while creating a cinematic garden scene with synchronized ambient sound.",
"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"Erstellen Sie einen SandBase API-Schlüssel und legen Sie ihn in Ihrer Serverumgebung fest. Alle Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie den Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis und committen Sie ihn nicht in ein Repository.
POST an /v1/run mit dieser Modell-ID und ihren Eingaben. Das obige Anfragebeispiel umfasst Übermittlung und Polling.
Verwenden Sie die zurückgegebene Run-ID zum Polling, bis der Status completed, failed oder timeout ist. Lesen Sie die Ausgabe erst nach completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Übergeben Sie eine öffentlich zugängliche Date-URL im Bild-, Video- oder Audiofeld des Modells. Unterstützte Formate und Limits werden neben jedem Playground-Eingabefeld angezeigt.
Verwenden Sie im Playground bei unterstützten Bildfeldern die Steuerung zum Hochladen oder Ersetzen. Video-URL-Felder akzeptieren ein gehostetes Fahrvideo; sie implizieren keine Unterstützung für Video-Uploads.
audiosarrayAudio requires at least one reference image or video.
imagesarraypromptstringerforderlichStandard: "Keep the referenced character and motion consistent while creating a cinematic garden scene with synchronized ambient sound."
videosarrayEach clip must be 2–15 seconds; combined duration must not exceed 15 seconds.
durationintegererforderlichStandard: 5
Mögliche Werte: 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.
Standard: "2K"
Mögliche Werte: "768P", "2K"
aspect_ratiostringOutput aspect ratio. Omit to let the model choose from the prompt and reference inputs.
Mögliche Werte: "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"
aigc_watermarkbooleanWhether to add an AIGC label watermark to the generated video.
Standard: false
{
"model": "minimax/h3/reference-to-video",
"prompt": "Keep the referenced character and motion consistent while creating a cinematic garden scene with synchronized ambient sound.",
"duration": 5,
"resolution": "2K",
"aigc_watermark": false
}Ein abgeschlossener Run stellt sein Ergebnis in der Ausgabe bereit. Das Folgende ist das gespeicherte Beispiel des Modells, keine neue Generierung.
[
{
"poster": "https://static.sandbase.ai/examples/posters/ffaeca365afefbb47353.jpg",
"source": "Completed user prediction (human visual safety screened)",
"source_url": "https://www.sandbase.ai",
"url": "https://static.sandbase.ai/examples/bff323df-f593-467c-b6a7-96a7bf473983/output/43ca4f16-10f2-42ff-ab1c-6f829f514451.mp4"
}
]