Seedream 4.0 Edit (Image-to-image)
Model Overview
The model supports background replacement, object editing, style and color adjustments, lighting and texture enhancements, and artistic filters, while ensuring character consistency and allowing iterative refinement.
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
List of URLs or local Base64 encoded images to edit.
The size of the generated image.
square_hdThe same seed and the same prompt given to the same version of the model will output the same image every time.
If set to true, the function will wait for the image to be generated and uploaded before returning the response. This will increase the latency of the function but it allows you to get the image directly in the response without going through the CDN.
falseIf set to True, the safety checker will be enabled.
trueThe text prompt describing the content, style, or composition of the image to be generated.
The number of images to generate.
1Quick Example
Let's generate an image using two input images and a prompt that defines how they should be edited.


"Add a bird to the foreground of the photo."Last updated
Was this helpful?