> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# ByteDanceSeedreamNode - ComfyUI Built-in Node Documentation

> Complete documentation for the ByteDanceSeedreamNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ByteDanceSeedreamNode/en.md)

The ByteDance Seedream 4.5 & 5.0 node provides unified text-to-image generation and precise single-sentence editing capabilities at up to 4K resolution. It can create new images from text prompts or edit existing images using text instructions. The node supports both single image generation and sequential generation of multiple related images.

## Inputs

| Parameter                     | Data Type | Required | Range                                                                     | Description                                                                                                                                                                                                 |
| ----------------------------- | --------- | -------- | ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `model`                       | STRING    | Yes      | "seedream 5.0 lite"<br />"seedream-4-5-251128"<br />"seedream-4-0-250828" | The Seedream model to use for generation.                                                                                                                                                                   |
| `prompt`                      | STRING    | Yes      | -                                                                         | Text prompt for creating or editing an image. Must be at least 1 character long.                                                                                                                            |
| `image`                       | IMAGE     | No       | -                                                                         | Input image(s) for image-to-image generation. Reference image(s) for single or multi-reference generation. Maximum of 14 reference images for seedream-5-0-260128, or 10 for other models.                  |
| `size_preset`                 | STRING    | No       | Multiple options available                                                | Pick a recommended size. Select Custom to use the width and height below. Default: first preset from RECOMMENDED\_PRESETS\_SEEDREAM\_4.                                                                     |
| `width`                       | INT       | No       | 1024 to 6240 (step 2)                                                     | Custom width for image. Value is working only if `size_preset` is set to `Custom`. Default: 2048.                                                                                                           |
| `height`                      | INT       | No       | 1024 to 4992 (step 2)                                                     | Custom height for image. Value is working only if `size_preset` is set to `Custom`. Default: 2048.                                                                                                          |
| `sequential_image_generation` | STRING    | No       | "disabled"<br />"auto"                                                    | Group image generation mode. "disabled" generates a single image. "auto" lets the model decide whether to generate multiple related images (e.g., story scenes, character variations). Default: "disabled". |
| `max_images`                  | INT       | No       | 1 to 15 (step 1)                                                          | Maximum number of images to generate when sequential\_image\_generation='auto'. Total images (input + generated) cannot exceed 15. Default: 1.                                                              |
| `seed`                        | INT       | No       | 0 to 2147483647 (step 1)                                                  | Seed to use for generation. Default: 0.                                                                                                                                                                     |
| `watermark`                   | BOOLEAN   | No       | -                                                                         | Whether to add an "AI generated" watermark to the image. Default: False.                                                                                                                                    |
| `fail_on_partial`             | BOOLEAN   | No       | -                                                                         | If enabled, abort execution if any requested images are missing or return an error. Default: True.                                                                                                          |

**Notes on parameter constraints:**

* The minimum image resolution depends on the selected model: 3.68MP for seedream-4-5 and seedream-5-0 models, 0.92MP for seedream-4-0 models.
* The maximum image resolution is 10.4MP for seedream-5-0 models and 16.78MP for other models.
* Reference images must have an aspect ratio between 1:3 and 3:1.
* When `sequential_image_generation` is set to "auto", the total number of input images plus `max_images` cannot exceed 15.
* The `width` and `height` parameters are only used when `size_preset` is set to "Custom".

## Outputs

| Output Name | Data Type | Description                                                                                                                                              |
| ----------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `IMAGE`     | IMAGE     | Generated image(s) based on the input parameters and prompt. Returns a single image tensor or a batch of image tensors if multiple images are generated. |

***

**Source fingerprint (SHA-256):** `daddffc265ab7b24746337825239c25b633a923804b6e5ad11149aea15772a7f`
