Skip to main content

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.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
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

ParameterData TypeRequiredRangeDescription
modelSTRINGYes”seedream 5.0 lite"
"seedream-4-5-251128"
"seedream-4-0-250828”
The Seedream model to use for generation.
promptSTRINGYes-Text prompt for creating or editing an image. Must be at least 1 character long.
imageIMAGENo-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_presetSTRINGNoMultiple options availablePick a recommended size. Select Custom to use the width and height below. Default: first preset from RECOMMENDED_PRESETS_SEEDREAM_4.
widthINTNo1024 to 6240 (step 2)Custom width for image. Value is working only if size_preset is set to Custom. Default: 2048.
heightINTNo1024 to 4992 (step 2)Custom height for image. Value is working only if size_preset is set to Custom. Default: 2048.
sequential_image_generationSTRINGNo”disabled"
"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_imagesINTNo1 to 15 (step 1)Maximum number of images to generate when sequential_image_generation=‘auto’. Total images (input + generated) cannot exceed 15. Default: 1.
seedINTNo0 to 2147483647 (step 1)Seed to use for generation. Default: 0.
watermarkBOOLEANNo-Whether to add an “AI generated” watermark to the image. Default: False.
fail_on_partialBOOLEANNo-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 NameData TypeDescription
IMAGEIMAGEGenerated 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