curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "bytedance/seedream-v5.5/text-to-image",
"input": {
"prompt": "A candid documentary dusk photograph on a windswept Icelandic basalt sea cliff. A weathered elderly lighthouse keeper in a salt-stained yellow oilskin coat leans against a rusted iron railing holding a warm glowing brass storm lantern, while a wild Atlantic puffin perches calmly on the wet stone parapet two feet away. Fine ocean spray rises from dark teal swells below under low slate-blue storm clouds. Crisp wet wool, raindrop sheen on metal, detailed plumage, natural film grain, cinematic depth of field. No logos, no readable text, no advertising, no watermarks.",
"size": "16:9",
"resolution": "2K",
"output_format": "png",
"background": "auto"
}
}
'
{
"code": 200,
"data": {
"task_id": "YZ61UK2CJU899EU3",
"status": "not_started",
"created_time": "2026-11-25T12:10:23"
}
}{
"detail": "prompt must be between 5 and 5000 characters"
}{
"detail": "prompt must be between 5 and 5000 characters"
}Seedream
Seedream 5.5 Text to Image
The Seedream 5.5 Text to Image API generates one 1K, 1.5K or 2K image from a prompt in eight aspect ratios, with optional transparent PNG output.
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "bytedance/seedream-v5.5/text-to-image",
"input": {
"prompt": "A candid documentary dusk photograph on a windswept Icelandic basalt sea cliff. A weathered elderly lighthouse keeper in a salt-stained yellow oilskin coat leans against a rusted iron railing holding a warm glowing brass storm lantern, while a wild Atlantic puffin perches calmly on the wet stone parapet two feet away. Fine ocean spray rises from dark teal swells below under low slate-blue storm clouds. Crisp wet wool, raindrop sheen on metal, detailed plumage, natural film grain, cinematic depth of field. No logos, no readable text, no advertising, no watermarks.",
"size": "16:9",
"resolution": "2K",
"output_format": "png",
"background": "auto"
}
}
'
{
"code": 200,
"data": {
"task_id": "YZ61UK2CJU899EU3",
"status": "not_started",
"created_time": "2026-11-25T12:10:23"
}
}{
"detail": "prompt must be between 5 and 5000 characters"
}{
"detail": "prompt must be between 5 and 5000 characters"
}- After submission, a
task_idwill be returned. If you provided acallback_url, when the task status becomesfinishedorfailed, a POST request will be sent to thecallback_url. - Regardless of whether
callback_urlis provided, you can retrieve the result through the unified Query Task Status endpoint.
1K, 1.5K or 2K resolution, and set background: transparent for a cut-out PNG ready for layouts, stickers and product mock-ups.
Seedream 5.5 is ByteDance’s image model. Vidgo exposes three model IDs: Text to Image, Image Edit and Layerize.
Models
- bytedance/seedream-v5.5/text-to-image — Text-to-image with Seedream 5.5, one image at 1K, 1.5K or 2K.
Features
- Eight aspect ratios:
1:1,4:3,3:4,16:9,9:16,3:2,2:3,21:9. - Three resolutions:
1K,1.5K,2K. - PNG or JPEG output, with transparent or opaque background control.
- Optional content safety check.
Required parameters
prompt(string): Image description, 5–5,000 characters after trimming.
Optional parameters
size(string):1:1,4:3,3:4,16:9,9:16,3:2,2:3or21:9. Default1:1.resolution(string):1K,1.5Kor2K. Default2K.output_format(string):pngorjpeg. Defaultpng.background(string):auto,transparentoropaque. Defaultauto.enable_safety_checker(boolean): Defaulttrue.
Output
The finished task returns one image in thefiles array of Query Task Status and the callback payload, in the chosen output_format.
Examples
- Documentary photo: a lighthouse keeper and an Atlantic puffin on an Icelandic sea cliff at dusk,
16:9,2K(result). - Transparent PNG: a gouache red panda on a mossy branch with a transparent background,
1:1,1.5K(result). - Scene with lettering: a Kyoto courtyard violinist beside a cedar plaque reading “雨後茶寮” and “AFTER RAIN”,
3:4,2K(result).
Notes
background: transparentwithoutput_format: jpegreturns 400; usepngfor transparent output.size: autois available on Seedream 5.5 Image Edit, where it follows the reference images.- Put
modelandcallback_urlat the request root, next toinput.inputaccepts the fields listed above; other fields return 400. - Credits depend on
resolution(1Kand1.5Kshare one rate;2Khas a higher rate). A failed task is refunded in full. See the pricing page for current rates.
Body
application/json