Image model by Doubao

Doubao Seedream 5.0 Pro API

model: doubao-seedream-5-0-pro

Call Doubao Seedream 5.0 Pro with your KeelRouter API key, the same key you use for every other model. From $0.0372 per image, paid per call from a prepaid balance. Failed calls are free.

Pricing

OptionPrice
1K$0.0372 per image
2K$0.0743 per image

Call it

Async: POST /v1/images/generations returns a taskId; poll the same path with ?task_id= or pass a callback_url.

curl https://api.keelrouter.com/v1/images/generations \
  -H "Authorization: Bearer $KEELROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "doubao-seedream-5-0-pro",
  "prompt": "A lighthouse at dawn, watercolor",
  "resolution": "1K"
}'

Parameters

NameTypeNotes
modelstringRequired. doubao-seedream-5-0-pro
promptstringRequired.
resolutionstringOne of 1K, 2K. Default 2K.
aspect_ratiostringOne of 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 5:4, 4:5, 21:9.
imagestring
imagesarrayRange …–10.
output_formatstringOne of jpeg, png. Default jpeg.
backgroundstringOne of transparent.
callback_urlstringOptional https URL; we POST the result when the task ends

FAQ

How much does the Doubao Seedream 5.0 Pro API cost on KeelRouter?
From $0.0372 per image. You pay per call from a prepaid USD balance; failed calls are not charged.
How do I call Doubao Seedream 5.0 Pro?
POST to /v1/images/generations with model "doubao-seedream-5-0-pro". You get a taskId back; poll the same endpoint with ?task_id= or pass a callback_url.
Is this the official Doubao Seedream 5.0 Pro API?
No. KeelRouter is an independent API gateway. Requests run on Doubao Seedream 5.0 Pro through our upstream providers, and the image model keeps its own safety filters.
How long are results kept?
Result files are kept for 30 days, then deleted. Download what you want to keep.

More from Doubao

KeelRouter is an independent service and is not affiliated with Doubao. Doubao Seedream 5.0 Pro is a trademark of its owner, used here only to name the model a request runs on.