Skip to main content
Seedream 5.0 i2i is an image-to-image generation model from ByteDance’s Seedream series, available through Anyfast API.
When using external image URLs as reference images, if Volcengine takes more than 10 seconds to download the image, the request will fail with a timeout error. Use image URLs hosted on fast, reliable CDNs, or pass large images as Base64-encoded data URIs instead.

Key capabilities

  • Image-to-Image — Generate images with reference images and text prompts
  • Sequential Generation — Batch generate multiple images in one request
  • Custom Size — Flexible output sizes
  • Watermark Control — Optional watermark and logo configuration

Quick example

curl https://www.anyfast.ai/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedream-5-0-260128",
    "prompt": "A girl and a cow doll happily riding a roller coaster, morning, noon, and night",
    "image": ["https://example.com/ref1.png", "https://example.com/ref2.png"],
    "sequential_image_generation": "auto",
    "sequential_image_generation_options": {
      "max_images": 3
    },
    "size": "2K",
    "watermark": false
  }'

Parameters

ParameterTypeRequiredDescription
modelstringYesMust be doubao-seedream-5-0-260128
promptstringYesText prompt for image generation
imagearrayYesArray of reference image URLs
sequential_image_generationstringNoSet to auto to enable batch generation
sequential_image_generation_optionsobjectNoOptions: max_images (int)
sizestringNoOutput image size, e.g. 1024x1024, 2K
watermarkbooleanNoDefault: false
seedintegerNoRandom seed for reproducibility
logo_infoobjectNoLogo config: add_logo, position, language, opacity

API Reference

View the interactive API playground for Seedream 5.0 i2i.