模型指南

Seedream 5.0 API:Pro、Lite 和 Flash 对比,附代码

Seedream 5.0 分为三个档位,而名称并没有说明哪一档能生成最大的图片。本指南梳理了目录中每个 Seedream 模型的能力、每张图的价格和调用方式,包括多参考图编辑。

同一个 API 上的 Seedream 模型

Seedream 是 ByteDance 的图像模型系列。目录中的每个版本都能根据提示词生成图片,也能编辑你发送的图片,而且在 Revana 上都使用同样的请求。5.0 这一代分为三个档位,较早的 4.5 和 4.0 仍然保留,供已经在它们上调好提示词的团队继续使用:

Seedream 模型对比
模型模型 id尺寸参考图起价线路
Seedream 5.0 Proseedream-5.0-pro1K, 1.5K, 2K最多 10 张$0.04 / 张三条线路
Seedream 5.0 Liteseedream-5.0-lite2K, 3K, 4K最多 6 张$0.03 / 张三条线路
Seedream 5.0 Flashseedream-5.0-flash1K, 1.5K, 2K最多 10 张$0.02 / 张两条线路
Seedream 4.5seedream-4.52K, 4K一张图片$0.04 / 张两条线路
Seedream 4.0seedream-4.01K, 2K, 4K一张图片$0.03 / 张两条线路

这些名称容易让人误解。Seedream 5.0 里的“Lite”并不是指小尺寸图片:Lite 是最高支持 4K 的档位,而 Pro 最高只到 2K。Pro 和 Flash 接受更多参考图(10 张,Lite 为 6 张),这对需要把产品、模特和场景合成在一起的编辑很重要。

该选哪个 Seedream

  • Seedream 5.0 Pro:想要 5.0 在最高 2K 下的最佳效果,以及多参考图编辑时选它。各尺寸价格一致,所以直接选 2K 即可。
  • Seedream 5.0 Lite:需要 5.0 这一代输出 3K 或 4K 时选它,适用于印刷、大屏或需要大幅裁剪的场景。
  • Seedream 5.0 Flash:适合大批量使用,例如草稿、变体和商品目录图片,每张 $0.02。
  • Seedream 4.5:如果你的提示词已经在它上面调好,就继续用它。它以清晰的 2K 和 4K 输出以及出色的文字排版著称。

我们不公布质量评分。请用同样的几条提示词在 Pro、Lite 和 Flash 上各跑一遍,看看结果;按这样的价格,测试只需几美分。

Seedream 价格(2026年10月)

每个 Seedream 模型都按每张图计费一次。表中列出了各尺寸的价格,以及 100 张和 1,000 张图片的费用。

Seedream 每张图及每批图片的价格
模型尺寸每张图片100 张图片1,000 张图片
Seedream 5.0 Pro1K 至 2K$0.04$4.00$40.00
Seedream 5.0 Lite2K$0.03$3.00$30.00
Seedream 5.0 Lite3K$0.03$3.00$30.00
Seedream 5.0 Lite4K$0.04$4.00$40.00
Seedream 5.0 Flash1K 至 2K$0.02$2.00$20.00
Seedream 4.52K 或 4K$0.04$4.00$40.00
Seedream 4.01K 至 4K$0.03$3.00$30.00

路由器会把每个任务发送到能运行它的成本最低的线路,该线路失败时就回退到下一条。你只会在图片交付时按标价扣费一次。Seedream 5.0 Pro 和 Lite 各有三条线路,其中一条繁忙时会更有帮助。关于 Seedream 与其他图像模型的价格对比,请见最便宜的图像 API 指南。

生成一张 Seedream 5.0 图片

发送 POST /v1/generations,带上模型 id 和 input,然后轮询该生成任务,直到它出现 succeeded 或 failed。这张 2K 的 Seedream 5.0 Pro 图片费用为 $0.04。

cURL
export REVANA_API_KEY="sr_live_..."

# 1. Submit the job (returns 202 with the generation id)
curl https://api.revana.si/v1/generations \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedream-5.0-pro",
    "input": {
      "prompt": "An editorial photo of a ceramic teapot on a linen tablecloth, soft window light, shallow depth of field, muted sage and cream palette.",
      "resolution": "2K",
      "aspect_ratio": "3:2"
    },
    "max_cost_usd": 0.1
  }'

# 2. Poll with the id from step 1 until status is "succeeded" or "failed"
curl https://api.revana.si/v1/generations/gen_01JC2V8K5T \
  -H "Authorization: Bearer $REVANA_API_KEY"
Python
import os
import time

import requests

API = "https://api.revana.si/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['REVANA_API_KEY']}"}

