Models/Doubao Seedream 5.0 Lite
Model Code
doubao-seedream-5-0-260128
Try now

Model overview

Image generationImage editingVisionChinese

Doubao Seedream 5.0 Lite is ByteDance's Ark image generation and editing model for fast creative image production.

Company: ByteDanceProvider: Volcengine Ark

Model capabilities

Input modalityT
Output modalityT
Text-to-image
Image editing
Multiple reference images
2K / 3K / 4K output
Streaming
Function calling×
Structured output×

Model pricing

Successful generated image$0.03284/image

Rate limits and context

Regioncn-beijing
Reference imagesUp to 14
Output sizes2K / 3K / 4K or custom width x height
Output formatsJPEG / PNG
Response formatsURL / base64 JSON

API reference

EndpointPOST /v1/images/generations
SDKOpenAI-compatible

API code examples

Get API Key
import os
import requests

response = requests.post(
    "https://api.wlrouter.com/v1/images/generations",
    headers={
        "Authorization": f"Bearer {os.environ['WLROUTER_API_KEY']}",
        "Content-Type": "application/json",
    },
    json={
  "model": "doubao-seedream-5-0-260128",
  "prompt": "A clean product photo of a ceramic coffee cup on a white desk.",
  "n": 1,
  "size": "1024*1024"
}
)
response.raise_for_status()
print(response.json())