Generates video from text, an image, references · 480p to 1080p · 5–15 s · native audio
curl -X POST https://api.open.sume.com/v1/video-router/generate \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"minimax-h3-max","prompt":"A cinematic tracking shot along a sunlit coastal road","duration":5,"resolution":"480p","aspect_ratio":"16:9","generate_audio":false}'MiniMax H3 Max has the model id minimax-h3-max. Send a JSON body to POST https://api.open.sume.com/v1/video-router/generate.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| model | string | Yes | — | "minimax-h3-max" |
| prompt | string | Yes | — | What happens in the video. |
| image_url | string | No | — | First frame (HTTPS image). |
| end_image_url | string | No | — | Last frame (HTTPS image). |
| reference_image_urls | string[] | No | — | Reference images (HTTPS). |
| reference_video_urls | string[] | No | — | Reference videos (HTTPS). |
| duration | integer | No | 5 | Seconds, 5–15. |
| resolution | string | No | 480p | Output resolution. Options: 480p, 768p, 1080p. |
| aspect_ratio | string | No | 16:9 | Frame shape. Options: adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16. |
| generate_audio | boolean | No | false | Generate a soundtrack with the video. |
Dollars per unit at each option: the serving route's cost × 1.25, rounded up to $0.0001. The estimate above is the exact charge.
| Option | Price |
|---|---|
| 480p | $0.0625 / s |
| 768p | $0.1000 / s |
| 1080p | $0.2000 / s |
Price, resolution and duration show each model's full range.
| Model | Type | Price | Resolution | Duration |
|---|---|---|---|---|
| MiniMax H3 | video | $0.0625 – $0.2000 / s | 480p – 4K | 5 – 15 s |
| H3 Max Recast | video | $0.3750 – $0.5625 / s | 768p – 1080p | 5 – 30 s |
| MiniMax H3 Max Lip Sync | lipsync | $0.0625 – $0.2000 / s | 480p – 1080p | 5 – 14 s |
Send your open.sume.com key as a bearer token from server code only. Keys minted on open.sume.com bill this balance in dollars and call the model API only.
Authorization: Bearer $SUME_API_KEY
A submit answers 202 with the job, its status_url and result_url. Poll the status until it is completed, failed or canceled; failed and canceled jobs are refunded.
GET https://api.open.sume.com/v1/jobs/<job_id>/status GET https://api.open.sume.com/v1/jobs/<job_id>/result POST https://api.open.sume.com/v1/jobs/<job_id>/cancel
The estimate is the charge: the same function prices both.
curl -X POST https://api.open.sume.com/v1/open/estimate \
-H "Content-Type: application/json" \
-d '{"model":"minimax-h3-max","input":{"prompt":"…"}}'Full reference: docs.sume.com