You're looking at a specific version of this model. Jump to the model overview.

bytedance /seedream-4:e6cff243

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Text prompt for image generation
image_input
array
[]
Input image(s) for image-to-image generation. List of 1-10 images for single or multi-reference generation.
size
None
2K
Image resolution: 1K (1024px), 2K (2048px), 4K (4096px), or 'custom' for specific dimensions.
aspect_ratio
None
match_input_image
Image aspect ratio. Only used when size is not 'custom'. Use 'match_input_image' to automatically match the input image's aspect ratio.
width
integer
2048

Min: 1024

Max: 4096

Custom image width (only used when size='custom'). Range: 1024-4096 pixels.
height
integer
2048

Min: 1024

Max: 4096

Custom image height (only used when size='custom'). Range: 1024-4096 pixels.
sequential_image_generation
None
disabled
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).
max_images
integer
1

Min: 1

Max: 15

Maximum number of images to generate when sequential_image_generation='auto'. Range: 1-15. Total images (input + generated) cannot exceed 15.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}