Skip to main content
POST
/
seedream-5.0-lite
/
async
curl --request POST \ --url https://api.modellix.ai/api/v1/bytedance/seedream-5.0-lite/async \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "prompt": "A cinematic sunset over a futuristic city skyline" } '
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-seedream50lite001",
    "model_id": "bytedance/seedream-5.0-lite",
    "get_result": {
      "method": "GET",
      "url": "https://api.modellix.ai/api/v1/tasks/task-seedream50lite001"
    }
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
prompt
string
required

Image description text, supports Chinese and English

Required string length: 1 - 600
Example:

"A futuristic city at sunset, ultra detailed"

size
string
default:2048x2048

Image size in format 'widthxheight'. Seedream 5.0 Lite supports custom 2K/3K resolutions.

Example:

"3072x3072"

sequential_image_generation
enum<string>
default:disabled

Batch generation mode. 'auto': model-controlled batch generation, 'disabled': generate single image only.

Available options:
auto,
disabled
Example:

"auto"

sequential_image_generation_max_images
integer
default:15

Maximum number of images for batch generation. This value is an upper limit, actual generated count may be less.

Required range: 1 <= x <= 15
Example:

3

optimize_prompt_mode
enum<string>
default:standard

Prompt optimization mode. Only 'standard' mode is supported.

Available options:
standard
Example:

"standard"

output_format
enum<string>
default:jpeg

Output image format. Supported values: 'jpeg' and 'png'.

Available options:
jpeg,
png
Example:

"png"

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required