Generates and edits images · up to 4 per request
curl -X POST https://api.open.sume.com/v1/image-router/generate \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"seedream-5-lite","prompt":"A studio product photo on a white sweep","aspect_ratio":"1:1","num_images":1}'Seedream 5.0 Lite has the model id seedream-5-lite. Send a JSON body to POST https://api.open.sume.com/v1/image-router/generate.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| model | string | Yes | — | "seedream-5-lite" |
| prompt | string | Yes | — | What the image shows. |
| image_urls | string[] | No | — | Images to edit or follow (HTTPS). |
| aspect_ratio | string | No | 1:1 | Frame shape. Options: 1:1, 16:9, 9:16, 4:3, 3:4, 4:5, 5:4, 3:2, 2:3. |
| num_images | integer | No | 1 | Images per request, 1–4. |
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 |
|---|---|
| per image | $0.0438 / image |
Price, resolution and duration show each model's full range.
| Model | Type | Price | Resolution | Duration |
|---|---|---|---|---|
| Seedance 2.5 | video | $0.2687 – $1.4216 / s | 480p – 1080p | 4 – 30 s |
| Seedance 2.0 Mini | video | $0.0879 – $0.1890 / s | 480p – 720p | 4 – 15 s |
| Seedance 2.0 | video | $0.1758 – $0.8505 / s | 480p – 1080p | 4 – 15 s |
| Seedance 2.0 Fast | video | $0.1407 – $0.3024 / s | 480p – 720p | 4 – 15 s |
| OmniHuman 1.5 | lipsync | $0.2000 / s | 720p – 1080p | 2 – 60 s |
| LatentSync | lipsync | $0.1250 / s | — | 2 – 60 s |
| Seedream 4.5 | image | $0.0500 / 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":"seedream-5-lite","input":{"prompt":"…"}}'Full reference: docs.sume.com
| — |
| Seedream 4.0 | image | $0.0325 / image | — | — |