πŸŽ‰ Get Free $5 on Signup!
Models
Enterprise
Subscribe
Resource
Activity
Documentation
Console

/bytedance-seed/seedream-4-0

D

ByteDance Seed: Seedream 4.0

Seedream 4.0 is ByteDance's unified image generation and editing model designed for multimodal creative workflows. It supports text-to-image generation, single- and multi-image editing, image composition, knowledge-driven generation, reference consistency, adaptive aspect ratios, and high-resolution image generation up to 4K.

Modetext、image β†’ text
Input price$0.03 per M tokens
Output priceβ€”
Context length
Listed at2025-09-09T00:00:00Z

ByteDance Seed

Latencyβ€”
Throughputβ€”
Upload rateβ€”
Context lengthβ€”
Max outputβ€”
Input price$0.03per request
Output priceβ€”per request
Cache readβ€”per request
Cache writeβ€”per request

Performance

Avg TPSβ€”
Avg latencyβ€”
Avg success rateβ€”
TPSβ€”
TTFTβ€”
Latencyβ€”
Success rateβ€”

Success rate

Speed

Code Example

curl ${API_BASE_URL}/v1/images/generations \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedream-4-0",
    "prompt": "Describe the image you want"
  }'

Replace <YOUR_API_KEY> with the API key generated on your token management page.

Authentication

All requests must include the Authorization: Bearer <TOKEN> header.

Endpoint Path

POST
images

Supported Parameters

ParameterTypeDefaultDescription
string-Specifies the output image size or resolution. Seedream 4.0 supports high-resolution image generation up to 4K.
stringdisabledControls whether to generate a single image or a related image set. Set to disabled for single-image generation or auto for image-set generation.
array-Reference images used for image generation, editing, composition, or multi-image fusion.
stringfalseWhether to add a watermark to the generated image.

Rate Limits

GroupRPMTPMRPD

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply by token group.

Pricing

ProviderBilling typePrice summary
D
Doubao
Per call
Input price$0.03per request
Completion price$β€”per request
Cache read price$β€”per request
Cache write price$β€”per request