Generates images from text · up to 2K · 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":"kling-image-3","prompt":"A studio product photo on a white sweep","aspect_ratio":"1:1","resolution":"1K","num_images":1}'Kling Image 3.0 has the model id kling-image-3. Send a JSON body to POST https://api.open.sume.com/v1/image-router/generate.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| model | string | Yes | — | "kling-image-3" |
| prompt | string | Yes | — | What the image shows. |
| aspect_ratio | string | No | 1:1 | Frame shape. Options: 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9. |
| resolution | string | No | 1K | Output resolution. Options: 1K, 2K. |
| 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, from our rate card; a request rounds up to $0.0001. The estimate above is the exact charge.
| Option | Price |
|---|---|
| 1K | $0.0253 / image |
| 2K | $0.0253 / image |
Price, resolution and duration show each model's full range.
| Model | Type | Price | Resolution | Duration |
|---|---|---|---|---|
| Kling Video v3 Pro | video | $0.0887 – $0.1331 / s | 1080p | 4 – 15 s |
| Kling 2.6 | video | $0.0632 – $0.1263 / s | 1080p | 5 – 10 s |
| Kling 3.0 Turbo | video | $0.0887 – $0.1109 / s | 720p – 1080p | 3 – 15 s |
| Kling 3.0 Omni | video | $0.0666 – $0.1109 / s | 720p – 1080p | 3 – 15 s |
| Kling Avatar 2.0 Pro | lipsync | $0.1150 / s | — | 2 – 60 s |
| Kling Avatar 2.0 | lipsync | $0.0562 / s | — | 2 – 60 s |
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":"kling-image-3","input":{"prompt":"…"}}'Full reference: open.sume.com/docs
| Kling Lipsync | lipsync | $0.0140 / s | — | 2 – 10 s |
| Kling O1 | image | $0.0280 / image | 1K – 2K | — |