Video generation

MiniMax H3

H3 is a next-generation open-weights, general-purpose multimodal video model. Rather than being limited to specialized tasks such as generating, editing, or referencing, H3 understands multimodal contexts that bring together text, images, video, and audio. This enables it to interpret creative intent in a unified way and deliver more natural, coherent generation and expression.

From $0.084 per second · 768p and 2K · 4–15 seconds · MP4 kept 24 hours

PromptA chef tossing vegetables in a flaming wok, warm kitchen light
Pricing

Price per second

768p · 1366 × 768
$0.084
2K · 2560 × 1440
$0.1365

Includes the 5% MiniRouter fee. The final charge uses the provider’s actual cost for the delivered video and stays within your reserved hold. MiniRouter absorbs any overrun. Failed jobs are free.

Estimate your credit hold

Credit is reserved when the job starts. The final charge may be lower.

Estimated hold

$0.42

Your length plus 1 second at the per-second price, including the 5% fee. Unused credit is released.

Use the Videos API

Set MINIROUTER_API_KEY to your inference key. Each example starts a job, polls it and saves the MP4.

VIDEO_ID=$(curl --fail-with-body --retry 0 -sS https://api.minirouter.sh/v1/videos \
  -H "Authorization: Bearer $MINIROUTER_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{
  "model": "minimax/minimax-h3",
  "prompt": "A paper boat drifting down a rainy city street, cinematic.",
  "seconds": 4,
  "size": "1366x768"
}' | jq -r .id)

until curl --fail-with-body -sS "https://api.minirouter.sh/v1/videos/$VIDEO_ID" \
  -H "Authorization: Bearer $MINIROUTER_API_KEY" \
  | jq -e '.status == "completed" or .status == "failed"' > /dev/null; do sleep 10; done

curl --fail-with-body -sS -o video.mp4 "https://api.minirouter.sh/v1/videos/$VIDEO_ID/content" \
  -H "Authorization: Bearer $MINIROUTER_API_KEY"

Retries are off, so a dropped connection cannot start a second job. The MP4 stays available for 24 hours after the job completes.

Operations

Supported operations

Start a job
POST /v1/videos
JSON or multipart fields: model, prompt, seconds, size. Prompts up to 2,000 characters.
Check status
GET /v1/videos/{id}
Poll until the status is completed or failed.
Download
GET /v1/videos/{id}/content
Streams the MP4 for 24 hours after the job completes.

Every model, one key.