Seedream 5 Pro
模型 ID:dola-seedream-5-0-pro-ep。使用 异步图片接口。
参数
章节:参数| 字段 | 支持值 |
|---|---|
images | 0–10 张参考图;0 张文生图,非空为编辑 |
resolution | 1k(默认)、2k |
aspect_ratio | 见下方;文生图默认 1:1,编辑时可省略 |
output_format | jpeg(默认)、png |
常用比例:1:1、2:3、3:2、3:4、4:3、9:16、16:9、21:9。以上比例均可选择 1k 或 2k。
默认关闭生成水印,文生图和图片编辑均适用,客户端无需额外传参。这不会去除参考图中已有的水印。
不提供自定义 size、width / height、4K、quality、moderation 或多张 n 选项。不要把这些字段当作已支持参数传入。
文生图
章节:文生图{ "model": "dola-seedream-5-0-pro-ep", "prompt": "A quiet futuristic city after rain, cinematic lighting, no text.", "aspect_ratio": "16:9", "resolution": "2k", "output_format": "png"}图片编辑
章节:图片编辑{ "model": "dola-seedream-5-0-pro-ep", "prompt": "Keep the composition and character, change the background to a snowy train station.", "images": [ "https://example.com/reference.png" ], "resolution": "1k", "output_format": "png"}images 的顺序用于多图指代。编辑时省略 aspect_ratio 为自动,由模型决定输出比例,不保证与第一张参考图一致;需要固定比例时使用支持的比例值。界面的“自动”会省略该字段,API 不要传字符串 auto。
计费特点
章节:计费特点按请求计费,但分辨率和多参考图会影响单次金额:
请求倍率 = 分辨率倍率 + max(参考图数量 - 1, 0) / 15分辨率倍率:1K = 1,2K = 2第一张参考图不增加多图附加费,第二张起每张增加基础价的 1/15。例如 2K、3 张参考图,请求倍率为 2 + 2/15,不是把所有附加费再乘一次 2。
基础单价和当前优惠见模型广场。最终金额读取 usage.actual_cost_usd。
