Generates video from an image · 480p to 720p · 4–15 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":"grok-imagine-video-1.5","image_url":"https://example.com/image.png","duration":5,"resolution":"480p"}'Grok Imagine Video 1.5 has the model id grok-imagine-video-1.5. Send a JSON body to POST https://api.open.sume.com/v1/video-router/generate.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| model | string | Yes | — | "grok-imagine-video-1.5" |
| prompt | string | No | — | What happens in the video. |
| image_url | string | Yes | — | First frame (HTTPS image). |
| duration | integer | No | 5 | Seconds, 4–15. |
| resolution | string | No | 480p | Output resolution. Options: 480p, 720p. |
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: the serving route's cost × 1.25, rounded up to $0.0001. The estimate above is the exact charge.
| Option | Price |
|---|---|
| 480p | $0.0125 / s |
| 720p | $0.0125 / s |
Price, resolution and duration show each model's full range.
| Model | Type | Price | Resolution | Duration |
|---|---|---|---|---|
| Grok Imagine | image | $0.0250 / image | — | — |
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":"grok-imagine-video-1.5","input":{"prompt":"…"}}'Full reference: docs.sume.com