Model overview
Image generationImage editingVisionChineseDoubao Seedream 4.0 is ByteDance's Ark image generation and editing model for text-to-image, image-to-image, and multi-reference image creation.
Company: ByteDanceProvider: Volcengine Ark
Model capabilities
Input modalityT
Output modalityT
Text-to-image✓
Image editing✓
Multiple reference images✓
Group image generation✓
Up to 4K output✓
Streaming✓
Function calling×
Structured output×
Model pricing
Text-to-image$0.02985/image
Image-to-image$0.02985/image
Rate limits and context
Regioncn-beijing
Reference imagesUp to 10
Related outputsUp to 15 images
Output sizesUp to 4K
Output formatsJPEG / PNG
Response formatsURL / base64 JSON
API reference
EndpointPOST /v1/images/generations
SDKOpenAI-compatible
API code examples
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-4-0-250828", "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())