bytedance/seedream-5-pro
ByteDance's flagship text-to-image and image editing model, generating sharp 1K and 2K images from text or up to 10 reference images
333
runs
Run bytedance/seedream-5-pro with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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. Maximum 4000 characters. BytePlus recommends keeping prompts under 600 English words for best results.
|
|
| image_input |
array
|
[]
|
Input image(s) for image-to-image generation. List of 1-10 reference images for single or multi-reference generation.
|
| size |
None
|
2K
|
Image resolution: 1K (~2 megapixels) or 2K (~4 megapixels).
|
| aspect_ratio |
None
|
match_input_image
|
Image aspect ratio. Use 'match_input_image' to automatically match the input image's aspect ratio.
|
| output_format |
None
|
png
|
Output image format.
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"size": {
"enum": [
"1K",
"2K"
],
"type": "string",
"title": "size",
"description": "Image resolution: 1K (~2 megapixels) or 2K (~4 megapixels).",
"default": "2K",
"x-order": 2
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"maxLength": 4000,
"description": "Text prompt for image generation. Maximum 4000 characters. BytePlus recommends keeping prompts under 600 English words for best results."
},
"image_input": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Image Input",
"default": [],
"x-order": 1,
"description": "Input image(s) for image-to-image generation. List of 1-10 reference images for single or multi-reference generation."
},
"aspect_ratio": {
"enum": [
"match_input_image",
"1:1",
"4:3",
"3:4",
"16:9",
"9:16",
"3:2",
"2:3",
"21:9"
],
"type": "string",
"title": "aspect_ratio",
"description": "Image aspect ratio. Use 'match_input_image' to automatically match the input image's aspect ratio.",
"default": "match_input_image",
"x-order": 3
},
"output_format": {
"enum": [
"png",
"jpeg"
],
"type": "string",
"title": "output_format",
"description": "Output image format.",
"default": "png",
"x-order": 4
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}