MiniMax H3
MiniMax H3-Modelle werden über eine einheitliche, asynchrone Job-API aufgerufen. Starte einen Task mit POST /api/generate und frage dann GET /api/generate/{taskId} ab, bis er fertig ist. Diese Familie stellt 3 Endpunkte bereit.
Überblick
Jeder Endpunkt teilt sich dieselbe Hülle — nur model und die input-Felder ändern sich. Führe einen beliebigen im Playground des Modell-Markts aus.
Authentifizierung
Erstelle einen API-Schlüssel unter /api-keys und sende ihn als Bearer-Token. Anfragen aus dem Browser bei angemeldeter Sitzung funktionieren auch über das Session-Cookie.
Authorization: Bearer <YOUR_API_KEY>Task erstellen
POST https://97ai.97claude.com/api/generateBody: { "model": "<slug>", "input": { … } }
Antwort: { "taskId": "<id>", "state": "waiting" }
Ergebnis abfragen
GET https://97ai.97claude.com/api/generate/<taskId>Antwort: { "taskId", "state": "waiting" | "success" | "fail", "resultUrls": [ … ], "creditsConsumed", "failMsg", "balance" }
state zu success oder fail wird. Fehlgeschlagene Tasks werden nicht berechnet.Endpunkte
| Modell | Task | model slug |
|---|---|---|
| MiniMax H3 | Text to Video | minimax-h3/text-to-video |
| MiniMax H3 | Image to Video | minimax-h3/image-to-video |
| MiniMax H3 | Video to Video | minimax-h3/reference-to-video |
MiniMax H3 · Text to Video
minimax-h3/text-to-videopromptstringerforderlichText prompt describing the desired video.
durationintegeroptionalOutput video duration in seconds.
aspect_ratioenum<string>optionalOutput video aspect ratio.
resolutionenum<string>optionalOutput video resolution tier currently exposed on the relay.
seedintegeroptionalRandom seed for reproducible generation.
curl -X POST https://97ai.97claude.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3/text-to-video",
"input": {
"prompt": "A cinematic red panda surfing through neon rain at dusk.",
"duration": 5,
"aspect_ratio": "16:9",
"resolution": "768p",
"seed": 42
}
}'MiniMax H3 · Image to Video
minimax-h3/image-to-videopromptstringerforderlichText prompt describing the desired motion and style.
image_urlsarray<string>erforderlichOne or more input image URLs used to drive the video.
durationintegeroptionalOutput video duration in seconds.
aspect_ratioenum<string>optionalOutput video aspect ratio.
resolutionenum<string>optionalOutput video resolution tier currently exposed on the relay.
seedintegeroptionalRandom seed for reproducible generation.
curl -X POST https://97ai.97claude.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3/image-to-video",
"input": {
"prompt": "Animate the image with natural motion, subtle camera movement, and cinematic lighting.",
"image_urls": [
"https://example.com/input.jpg"
],
"duration": 5,
"aspect_ratio": "16:9",
"resolution": "768p",
"seed": 42
}
}'MiniMax H3 · Video to Video
minimax-h3/reference-to-videopromptstringerforderlichPrompt describing the target video, style, motion, and atmosphere.
reference_imagearray<string>erforderlichReference image URLs for subject and style consistency.
videos_listarray<string>optionalOptional reference video URLs for motion and camera guidance.
audios_listarray<string>optionalOptional reference audio URLs for voice, music, or ambience guidance.
durationintegeroptionalOutput video duration in seconds.
aspect_ratioenum<string>optionalOutput video aspect ratio.
resolutionenum<string>optionalOutput video resolution tier currently exposed on the relay.
seedintegeroptionalRandom seed for reproducible generation.
curl -X POST https://97ai.97claude.com/api/generate \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3/reference-to-video",
"input": {
"prompt": "Restyle the source footage with richer lighting, cleaner motion, and a cinematic grade.",
"reference_image": [
"https://example.com/input.jpg"
],
"videos_list": [
"https://example.com/reference.mp4"
],
"audios_list": [
"https://example.com/reference.mp3"
],
"duration": 5,
"aspect_ratio": "16:9",
"resolution": "768p",
"seed": 42
}
}'