Skip to main content
POST
/
seedream-3.0-t2i
/
async
curl --request POST \
  --url https://modellixapi.jpushoa.com/api/v1/text-to-image/bytedance/seedream-3.0-t2i/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "A serene landscape with mountains and a lake at sunset"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-abc123",
    "model_id": "seedream-3.0-t2i"
  }
}

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 cute cat playing in a garden on a sunny day"

size
string
default:1024x1024

Image size in format 'widthxheight' (e.g., '1024x1024'). Range: 512x512 to 2048x2048. Total pixels: 262,144 to 4,194,304

Example:

"1024x1024"

seed
integer
default:-1

Random seed for reproducibility. -1 for random

Required range: -1 <= x <= 2147483647
Example:

42

guidance_scale
number
default:2.5

Prompt adherence level, controls how closely the generation matches the prompt

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

2.5

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required