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 图像编辑
Seedream 5.5 图像编辑 API 根据提示词编辑或组合 1–10 张参考图,生成一张 1K、1.5K 或 2K 图片,可输出透明背景 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"
}- 提交后会返回
task_id。如果提供了callback_url,当任务状态变为finished或failed时,系统会向callback_url发送 POST 请求。 - 无论是否提供
callback_url,都可以通过统一的查询任务状态接口获取结果。
1K、1.5K 或 2K 图片。可以在保留人物、产品和构图的同时更改光线、季节或风格,也可以把一张图中的主体放进另一张图。
Seedream 5.5 是字节跳动的图像模型。Vidgo 提供三个模型 ID:文生图、图像编辑和图层拆分。
模型
- bytedance/seedream-v5.5/edit — Seedream 5.5 图像编辑,1–10 张参考图,输出一张图片。
功能
- 编辑一张图片,或组合最多 10 张参考图。
size: auto保持参考图的宽高比,也可选择八种固定宽高比之一。- 三档分辨率:
1K、1.5K、2K。 - 输出 PNG 或 JPEG,可控制透明或不透明背景。
必填参数
prompt(string):编辑指令,去除首尾空白后 5–5,000 个字符。image_urls(string[]):1–10 个公开的 HTTP(S) 图片 URL。
可选参数
size(string):auto、1:1、4:3、3:4、16:9、9:16、3:2、2:3或21:9。默认auto。resolution(string):1K、1.5K或2K。默认2K。output_format(string):png或jpeg。默认png。background(string):auto、transparent或opaque。默认auto。enable_safety_checker(boolean):默认true。
输出
任务完成后,查询任务状态接口和回调内容的files 数组中返回一张图片,格式为所选的 output_format。
示例
- 为单张图片重新布光:把暴风雨黄昏的海崖人像改为金色冬日日出,看守人和海鹦位置不变,
auto,2K(结果)。 - 组合两张图片:把第二张图中的小熊猫放到第一张图的庭院石墙上,
auto,1.5K(结果)。
注意事项
background: transparent与output_format: jpeg同时使用返回 400;透明输出请使用png。model和callback_url放在请求根级,与input并列。input接收上文列出的字段,其他字段返回 400。- 积分取决于
resolution,image_urls中每张参考图另有加价。任务失败全额退还。当前费率见定价页。
请求体
application/json