Generates video from references · 720p to 1080p · 3–16 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":"vidu-q4-reference","duration":5,"resolution":"720p","aspect_ratio":"16:9","generate_audio":false}'Vidu Q4 Reference has the model id vidu-q4-reference. Send a JSON body to POST https://api.open.sume.com/v1/video-router/generate.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| model | string | Yes | — | "vidu-q4-reference" |
| prompt | string | No | — | What happens in the video. |
| reference_image_urls | string[] | No | — | Reference images (HTTPS). |
| duration | integer | No | 5 | Seconds, 3–16. |
| resolution | string | No | 720p | Output resolution. Options: 720p, 1080p. |
| aspect_ratio | string | No | 16:9 | Frame shape. Options: 16:9, 9:16, 4:3, 3:4, 1:1. |
| generate_audio | boolean | No | false | Generate a soundtrack with the video. |
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
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 |
|---|---|
| 720p | $0.0838 / s |
| 1080p | $0.1050 / s |
Price, resolution and duration show each model's full range.
| Model | Type | Price | Resolution | Duration |
|---|---|---|---|---|
| Vidu Q4 | video | $0.0838 – $0.1050 / s | 720p – 1080p | 3 – 16 s |
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":"vidu-q4-reference","input":{"prompt":"…"}}'Full reference: docs.sume.com