Seedream 5.5

seedream-5.5
ImageByteDanceSeedream 5.5seedream-5.5

Seedream 5.5 is the new-generation multimodal image generation model of ByteDance's Seed team, with greater creativity and more precise execution: multi-round editing is very stable and preserves untouched regions at pixel level, lighting, materials and skin texture look more natural, and small text renders more clearly. It covers text-to-image and single- and multi-image reference (up to 10 reference images), and generates native RGBA images with an alpha channel from text or reference images. Layer decomposition splits one image into a base image and up to 99 independently editable transparent layers and returns rich-text OCR for regular text layers (text, line positions and approximate styles such as font, color and bold). It outputs 1K / 1.5K / 2K. Requests are synchronous and return the images directly, with no polling.

Authentication

Base URL
https://api.dreamto.ai
Authorization
Authorization: Bearer YOUR_API_KEY
Content-Type
application/json
Model name (model)
seedream-5.5

Featured capabilities

Featured capabilityDescriptionPreview
Multi-turn editing consistencyContinuous editing of the same subject while preserving subject features, composition and visual style across turnsDemo video
Native RGBA imagesNative RGBA images with alpha channels from text or images, for stickers, icons, product materials and other transparent-background usesDemo video
Fine-grained layer decomposition and rich-text OCRDecomposes one image into a base image and up to 99 independently editable layers, with a configurable maximum output count; returns the text, position and approximate styling of regular text layers so design tools or applications can further edit and composite themDemo video

Capability overview

CapabilitySeedream 5.5
Text-to-imageSupported
Single-image-to-image / editingSupported
Multi-reference-to-imageSupported, up to 10 reference images
Interactive editing (coordinates, boxes, arrows)Supported
Layer decompositionOne base image and up to 99 layers
Maximum output count for layer decompositionConfigurable, 2–100 images (base image and layers)
Rich-text OCRSupported (101 Chinese and 127 non-Chinese fonts)
Native RGBA, text-to-imageSupported
Native RGBA, image-to-imageSupported, up to 10 reference images; no alpha channel required for inputs
Resolution, image generation1K / 1.5K / 2K, or pixel dimensions from 1280x720 to 2048x2048 × 1.1025
Resolution, layer decomposition1K / 1.5K / 2K / auto (default)
Output formatpng (default) / jpeg
Background (image generation)auto (default) / transparent / opaque
Prompt optimizationStandard mode
Prompt languagesChinese and English, plus Japanese, Korean, French, German, Spanish, Portuguese, Russian, Arabic, Thai, Vietnamese, Indonesian, Malay, Turkish and Filipino
Image sets, streaming output, web searchNot supported

Setup

BytePlus ModelArkDreamTo
EndpointPOST https://ark.ap-southeast.bytepluses.com/api/v3/images/generationsPOST https://api.dreamto.ai/api/v3/images/generations
modeldola-seedream-5-5-261028seedream-5.5
API KeyModelArk API keyAPI Key from the DreamTo console, in the Authorization: Bearer header

Existing ModelArk code runs after replacing the base URL, model and API key. The OpenAI SDK works too (base_url https://api.dreamto.ai/api/v3, with the vendor parameters in extra_body).

Endpoints

EndpointPurpose
POST /api/v3/images/generationsCreate image

Parameters

FieldValues
promptRequired for image generation, optional for layer decomposition; keep it under about 300 Chinese characters or 600 English words. Besides Chinese and English: Japanese, Korean, French, German, Spanish, Portuguese, Russian, Arabic, Thai, Vietnamese, Indonesian, Malay, Turkish and Filipino
imageA string for one image or an array for several; up to 10 for image generation, exactly 1 for layer decomposition. Image links or data:image/png;base64,<data>, each up to 30 MB
sizeImage generation: 1K / 1.5K / 2K (default) or WIDTHxHEIGHT; layer decomposition: 1K / 1.5K / 2K / auto (default). See size below
layer_decompositionfalse (default, image generation) / true (layer decomposition)
layer_decomposition_options.max_imagesMaximum output images of a layer decomposition (base image included), 2–100, default 30
layer_decomposition_options.text_recognitionfalse (default) / true (return rich-text OCR for regular text layers)
output_formatpng (default) / jpeg; in layer decomposition it only sets the base image, layers are always png
backgroundauto (default) / transparent / opaque; image generation only, transparent needs png
response_formaturl (default, valid for 24 hours) / b64_json
optimize_prompt_options.modestandard (default and the only value)
watermarktrue (default, adds an "AI generated" watermark in the lower-right corner) / false
safety_identifierA stable end-user identifier (hash the username or email), up to 64 characters; returned unchanged in the response

Pricing

Billed per image, at the unit prices shown in the console:

ItemHow it is counted
Input imageOne per reference image (for layer decomposition, the image to decompose)
Output image, 1.5K or lowerTotal pixels (width × height) of the image up to 2,601,123 (1536² × 1.05²)
Output image, above 1.5KTotal pixels above 2,601,123, up to 4,624,220 (2048² × 1.05²)

Cost of a request = input images × input image price + the sum over the output images of the price of the tier each image falls in. In layer decomposition the base image and every layer are billed by their own actual size (data[].size), so one request can contain both tiers.

Before the call, the balance is checked for the largest number of images the request can return: 1 for image generation and max_images (default 30) for layer decomposition; with an insufficient balance the request returns 402 and the model is not called. Only images that are actually returned are charged; invalid requests and failed generations are not charged.

Quick start

$DREAMTO_API_KEY is your API Key.

cURLbash
curl -X POST "https://api.dreamto.ai/api/v3/images/generations" \
  -H "Authorization: Bearer $DREAMTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedream-5.5",
    "prompt": "A vibrant close-up editorial portrait, piercing gaze, sculptural hat, rich color blocking, vertical magazine cover",
    "size": "2K",
    "output_format": "png"
  }'

Guides

GuideContent
Multi-turn editing consistencyHow to edit the same image over several turns, with an example and a request sample
Native RGBA imagesTransparent-background images from text or images
Fine-grained layer decompositionRules, response fields, restoring layers and billing
Rich-text OCRText, position and styles of text layers, with the OCR response fields
Image output options and limitssize, response format, output format, background, watermark and the input image limits
OCR supported fontsThe 101 Chinese and 127 non-Chinese fonts that can be recognized

Timeouts

Image generation usually takes 10–60 seconds; a layer decomposition with many layers can take several minutes, so set the client read timeout to at least 300 seconds. If generation times out or fails, an error is returned and the request is not charged.

Notes

  • model is the DreamTo model name seedream-5.5, not the Ark model ID dola-seedream-5-5-261028; model in the response echoes seedream-5.5 too.
  • As with the official API, streaming and image sets are not supported: stream: true and sequential_image_generation: auto return 400. The official API rejects any value of these two parameters; here the no-op values stream: false and sequential_image_generation: disabled are accepted and ignored, which eases switching from other Seedream models.
  • Requests with invalid values (size out of range, jpeg with a transparent background, several images for layer decomposition, and so on) return 400 before the model is called, with an English message in the DreamTo error envelope (see the error examples), and are not charged.
  • Errors returned by the model (a reference image that cannot be downloaded, content moderation, and so on) keep the official HTTP status and error.code, error.message, error.param and error.type, and are not charged; the request ID is in the X-Request-Id response header.