MiniMax H3
MiniMax H3 models are called through one unified, asynchronous job API. Start a task with POST /api/generate, then poll GET /api/generate/{taskId} until it finishes. This family exposes 3 endpoints.
Overview
Every endpoint shares the same envelope — only model and the input fields change. Run any from the Models Market playground.
Authentication
Create an API key at /api-keys, then send it as a Bearer token. Requests from the browser while logged in also work via the session cookie.
Authorization: Bearer <YOUR_API_KEY>Create Task
POST https://97ai.97claude.com/api/generateBody: { "model": "<slug>", "input": { … } }
Response: { "taskId": "<id>", "state": "waiting" }
Query Result
GET https://97ai.97claude.com/api/generate/<taskId>Response: { "taskId", "state": "waiting" | "success" | "fail", "resultUrls": [ … ], "creditsConsumed", "failMsg", "balance" }
state becomes success or fail. Failed tasks are not billed.Endpoints
| Model | 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-videopromptstringrequiredText 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-videopromptstringrequiredText prompt describing the desired motion and style.
image_urlsarray<string>requiredOne 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-videopromptstringrequiredPrompt describing the target video, style, motion, and atmosphere.
reference_imagearray<string>requiredReference 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
}
}'