Generate image with bytedance/seedream-v4/edit
Generates an image using the bytedance/seedream-v4/edit model.
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
model name
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.
false
If set to true, the function will wait for the image to be generated and uploaded before returning the response. It allows you to get the image directly in the response. This property is only available through the API.
false
The image to edit, can be a URL or base64 encoded image.
1 <= items <= 10
The editing instruction describing the desired changes to the image.
The random seed to use for the generation. -1 means a random seed will be used.
The size of the generated media in pixels (width*height).
1024 <= value <= 4096
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "bytedance/seedream-v4/edit", "images": [ "string" ], "prompt": "string" }'
{
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
],
"id": "string",
"model": "string",
"outputs": [
"string"
],
"status": "string",
"urls": {}
}