1. Model & Core Capabilities
- Model ID:
dola-seedream-5-5-261028 - Input Modes:
- Text-to-Image
- Single-Image-to-Image
- Multi-Reference-to-Image (up to 10 reference images)
- 5.5 Headline Upgrades over 5.0:
- Multi-turn editing consistency across sequential edits.
- Native RGBA (Alpha Channel): Both Text-to-RGBA and Image-to-RGBA (up to 10 reference images; inputs do not need an existing alpha channel).
- Fine-grained layer decomposition: Returns 1 base image + up to 99 independent layers (
max_images:2–100). - Rich-text OCR: Returns text content, bounding position, and approximate styling for regular text layers.
2. Output, Size & Transparency Parameters
| Parameter | Values & Rules |
|---|---|
size (Image Generation) | Method 1 (Recommended): Preset 1K, 1.5K, 2K (default 2K) — specify aspect ratio in the prompt (e.g., "Generate a 16:9 image"). · Exact 2K mappings: 1:1 (2048x2048), 16:9 (2816x1584), 9:16 (1584x2816), 4:3 (2368x1776), 3:4 (1776x2368), 3:2 (2496x1664), 2:3 (1664x2496), 21:9 (3136x1344). · Method 2: Exact widthxheight (total pixels 921,600 to 4,624,220, ratio [1/16, 16]). Do not combine both methods. |
size (Layer Decomposition) | Presets only: 1K, 1.5K, 2K, or auto (default). Base image & layers retain the source image's aspect ratio. |
output_format | png (default) or jpeg. In layer decomposition, controls only the base image (layers are always PNG). |
background | auto (default), transparent (RGBA), opaque (RGB). Rules: transparent requires output_format: "png". Do not pass background during layer_decomposition (it automatically returns transparent PNGs and errors if background is set). |
response_format | url (default, valid 24 hours) or b64_json. |
watermark | true (default, bottom-right "AI generated") or false. |
3. Prompting Patterns for Seedream 5.5's 4 Core Workflows
A. Multi-Turn Editing Consistency
Pass the prior turn's generated image URL as image and pair your edit instruction with an explicit preservation list so nothing drifts:
[Specific edit, e.g., Have the person blow a round, semi-transparent pink bubblegum bubble.]
Preserve the identity, facial features, gaze, hairstyle, [accessories], clothing, pose, [background], composition, and visual style of the person.B. Text-to-RGBA (Stickers, Icons, Product Assets)
Set "background": "transparent" and "output_format": "png". Do not pass image. Describe edge treatment and material refraction explicitly:
[Subject / product, e.g., A transparent acrylic standee with a Christmas theme, rectangular outline, and a thin white edge on all sides that brings out the transparent material.]
[Style, layout, and color palette details.]
[Material finish, e.g., Add occasional highlights refracted by the thickness for a realistic product finish.]
Set a transparent background.C. Image-to-RGBA (Asset / Sticker Extraction)
Pass up to 10 reference images (no alpha channel required on inputs), reference them as Image 1, Image 2, etc., and specify clean edge extraction:
Extract the [elements] from Image 1 and Image 2 separately, then place all extracted [elements] in one transparent-background image. Preserve the original text, colors, shapes, and details of each [element]; remove all background content other than the [elements]. Arrange them separately without overlap, with sharp and intact edges.D. Fine-Grained Layer Decomposition + Rich-Text OCR
Set "layer_decomposition": true and "layer_decomposition_options": { "max_images": 40, "text_recognition": true }.
- 3 ways to prompt decomposition:
- Auto: Omit
prompt(cURL/Java/Go) or use a general instruction (Python/OpenAI SDK) so the model splits subjects, text, and decorative elements based onmax_images. - Natural language: Name the exact targets ("Decompose the person, title text, and decorative icon in the lower-right corner").
- Exact
<bbox>regions: Combinelayer_decomposition: truewith normalized<bbox>x1 y1 x2 y2</bbox>tags to isolate specific text blocks and subjects.
- Targeted decomposition template (tells the model both what to separate and how to inpaint the base image):
Separate each [target, e.g., animal] into a complete, independent layer, including [targets] of the same [type/species]. Preserve the appearance, colors, pose, [outline], and original position of each [target]. Keep all non-[target] elements in the base image and naturally fill the areas left after the [targets] are removed.- Recompositing response fields: Each item returns
z_index(0= base image,1+= stacked layers),bounding_box.absolute/bounding_box.normalized,name, anddescription.
4. Core Prompting Rules (from Seedream Prompt Guide)
- Coherent Natural Language > Tag Soup (and keep under 600 words): Describe
subject + action + environment+style, color, lighting, compositionin full sentences. Avoid comma-separated keyword lists or prompts over ~600 English words (longer prompts scatter attention and drop details). - State the Purpose & Format: Explicitly name what you are making (e.g., "Design a logo for...", "Generate a poster...").
- Wrap On-Screen Text in Double Quotes: Always quote exact text you want rendered (e.g.,
with the title "Seedream 5.5"). - Clear Editing Verbs: Use direct verbs (Add, Remove, Replace, Turn/Modify) and explicitly state what stays unchanged ("keeping its pose unchanged").
- Multi-Image Inputs (
Image 1,Image 2,Image 3): Map each image's role explicitly (e.g., "Replace the character in Image 2 with the character from Image 1, and generate the result in the style of Image 3"). - Batch / Series Output Caveat: Note that
sequential_image_generation(multi-image batch output) is NOT supported on Seedream 5.5 / 5.0 pro / 5.0 flash (only onseedream-5-0-lite,4.5, and4.0). Seedream 5.5 also supports onlystandardmode foroptimize_prompt_options.mode.
5. Interactive Coordinate & Visual-Marker Editing
When text alone is ambiguous, Seedream supports two spatial-targeting methods:
A. Visual Markers Drawn on the Image
Draw arrows, doodles, circles, or colored boxes directly on the input image and reference them in text—and always tell the model to clean up the markings:
- "Edit the image based on the hand-drawn sketch. Add [object] in the marked area at the lower left... Remove all sketch lines. Keep the composition unchanged. Let the newly added objects blend naturally into the original scene."
B. Normalized [0, 999] Coordinate Tags (Programmatic TouchEdit)
Map pixel coordinates onto a 1000 × 1000 grid (0,0 = top-left, 999,999 = bottom-right; x = round(x_px / width * 1000)):
- Point tag:
<point>x y</point>→ "Replace the object at<point>520 460</point>in Image 1 with a crown." - Bounding-box tag:
<bbox>x1 y1 x2 y2</bbox>→ "Replace the area<bbox>120 180 640 760</bbox>in Image 1 with a garden." - Cross-image replacement: "Use the subject in Image 2
<bbox>118 331 933 871</bbox>to replace the subject in Image 1<bbox>179 283 796 986</bbox>." - Lock unchanged regions: "keep the area Image 1
<bbox>700 120 920 360</bbox>unchanged." - Disambiguate crowded boxes: Pair the box with a text descriptor ("Replace the person on the left in Image 1
<bbox>...</bbox>with a robot").
6. Rich-Text OCR Supported Fonts (text_recognition: true)
During Seedream 5.5 layer decomposition, rich-text OCR currently recognizes 101 Chinese fonts and 127 non-Chinese fonts (released 2026-10-27; full list at https://ai.byteplus.com/ark/region:ap-southeast-1/docs/ocr-supported-fonts).
- Practical takeaway: If you are generating or compositing posters, ads, or UI mockups that you plan to decompose into editable text layers later, choose from the supported families (for example:
Roboto,Open Sans,Montserrat,Poppins,Helvetica Neue,Avenir Next,Futura,Gotham,Playfair Display,Merriweather,Oswald,Bebas Neue,TikTok Sans,Arial,Times New Roman,Noto Sans,PingFang / 苹方,HarmonyOS Sans,Source Han Sans / 思源黑体,MiSans).