resp = requests.post(f"{API}/generations", headers=HEADERS, json={
    "model": "seedream-5.0-pro",
    "input": {
        "prompt": "An editorial photo of a ceramic teapot on a linen tablecloth, soft window light, shallow depth of field, muted sage and cream palette.",
        "resolution": "2K",
        "aspect_ratio": "3:2",
    },
    "max_cost_usd": 0.1,
})
resp.raise_for_status()
job = resp.json()

while job["status"] in ("queued", "running"):
    time.sleep(3)
    job = requests.get(f"{API}/generations/{job['id']}", headers=HEADERS).json()

if job["status"] == "succeeded":
    print(job["output"]["urls"], job["cost_usd"])
else:
    print("Failed:", job["error"])
Node.js
// Node 18 or later. Save as generate.mjs and run: node generate.mjs
const API = "https://api.revana.si/v1";
const headers = {
  Authorization: `Bearer ${process.env.REVANA_API_KEY}`,
  "Content-Type": "application/json",
};

const res = await fetch(`${API}/generations`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    model: "seedream-5.0-pro",
    input: {
      prompt: "An editorial photo of a ceramic teapot on a linen tablecloth, soft window light, shallow depth of field, muted sage and cream palette.",
      resolution: "2K",
      aspect_ratio: "3:2",
    },
    max_cost_usd: 0.1,
  }),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
let job = await res.json();

while (job.status === "queued" || job.status === "running") {
  await new Promise((r) => setTimeout(r, 3000));
  job = await (await fetch(`${API}/generations/${job.id}`, { headers })).json();
}

if (job.status === "succeeded") console.log(job.output.urls, job.cost_usd);
else console.error("Failed:", job.error);
响应
{
  "id": "gen_01JC2V8K5T",
  "model": "seedream-5.0-pro",
  "status": "succeeded",
  "output": {
    "urls": [
      "https://cdn.revana.si/g/gen_01JC2V8K5T/0.png"
    ]
  },
  "cost_usd": 0.04,
  "attempts": 1,
  "error": null,
  "created_at": "2026-10-28T10:14:02Z",
  "completed_at": "2026-10-28T10:15:31Z"
}

用多张参考图编辑

在 image_urls 中向 Seedream 5.0 Pro 或 Flash 发送最多 10 张图片(Lite 最多 6 张),并在提示词中说明要从每张图中取什么。如果文件在本地,请先用 POST /v1/uploads 上传;它返回的链接有效期为 14 天。这张在 Seedream 5.0 Lite 上的 4K 编辑图费用为 $0.04:

请求体
{
  "model": "seedream-5.0-lite",
  "input": {
    "prompt": "Put the handbag from the first image on the marble shelf from the second image. Keep the logo and stitching exactly as they are. Warm boutique lighting.",
    "image_urls": [
      "https://example.com/handbag.png",
      "https://example.com/shelf.jpg"
    ],
    "resolution": "4K",
    "aspect_ratio": "4:5"
  },
  "max_cost_usd": 0.1
}

尺寸因模型而异:Seedream 5.0 Pro 不接受 4K,Lite 不接受 1K。模型未列出的尺寸会立即以 422 invalid_input 返回,并附上它支持的尺寸,不会扣费。

在模型页面查看所有 Seedream 版本,在文档查看请求参考,在价格页面查看额度包,或者获取 API 密钥。

常见问题

Seedream 5.0 API 多少钱?

2026年10月,Seedream 5.0 Pro 在 1K、1.5K 或 2K 下每张图 $0.04。Seedream 5.0 Lite 在 2K 和 3K 下为 $0.03,4K 下为 $0.04。Seedream 5.0 Flash 每张图 $0.02。

Seedream 5.0 Pro、Lite 和 Flash 有什么区别?

Pro 最高支持 2K,最多接受 10 张参考图。Lite 最高支持 4K,最多接受 6 张。Flash 最高支持 2K,最多接受 10 张,是三者中价格最低的。

Seedream 5.0 支持 4K 吗?

Seedream 5.0 Lite 支持,提供 2K、3K 和 4K。Seedream 5.0 Pro 和 Flash 最高到 2K。Seedream 4.5 和 4.0 也提供 4K。

Seedream 能编辑图片吗?

能。目录中的每个 Seedream 模型都能编辑图片:把图片放进 image_urls(只有一张时用 image_url),再配上描述目标效果的提示词即可。

Seedream 4.5 还能用吗?

能,模型 id 为 seedream-4.5,每张图 $0.04,提供 2K 或 4K。Seedream 4.0 也可以使用。

Seedream 图片生成失败会扣费吗?

不会。价格在提交时预留,任务失败后即释放。你只为成功交付的图片付费。

一个密钥,试用 Seedream 5.0

一个 API 密钥即可使用所有 Seedream 版本以及所有其他图像和视频模型。预付额度 $10 起,只对成功交付的图片收费。