Seedream 4.5

This documentation is valid for the following list of our models:

  • bytedance/seedream-4-5

Model Overview

The model combines both text-to-image and image-to-image capabilities. Compared to Seedream 4.0, this model significantly improves editing consistency (preserving subject details, lighting, and color tone), the quality of portraits and small text.

Setup your API Key

If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.

API Schema

post
Body
modelstring · enumRequiredPossible values:
promptstringRequired

The text prompt describing the content, style, or composition of the image to be generated.

image_urlsstring · uri[] · min: 1 · max: 14Optional

List of URLs or local Base64 encoded images to edit.

image_sizeany ofOptional

The size of the generated image.

or
string · enumOptionalPossible values:
response_formatstring · enumOptional

The format in which the generated images are returned.

Default: urlPossible values:
seedintegerOptional

The same seed and the same prompt given to the same version of the model will output the same image every time.

watermarkbooleanOptional

Add an invisible watermark to the generated images.

Default: false
Responses
200Success
application/json
post
/v1/images/generations
200Success

Quick Example

Let's generate a new image using the one from the flux/dev Quick Example as a reference — and make a simple change to it with a prompt.

Response
Reference Images
Generated Image
Image #1
"Combine the images so the T-Rex is wearing a business suit, sitting in a cozy small café, drinking from the mug. Blur the background slightly to create a bokeh effect."
Image #2

Last updated

Was this helpful?