Generates video from a source video · 2K · 5–16 s
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":"hailuo-h3-regen","video_url":"https://example.com/video.mp4","duration":5,"resolution":"2K"}'Hailuo H3 Regen has the model id hailuo-h3-regen. Send a JSON body to POST https://api.open.sume.com/v1/video-router/generate.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| model | string | Yes | — | "hailuo-h3-regen" |
| prompt | string | No | — | What happens in the video. |
| video_url | string | Yes | — | Source video (HTTPS). |
| duration | integer | No | 5 | Seconds, 5–16. |
| resolution | string | No | 2K | Output resolution. Options: 2K. |
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
Dollars per unit at each option, from our rate card; a request rounds up to $0.0001. The estimate above is the exact charge.
| Option | Price |
|---|---|
| 2K | $0.0625 / s |
Price, resolution and duration show each model's full range.
| Model | Type | Price | Resolution | Duration |
|---|---|---|---|---|
| MiniMax H3 | video | $0.0500 – $0.1529 / s | 480p – 4K | 5 – 15 s |
| MiniMax H3 Max | video | $0.0489 – $0.1392 / s | 480p – 1080p | 5 – 15 s |
| H3 Max Recast | video | $0.3000 – $0.4500 / s | 768p – 1080p | 5 – 30 s |
| Hailuo 2.3 | video | $0.0288 – $0.0479 / s | 768p – 1080p | 6 – 10 s |
| Hailuo 2.3 Fast | video | $0.0239 – $0.0409 / s | 768p – 1080p | 6 – 10 s |
| MiniMax H3 Max Lip Sync | lipsync | $0.0500 – $0.1600 / s | 480p – 1080p |
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":"hailuo-h3-regen","input":{"prompt":"…"}}'Full reference: open.sume.com/docs
| 5 – 14 s |