Skip to main content

Doubao Seedream

Doubao Seedream is an image generation model by ByteDance, supporting high-quality text-to-image and image-to-image generation.

Supported Models

ModelDescription
doubao-seedream-3-0Seedream 3.0
doubao-seedream-4-0Seedream 4.0
doubao-seedream-4-5Seedream 4.5, latest version

Text-to-Image

POST /fal-ai/seedream/text-to-image

Request Parameters

ParameterTypeRequiredDescription
promptstringYesImage description prompt
modelstringNoModel name, defaults to doubao-seedream-4-5
sizestringNoImage size, e.g. 1024x1024
nintegerNoNumber of images to generate
negative_promptstringNoNegative prompt

Request Example

cURL
curl -X POST https://crazyrouter.com/fal-ai/seedream/text-to-image \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "prompt": "A cute Shiba Inu wearing a kimono, sitting under a cherry blossom tree",
    "model": "doubao-seedream-4-5",
    "size": "1024x1024",
    "n": 1
  }'

Response Example

{
  "created": 1709123456,
  "data": [
    {
      "url": "https://crazyrouter.com/files/seedream_abc123.png"
    }
  ]
}

Image-to-Image

POST /fal-ai/seedream/image-to-image
Generate new images based on a reference image.
ParameterTypeRequiredDescription
promptstringYesDescription prompt
imagestringYesReference image URL
strengthnumberNoVariation strength, 0-1, higher values produce more variation
cURL
curl -X POST https://crazyrouter.com/fal-ai/seedream/image-to-image \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "prompt": "Convert the photo to oil painting style",
    "image": "https://example.com/photo.jpg",
    "strength": 0.7
  }'

Multi-Image Fusion

POST /fal-ai/seedream/multi-image-fusion
Fuse multiple images to generate a new image.
cURL
curl -X POST https://crazyrouter.com/fal-ai/seedream/multi-image-fusion \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "prompt": "Fuse the style and content of both images",
    "images": [
      "https://example.com/image1.jpg",
      "https://example.com/image2.jpg"
    ]
  }'

Group Output

POST /fal-ai/seedream/group-output
Generate multiple images with different angles or styles in a single request.
cURL
curl -X POST https://crazyrouter.com/fal-ai/seedream/group-output \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "prompt": "A modern minimalist living room design",
    "n": 4,
    "size": "1024x1024"
  }'

Seedance Video

Doubao also provides Seedance video generation capabilities using the seedance-lite model.
cURL
curl -X POST https://crazyrouter.com/v1/video/create \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "seedance-lite",
    "prompt": "A cat chasing butterflies in a garden",
    "aspect_ratio": "16:9"
  }'
For detailed Seedance video API documentation, see Seedance Video.
Seedream models have excellent understanding of Chinese prompts. Using Chinese descriptions is recommended for better results.