More modelsBytedanceSeedream v3

Generate image with bytedance/seedream-v3

Generates an image using the bytedance/seedream-v3 model.

POST
/api/v1/model/generateImage
AuthorizationBearer <token>

API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.

In: header

modelstring

model name

seed?Seed

The same seed and the same prompt given to the same version of the model will output the same image every time.

Default-1
size?Image Size

The size of the generated image.

Range512 <= value <= 2048
promptPrompt

The prompt to generate an image from.

guidance_scale?Guidance scale (CFG)

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.

Default2.5
Range0 <= value <= 20
enable_sync_mode?Enable sync mode

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.

Defaulttrue
enable_base64_output?Enable Output base64

If enabled, the output will be encoded into a BASE64 string instead of a URL.

Defaultfalse

Response 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
  ]
}