Generate image with bytedance/seedream-v3
Generates an image using the bytedance/seedream-v3 model.
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
model name
The same seed and the same prompt given to the same version of the model will output the same image every time.
-1The size of the generated image.
512 <= value <= 2048The prompt to generate an image from.
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
2.50 <= value <= 20If 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.
trueIf enabled, the output will be encoded into a BASE64 string instead of a URL.
falseResponse Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "bytedance/seedream-v3", "prompt": "Vaporwave-inspired magazine cover, neon pink-blue gradient background, title: \'DIGITAL LOVE\', retro font, grid and glitch effects" }'{
"id": "string",
"logs": "string",
"urls": {
"cancel": "http://example.com",
"result": "http://example.com"
},
"input": {
"model": "bytedance/seedream-v3",
"seed": -1,
"size": "1024*1024",
"prompt": "Vaporwave-inspired magazine cover, neon pink-blue gradient background, title: 'DIGITAL LOVE', retro font, grid and glitch effects",
"guidance_scale": 2.5,
"enable_sync_mode": true,
"enable_base64_output": false
},
"model": "string",
"output": [
"http://example.com"
],
"status": "queued",
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}