API token from https://platform.acedata.cloud
Specifies the format of the response from the server. If not specified, the default format is application/json.
application/json The model which used to generate the images. If not specified, the default model is doubao-seedream-4.0.
doubao-seedream-4-0-250828, doubao-seedream-4-5-251128, doubao-seedream-3-0-t2i-250415, doubao-seededit-3-0-i2i-250628 The prompt which used to generate the images.
"a white siamese cat"
Link to the picture that needs to be edited. It can be a accessible http or https url or a base64 encoded image string like data:image/png;base64,iVBORw0KG... format. The image size should not exceed 10MB for each. If the action is edit, this parameter is required.
The aspect ratio of the generated images. Supported values are 1K, 2K, 4K, 1024x1024 and so on.
1K, 2K, 4K, adaptive "1:1"
The seed of the generated images. Supported values are [-1, 2147483647]. Default is -1, this only works when model is doubao-seedream-3.0-t2i or doubao-seededit-3.0-i2i.
Default is disabled, created related images based on your input, only supports doubao-seedream-4.5 and doubao-seedream-4.0
auto, disabled Default is false,stream all pictures or not, only supports doubao-seedream-4.5 and doubao-seedream-4.0
The prompt weight, the bigger, more related to prompt input, only supports doubao-seedream-3.0-t2i default is 2.5 and doubao-seededit-3.0-i2 default is 5.5, those two both range from [1,10]
default is url, also support b64_json
Default is true, if add AI generated watermark
The callback URL which will be called when the images is generated, the URL should be accessible from the public internet. If specified, the response will be returned immediately and the result will be sent to the callback URL when it's ready.
OK, the request is successful.
The response is of type object.