POST
/
openapi
/
v2
/
aigc
/
image
/
seedream-4.5
/
create
Bytedance Seedream 4.5
curl --request POST \
  --url https://castar.world/openapi/v2/aigc/image/seedream-4.5/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "model": "seedream-4.5",
  "prompt": "<string>",
  "aspectRatio": "1:1",
  "resolution": "High",
  "images": [
    "<string>"
  ],
  "outputCount": 5
}
'
{
  "id": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
model
enum<string>
required
Available options:
seedream-4.5
prompt
string
required
Minimum string length: 1
aspectRatio
enum<string>
required
Available options:
1:1,
3:2,
2:3,
3:4,
4:3,
9:16,
16:9,
21:9
resolution
enum<string>
default:High
Available options:
High,
Ultra
images
string[]
Maximum array length: 10
outputCount
number
Required range: 1 <= x <= 9

Response

200 - application/json

Default Response

id
string
required