Aspect ratio | Width (pixels) | Height (pixels) | Frame rate (frames/second) | Video duration (seconds) | Usage (token) |
---|---|---|---|---|---|
1:1 | 720 | 720 | 24 | 5 | 60,750 |
4:3 | 960 | 720 | 24 | 5 | 81,000 |
16:9 | 1280 | 720 | 24 | 5 | 108,000 |
1:1 | 720 | 720 | 24 | 10 | 121,500 |
4:3 | 960 | 720 | 24 | 10 | 162,000 |
16:9 | 1280 | 720 | 24 | 10 | 216,000 |
{
"content": [
{
"type": "text",
"text": "A kitten runs toward the camera --ratio 1:1 --fps 24 --dur 5"
},
{
"type": "image_url",
"image_url": {
"url": "https://portal.volccdn.com/obj/volcfe/cloud-universal-doc/upload_fb43d6e713440886e485dea203686239.png"
}
}
]
}
curl --location --request POST 'https://api.302.ai/doubao/doubao-seaweed' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"content": [
{
"type": "text",
"text": "A kitten runs toward the camera --ratio 1:1 --fps 24 --dur 5"
},
{
"type": "image_url",
"image_url": {
"url": "https://portal.volccdn.com/obj/volcfe/cloud-universal-doc/upload_fb43d6e713440886e485dea203686239.png"
}
}
]
}'
{"id":"cgt-20250320191803-nssh9"}