You're looking at a specific version of this model. Jump to the model overview.
bytedance /seedream-5-pro:a53e7646
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. In standard mode, describes the image to generate. In layer decomposition mode it is optional: describe which elements to split out, or leave blank to auto-detect all major elements. Maximum 4000 characters.
|
| image_input |
array
|
[]
|
Input image(s). In standard mode, 1-10 reference images for image-to-image generation. In layer decomposition mode, exactly one image to decompose.
|
| layer_decomposition |
boolean
|
False
|
Split a single input image into a base image plus separate element layers (up to 16). Requires exactly one input image. Each returned layer includes its stacking order, bounding box, name, and description.
|
| size |
None
|
2K
|
Image resolution. Standard mode supports 1K and 2K. Layer decomposition mode supports 1K, 1.5K, 2K, and auto; auto sizes the base image and layers from the input image.
|
| aspect_ratio |
None
|
match_input_image
|
Image aspect ratio (ignored in layer decomposition mode). Use 'match_input_image' to automatically match the input image's aspect ratio.
|
| output_format |
None
|
png
|
Output image format. In layer decomposition mode this only controls the base image; layers are always returned as PNG.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'images': {'items': {'format': 'uri', 'type': 'string'},
'title': 'Images',
'type': 'array'},
'layers': {'items': {'properties': {'bounding_box_absolute': {'items': {'type': 'integer'},
'nullable': True,
'title': 'Bounding '
'Box '
'Absolute',
'type': 'array'},
'bounding_box_normalized': {'items': {'type': 'integer'},
'nullable': True,
'title': 'Bounding '
'Box '
'Normalized',
'type': 'array'},
'description': {'nullable': True,
'title': 'Description',
'type': 'string'},
'image': {'format': 'uri',
'title': 'Image',
'type': 'string'},
'name': {'nullable': True,
'title': 'Name',
'type': 'string'},
'z_index': {'title': 'Z '
'Index',
'type': 'integer'}},
'required': ['image', 'z_index'],
'type': 'object'},
'title': 'Layers',
'type': 'array'}},
'required': ['images', 'layers'],
'title': 'Output',
'type': 'object'}