Skip to main content
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.

Capability overview

Setup

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

Parameters

Pricing

Billed per image, at the unit prices shown in the console: 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.

Guides

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.