Inputs
| Parameter | Description | Data Type | Required | Range |
|---|---|---|---|---|
model | The ByteDance model to use for image generation. Currently only one model option is available. | STRING | Yes | "seedream-3-0-t2i-250415" |
prompt | The text prompt used to generate the image. Must be at least 1 character long after stripping whitespace. | STRING | Yes | - |
size_preset | Pick a recommended size. Select Custom to use the width and height below. Available presets are defined by the RECOMMENDED_PRESETS list. | STRING | Yes | See description |
width | Custom width for the image. This value is only used when size_preset is set to Custom. Default: 1024. | INT | Yes | 512 to 2048 (step 64) |
height | Custom height for the image. This value is only used when size_preset is set to Custom. Default: 1024. | INT | Yes | 512 to 2048 (step 64) |
seed | Seed to use for generation. Default: 0. | INT | No | 0 to 2147483647 (step 1) |
guidance_scale | Higher value makes the image follow the prompt more closely. Default: 2.5. | FLOAT | No | 1.0 to 10.0 (step 0.01) |
watermark | Whether to add an “AI generated” watermark to the image. Default: False. This is an advanced parameter. | BOOLEAN | No | True / False |
width and height parameters are only used when size_preset is set to Custom. If a preset size is selected, the preset’s dimensions override the custom width and height values. Both width and height must be between 512 and 2048 pixels when using custom dimensions.
Outputs
| Output Name | Description | Data Type |
|---|---|---|
IMAGE | The generated image returned from the ByteDance API as a tensor. | IMAGE |
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
69c1f6fd24e6e184b1a1d785b541c8962f3751d2bbd121d6a3b105d66d58d4b1