curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"model": "bytedance/seedream-v5.5/edit",
"input": {
"prompt": "Transform the stormy blue-hour dusk into a crisp golden winter sunrise with pale pink clouds and fresh snow lightly dusting the basalt sea cliff, iron railing, and the keeper's shoulders. Keep the elderly lighthouse keeper's exact face, yellow coat, brass lantern, and the perched Atlantic puffin in the exact same positions and framing. Natural morning rim light, photorealistic. No text, no logos, no watermarks.",
"image_urls": [
"https://cdn.vidgo.ai/apis/models/bytedance/seedream-v5.5/text-to-image/v1/01/output.png"
],
"size": "auto",
"resolution": "2K",
"output_format": "png",
"background": "auto"
}
}
EOF{
"code": 200,
"data": {
"task_id": "A5R49VY6KY53FC7G",
"status": "not_started",
"created_time": "2026-11-25T12:11:28"
}
}{
"detail": "image_urls must contain 1-10 items"
}{
"detail": "image_urls must contain 1-10 items"
}Seedream
Seedream 5.5 Image Edit
The Seedream 5.5 Image Edit API edits or combines 1–10 reference images from a prompt into one 1K, 1.5K or 2K image, with optional transparent PNG.
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 @- <<EOF
{
"model": "bytedance/seedream-v5.5/edit",
"input": {
"prompt": "Transform the stormy blue-hour dusk into a crisp golden winter sunrise with pale pink clouds and fresh snow lightly dusting the basalt sea cliff, iron railing, and the keeper's shoulders. Keep the elderly lighthouse keeper's exact face, yellow coat, brass lantern, and the perched Atlantic puffin in the exact same positions and framing. Natural morning rim light, photorealistic. No text, no logos, no watermarks.",
"image_urls": [
"https://cdn.vidgo.ai/apis/models/bytedance/seedream-v5.5/text-to-image/v1/01/output.png"
],
"size": "auto",
"resolution": "2K",
"output_format": "png",
"background": "auto"
}
}
EOF{
"code": 200,
"data": {
"task_id": "A5R49VY6KY53FC7G",
"status": "not_started",
"created_time": "2026-11-25T12:11:28"
}
}{
"detail": "image_urls must contain 1-10 items"
}{
"detail": "image_urls must contain 1-10 items"
}- 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. Keep faces, products and layouts in place while changing light, season or style, or place a subject from one image into another.
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/edit — Image editing with Seedream 5.5, 1–10 reference images, one output image.
Features
- Edit one image or combine up to 10 reference images.
size: autokeeps the aspect ratio of the reference images, or pick one of eight fixed ratios.- Three resolutions:
1K,1.5K,2K. - PNG or JPEG output, with transparent or opaque background control.
Required parameters
prompt(string): Editing instructions, 5–5,000 characters after trimming.image_urls(string[]): 1–10 public HTTP(S) image URLs.
Optional parameters
size(string):auto,1:1,4:3,3:4,16:9,9:16,3:2,2:3or21:9. Defaultauto.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
- Relight one image: turn a stormy dusk sea-cliff portrait into a golden winter sunrise while the keeper and puffin stay in place,
auto,2K(result). - Combine two images: place the red panda from the second image on the courtyard wall of the first image,
auto,1.5K(result).
Notes
background: transparentwithoutput_format: jpegreturns 400; usepngfor transparent output.- Put
modelandcallback_urlat the request root, next toinput.inputaccepts the fields listed above; other fields return 400. - Credits depend on
resolution, plus a charge for each reference image inimage_urls. A failed task is refunded in full. See the pricing page for current rates.
Body
application/json