bytedance/seedream-5.0-pro/edit6 积分起 /张· 编辑图片

Seedream 5.0 Pro 是字节跳动的高细节图像模型。提示词最长可写 5000 字符,皮肤、布料、玻璃和水的材质细节丰富,一次改图最多融合十张参考照片。它还能把成品图拆成多个透明图层,方便重新排布。

在 POST /jobs/createTask 里把模型名写成 bytedance/seedream-5.0-pro/edit 即可调用,6 积分/张起(US$0.06)。新账户送 30 积分,可以先在 Playground 里免费试。

  • 生成图片
  • 编辑图片
  • 图层拆分
  • 最高 2K
  • 最多 10 张参考图
  • 15 种画幅

这份指南暂时只有英文。 →

请求参数

参数必填说明
aspect_ratio否画面形状:横版、方形或竖版。 auto · 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3 · 4:5 · 5:4 · 21:9 · 9:21 · 2:1 · 1:2 · 3:1 · 1:3 · 默认值: auto
background否保留、去掉或替换背景。 opaque · transparent · 默认值: opaque
enable_thinking否Run a thinking pass that refines the prompt before generating. Off is faster. 默认值: true
image_urls是要编辑或合成的照片。在提示词里说明每张的作用。
output_format否结果的文件格式。 jpeg · png · 默认值: jpeg
prompt是Describe the image to produce from the source: subject, composition, style, and lighting.
resolution否输出尺寸。越大越清晰,价格也越高。 1k · 2k · 默认值: 2k

价格

价格以积分计,和网站上用的是同一种积分(1 积分 = $0.01)。任务受理时先冻结积分,完成后按实际费用结算;失败的任务会退还。

选项积分 /张≈ 美元
resolution 1K5.4US$0.054
resolution 2K10.8US$0.11

每个任务按整数积分向上取整,所以最低档跑一次是 6 积分/张(US$0.06)。

想在运行前知道确切金额,把同样的请求体发到 POST /jobs/quote 即可。

API 快速上手

三步调用 Seedream 5.0 Pro API

  1. 创建 API 密钥. 登录 PopNow,在 API 控制台创建密钥。密钥以 sk-popnow- 开头,和网站共用同一份积分。
  2. 发送请求. 向 POST /jobs/createTask 发请求,model 填 bytedance/seedream-5.0-pro/edit,input 按参数表填写。响应会立刻返回任务 ID。
  3. 取回结果. 用任务 ID 轮询 GET /jobs/recordInfo,或者传 callBackUrl,结果会推送到这个地址。任务成功后下载输出链接。
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "bytedance/seedream-5.0-pro/edit",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "image_urls": [
      "https://media.popnow.ai/influencer/examples/marco.webp"
    ],
    "aspect_ratio": "auto",
    "resolution": "2k",
    "output_format": "jpeg",
    "background": "opaque"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

请把提示词和链接换成你自己的。API 页签里有响应、轮询和回调的参考。

Seedream 5.0 Pro API 常见问题

Seedream 5.0 Pro API 怎么收费?

Seedream 5.0 Pro:最便宜的任务是编辑图片,6 积分(US$0.06)/张起。各选项价格:1K 5.4 积分/张、2K 10.8 积分/张。积分和网站通用(1 积分 = $0.01),新账号赠送 30 积分,失败的任务会退还。

Seedream 5.0 Pro 在 API 里的调用名是什么?

在 POST /jobs/createTask 的 model 字段里填 生成图片用 bytedance/seedream-5.0-pro/text-to-image;编辑图片用 bytedance/seedream-5.0-pro/edit;图层拆分用 bytedance/seedream-5.0-pro/layer-decomposition。

Seedream 5.0 Pro API 有哪些限制?

分辨率:1K · 2K;画面比例:auto · 1:1 · 4:3 · 3:4 · 16:9 · 9:16 +10;参考图:10;提示词长度(字符):5,000。超出这些限制的请求会在扣费之前被拒绝。

不写代码能试 Seedream 5.0 Pro 吗?

可以。Playground 用你的 PopNow 积分运行 Seedream 5.0 Pro,不需要 API 密钥,每次运行都会给出对应的代码。

全部 Seedream 模型

Seedream 5.0 Lite 使用固定的 2K 比例,更适合保持系列统一,Seedream 5.0 Flash 则是更快更便宜的版本。要最终、最细致的一张,选 Pro。

关于 Seedream 5.0 Pro 的更多内容