跳转到主要内容
SeedEdit 3.0 是一款图像编辑模型(图生图),支持通过文本指令编辑图像。SeedEdit 3.0 基于文生图模型 Seedream 3.0 训练,叠加多样化的数据融合方法与特定奖励模型,其图像主体、背景和细节保持能力进一步提升,尤其在人像编辑、背景更改、视角与光线转换等场景表现突出。

模型参数

  • 模型ID:doubao-seededit-3.0-i2i
  • 模型价格:你可以在模型广场查看最新价格信息
  • 调用入口:https://geekai.co/api/v1/images/generations
  • 模型参数:参考画图 API 手册
  • API认证:获取 API KEY
不支持画图 API 中的以下参数:
  • negative_prompt
  • aspect_ratio
  • quality
  • style_preset
  • output_format
  • mask
  • background
附:Seededit 3.0 官方 API 文档
Seededit 3.0 的 size 字段仅支持设置为 adaptive(默认值),表示将输入图片尺寸与下表中的尺寸进行对比,选择最接近的,作为输出图片的尺寸。具体而言,会按顺序从可选比例中,选取与原图宽高比差值最小的第一个,作为生成图片的比例:
宽/高
0.335121536
0.355441536
0.385761536
0.46081536
0.426401536
0.476401376
0.516721312
0.557041280
0.567361312
0.67681280
0.637681216
0.668001216
0.678321248
0.78321184
0.728321152
0.758641152
0.788961152
0.828961088
0.859281088
0.889601088
0.919921088
0.9410241088
0.9710241056
110241024
1.061056992
1.11088992
1.171120960
1.241152928
1.291152896
1.331152864
1.421184832
1.461216832
1.51248832
1.561248800
1.621248768
1.671280768
1.741280736
1.821280704
1.781312736
1.861312704
1.951312672
21344672
2.051376672
2.11408672
2.21408640
2.251440640
2.31472640
2.351504640
2.41536640
2.531536608
2.671536576
2.821536544
31536512
你可以通过 strength 字段替代官方的 guidance_scale 来控制模型输出结果与 prompt 的一致程度,取值范围是 [1, 10],默认值是 5.5,数值越大,模型自由度越小,与用户输入的提示词相关性越强。

图像编辑

Doubao Seededit 3.0 是一个图生图模型,仅支持通过单图+文字来生成对应图像:
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model":"doubao-seededit-3.0-i2i",
    "prompt": "改成爱心形状的泡泡",
    "image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seededit_i2i.jpeg",
    "watermark": true
}'
响应结果是一个 JSON 对象,包含生成图片的 URL:
{
    "model": "doubao-seededit-3.0-i2i",
    "created": 1760443095,
    "task_id": "7249340c-4677-40dc-9c57-f7b34671056d",
    "task_status": "succeed",
    "data": [
        {
            "url": "https://static.geekai.co/image/2025/10/14/24158849990ff21e4e875ad764bc8028.jpeg"
        }
    ],
    "usage": {
        "billed_units": 1,
        "output_tokens": 3772,
        "total_tokens": 3772
    }
}
I