More modelsBytedanceSeedream v4 sequential
Generate image with bytedance/seedream-v4/sequential
Generates an image using the bytedance/seedream-v4/sequential model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your Atlas Cloud dashboard.
In: header
modelstring
model name
enable_base64_output?boolean
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.
Default
falsemax_images?integer
The number of images to generate. max 14
Default
1Range
1 <= value <= 14promptstring
The prompt to generate an image from.
size?string
The size of the generated media in pixels (width*height).
Range
1024 <= value <= 4096Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "bytedance/seedream-v4/sequential", "prompt": "string" }'{
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
],
"id": "string",
"model": "string",
"outputs": [
"string"
],
"status": "string",
"urls": {}
}