Doubao Seedream
otherzlhubDoubao Seedream image generation via zlhub. Supports Seedream 5.0 Pro, Seedream 5.0 Lite, and Seedream 4.5 for text-to-image and image-reference workflows.
Quick Example
curl -X POST https://api.aivideoapi.ai/v1/images/generations \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model": "doubao-seedream-5.0-lite", "input": {"prompt": "Your prompt here"}}'4.68 credits per successful output. Reference images are free.
Layer decomposition pre-charges up to 17 outputs (79.56 credits), then settles verified successful outputs. Account multipliers apply.
Quick Example
curl -X POST https://api.aivideoapi.ai/v1/images/generations \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model": "doubao-seedream-5.0-flash", "input": {"prompt": "Your prompt here"}}'Quick Example
curl -X POST https://api.aivideoapi.ai/v1/images/generations \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model": "doubao-seedream-4.5", "input": {"prompt": "Your prompt here"}}'Outputs up to 2,610,000 pixels: 5.07 credits/image; larger outputs: 8.97 credits/image.
Every input image, including the first: 1.95 credits/image. Image generation and layer decomposition use the same rates.
Pre-charge reserves the maximum output count at the larger-size rate plus all input images. Layer decomposition defaults to 30 outputs and supports 2–100. Final billing uses actual pixels and image counts.
Unit prices are rounded for display; the full request is converted and rounded once. Account multipliers apply.
Quick Example
curl -X POST https://api.aivideoapi.ai/v1/images/generations \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model": "doubao-seedream-5.5", "input": {"prompt": "Your prompt here"}}'Quick Example
curl -X POST https://api.aivideoapi.ai/v1/images/generations \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model": "doubao-seedream-5.0-pro", "input": {"prompt": "Your prompt here"}}'