Seedream 5 API
字节跳动 Seedream 5——一个 API 提供两个档位。Pro 是字节跳动具备设计理解力的旗舰:可将数据、概念和密集文字转换为专业版式,支持交互式精确编辑(点选和套索选择、草图渲染、颜色和材质替换、图层分离、多图融合),渲染真实的光线、材质和皮肤质感,并能处理 10 多种语言的高质量文字。Lite 是成本优化档位,具备增强的排版能力、最高 4K 分辨率,以及与 Seedream 4.5 相同的变体模式(base、edit、sequential、edit-sequential)。
Pro 档位:文生图和 Edit(单图或最多 10 张参考图像),具备设计级理解力——信息密集的版式、像素级交互编辑、图层分离、多图融合,以及 10 多种语言的文字渲染,输出 1K/1.5K/2K,可选画幅比例。Lite 档位:最高 4K 的文生图、Edit(保留参考图像的人脸/光线/色调)、Sequential(一致的多图系列)和 Edit-Sequential(锁定身份的多图编辑)。
/filters:quality(82)/examples/323fc3db241d9b56f46c445f2ab334c0/1783684221888696489_duh4aXLA.webp)
概览
关于 Seedream 5 API
Seedream 5 能做什么、它在 ByteDance 模型阵容中的定位,以及团队选择它的原因。
Seedream 5 是 ByteDance 推出的图像生成与编辑模型,可通过 WaveSpeedAI REST API 使用。字节跳动 Seedream 5——一个 API 提供两个档位。Pro 是字节跳动具备设计理解力的旗舰:可将数据、概念和密集文字转换为专业版式,支持交互式精确编辑(点选和套索选择、草图渲染、颜色和材质替换、图层分离、多图融合),渲染真实的光线、材质和皮肤质感,并能处理 10 多种语言的高质量文字。Lite 是成本优化档位,具备增强的排版能力、最高 4K 分辨率,以及与 Seedream 4.5 相同的变体模式(base、edit、sequential、edit-sequential)。
Pro 档位:文生图和 Edit(单图或最多 10 张参考图像),具备设计级理解力——信息密集的版式、像素级交互编辑、图层分离、多图融合,以及 10 多种语言的文字渲染,输出 1K/1.5K/2K,可选画幅比例。Lite 档位:最高 4K 的文生图、Edit(保留参考图像的人脸/光线/色调)、Sequential(一致的多图系列)和 Edit-Sequential(锁定身份的多图编辑)。
WaveSpeedAI 上的 Seedream 5 系列提供 10 个 REST 端点,涵盖 Text-To-Image, Image-To-Image 个工作流。每个变体都有各自的定价、参数选项和示例输出——请选择与你的输入模态和生产约束相匹配的那一个,或使用同一个 API 密钥调用多个变体,组合成多步骤流水线。
使用与 WaveSpeedAI 上其他 1,000 多个 AI 模型相同的 API 密钥、账单账户和速率限制来运行 Seedream 5。无需单独对接供应商,无需各家 SDK,也无需应对各家不同的速率限制——一次集成即可覆盖从文生图、文生视频到音频合成、3D 生成、放大和编辑的全部能力。
端点
全部 Seedream 5 API 端点
WaveSpeedAI 现已提供 10 个 Seedream 5 端点——请选择适合你工作流的变体。
/filters:quality(82)/media/images/20260408113331_gg16qaqd.webp)
Seedream v5.0 Lite Sequential
Seedream 5.0 Lite Sequential generates multi-image sets with consistent characters and objects, unifying palette, lighting, and style across all outputs. Supports up to 4K results for campaigns, storyboards, and product lines. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/20260408113307_p1bwh1oa.webp)
Seedream v5.0 Lite
Seedream 5.0 Lite by is a state-of-the-art text-to-image model with enhanced typography, clear text rendering for posters and brand visuals, superior prompt adherence, and up to 4K resolution. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/20260408113316_7fn8j4n3.webp)
Seedream v5.0 Lite Edit Sequential
Seedream 5.0 Lite Edit Sequential performs multi-image editing while locking character and object identity across shots. It detects main subjects, preserves continuity, and applies controlled edits with up to 4K output. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/20260408113324_cp7bzb2i.webp)
Seedream v5.0 Lite Edit
Seedream 5.0 Lite Edit by is a state-of-the-art image editing model preserving facial features, lighting, and color tones from reference images. Features high-fidelity editing with professional quality, superior prompt adherence, and up to 4K resolution. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1790232710095528029_mLU4eGQ0.webp)
Seedream v5.0 Flash Layer Decomposition
Seedream V5.0 Flash Layer Decomposition separates a single image into a base image and transparent layers faster and at lower cost than Seedream V5.0 Pro, enabling flexible compositing, image editing, asset extraction, and layered design workflows at one price for 1K / 1.5K / 2K. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1786523429877069688_r6rFUkDV.webp)
Seedream v5.0 Pro Layer Decomposition
Seedream V5.0 Pro Layer Decomposition separates a single image into a base image and transparent layers, enabling flexible compositing, image editing, asset extraction, and layered design workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1790223428359196164_57CLU4eO.webp)
Seedream v5.0 Flash
Seedream V5.0 Flash Text to Image by ByteDance generates images from text prompts faster and at lower cost than Seedream V5.0 Pro, with aspect ratio selection, multilingual text rendering, and 1K / 1.5K / 2K output at one price. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1790223807507857224_g1zJS2cl.webp)
Seedream v5.0 Flash Edit
Seedream V5.0 Flash Edit by ByteDance edits and generates images from single-image or multi-reference inputs faster and at lower cost than Seedream V5.0 Pro Edit, supporting up to 10 reference images, aspect ratio selection, and 1K / 1.5K / 2K output at one price. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1783519376754609746_GuDMV4dU.webp)
Seedream v5.0 Pro
Seedream V5.0 Pro Text to Image by ByteDance generates high-quality images from text prompts, with aspect ratio selection, strong prompt following, and 1K / 2K output tiers for flexible image creation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1783519346875258167_uSgmwFOX.webp)
Seedream v5.0 Pro Edit
Seedream V5.0 Pro Edit by ByteDance edits and generates images from single-image or multi-reference inputs, supporting up to 10 reference images, aspect ratio selection, and 1K / 2K output tiers. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
示例
看看 Seedream 5 的实际效果
由 Seedream 5 API 生成的真实输出。悬停在任意视频上即可预览,点击可打开全尺寸查看器。
使用方法
如何使用 Seedream 5 API
从注册到完成一次生成,只需四步。完整的 Python、Node.js 和 cURL 示例见下方的 API 部分。
- 01
获取 API 密钥
注册 WaveSpeedAI 账号,并从控制台复制你的 API 密钥。新账号附带免费体验额度——足够在开始计费前把 Playground 运行几十次。
- 02
提交预测
把你的输入以 JSON 形式 POST 到 https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-pro。端点会立即返回预测 ID——生成是异步的,因此推理期间你无需保持连接。
- 03
轮询完成状态
GET https://api.wavespeed.ai/api/v3/predictions/{request_id}/result。状态为 completed 时返回输出;状态为 failed、cancelled、timeout 或 deleted 时以错误终止;其他任何状态都继续轮询。
- 04
读取输出 URL
状态变为 "completed" 后,从 data.outputs[0] 读取 URL。该 URL 指向 WaveSpeedAI CDN 上你生成的媒体——具体是图片、视频、音频还是 3D 文件,取决于你调用的 Seedream 5 变体。
应用场景
用 Seedream 5 可以构建什么
开发者和创作者使用 Seedream 5 API 的常见工作流。
信息密集的设计生成
Seedream 5 Pro 能把数据、概念和密集文字准确转换为专业版式——信息图、多层级文案的海报,以及大多数图像模型会生成乱码文字的高密度内容制作。
像素级交互编辑
bytedance/seedream-v5.0-pro/edit 支持点选和套索选择、草图渲染、颜色和材质替换,以及最多 10 张参考图像的多图融合——在一次精确的编辑中组合产品、角色和风格参考。
图层分离,便于后期制作
Pro 可将图像分离为独立图层——文字、主体、背景和环境装饰——让生成的创意作为可编辑的元素导入设计工具,而不是扁平的位图。
多语言文字渲染
Pro 可渲染 10 多种语言的高质量文字——包括阿拉伯语从右到左的连笔字体和带重音符号的欧洲文字——让一条提示词流水线即可生成本地化的营销创意。
成本优化的 4K 图像生成
Seedream 5 Lite 是 WaveSpeedAI 上支持 4K 的图像模型中价格最低的之一。适合单张成本会快速累积的大批量营销、社交和编辑类流水线。
用于分镜的 Sequential 变体
bytedance/seedream-v5.0-lite/sequential 生成角色和物体保持一致的多图系列,edit-sequential 则在整个系列的编辑过程中锁定角色/物体身份——适用于营销活动、分镜和系列化内容。
技巧
Seedream 5 提示词技巧
让 Seedream 5 输出更好结果的实用建议——总结自生产流水线中各类图像模型都适用的做法。
- 01
按任务选择档位
Pro(bytedance/seedream-v5.0-pro)是设计之选——信息密集的版式、精确编辑、图层分离、多语言文字。Lite(bytedance/seedream-v5.0-lite)是大批量之选——更便宜,最高 4K,并且是唯一提供 Sequential 变体的档位。
- 02
Pro Edit 最多接受 10 张参考图像
bytedance/seedream-v5.0-pro/edit 接受单图或多参考输入(最多 10 个参考),可选画幅比例和 1K/2K 输出。在一次调用中叠加产品、角色和风格参考,而不是串联多次编辑——Pro 原生支持多图融合。
- 03
密集、结构化的文字交给 Pro
Pro 专为把数据、概念和密集文字转换为专业版式而生——多层级标题、优惠条款、信息图文案。字节跳动指出,更细粒度的文字渲染仍有提升空间,因此请让关键的小字保持简短,并在输出尺寸下确认可读性。
- 04
用目标语言撰写提示词
Pro 可渲染 10 多种语言的文字,包括阿拉伯语从右到左的连笔字体、日语、韩语和带重音符号的欧洲文字。对于本地化创意,请直接在提示词中写入目标语言的文案,而不是生成后再翻译。
- 05
分镜和营销活动使用 Sequential
bytedance/seedream-v5.0-lite/sequential 生成角色和物体保持一致的多图系列,并统一各输出的色调/光线/风格。适合营销活动、分镜和内容系列。
- 06
Edit-Sequential 用于锁定身份的编辑
bytedance/seedream-v5.0-lite/edit-sequential 在多图编辑时识别主要主体并保持连贯。适合以角色为核心的系列化工作和产品目录。
- 07
Lite Edit 保留参考图像的人脸/光线/色调
bytedance/seedream-v5.0-lite/edit 支持高保真编辑,同时保留参考图像中的面部特征、光线和色调。适合肖像精修和产品场景重塑。
定价
Seedream 5 API 定价
按输出计费。最终费用会随你在各变体 Playground 中设置的参数(分辨率、时长、输出数量、参考素材)而变化。
| 端点 | 类型 | 起步价 |
|---|---|---|
| bytedance/ | text-to-image | $0.035 |
| bytedance/ | text-to-image | $0.035 |
| bytedance/ | image-to-image | $0.035 |
| bytedance/ | image-to-image | $0.035 |
| bytedance/ | image-to-image | $0.459 |
| bytedance/ | image-to-image | $0.75 |
| bytedance/ | text-to-image | 立减 10%$0.027$0.0243 |
| bytedance/ | image-to-image | 立减 10%$0.027$0.0243 |
| bytedance/ | text-to-image | 立减 10%$0.045$0.0405 |
| bytedance/ | image-to-image | 立减 10%$0.045$0.0405 |
API
调用 Seedream 5 API
在 wavespeed.ai/accesskey 注册并获取 API 密钥,然后通过 REST 提交预测。Playground 可以为任意输入组合生成可直接粘贴的示例代码。
POSThttps://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-pro
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-pro" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg",
"prompt_optimization_mode": "standard"
}')
TASK=$(printf '%s' "$SUBMIT_RESPONSE" | jq 'if has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "$TASK" | jq -r '.id')
if [ -z "$PREDICTION_ID" ] || [ "$PREDICTION_ID" = "null" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/$PREDICTION_ID/result"
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body "$RESULT_URL" \
-H "Authorization: Bearer $WAVESPEED_API_KEY")
RESULT=$(printf '%s' "$RESPONSE" | jq 'if has("data") then .data else . end')
STATUS=$(printf '%s' "$RESULT" | jq -r '.status')
case "$STATUS" in
completed) printf '%s\n' "$RESULT" | jq '.outputs'; break ;;
failed|cancelled|timeout|deleted) printf '%s\n' "$RESULT" | jq . >&2; exit 1 ;;
*) sleep 2 ;;
esac
doneconst submitUrl = "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-pro";
const apiKey = process.env.WAVESPEED_API_KEY;
if (!apiKey) throw new Error('Set WAVESPEED_API_KEY');
async function requestJson(url, options = {}) {
const response = await fetch(url, options);
if (!response.ok) throw new Error(await response.text());
return response.json();
}
// 1. Submit the prediction.
const body = await requestJson(submitUrl, {
method: "POST",
headers: {
"Authorization": `Bearer ${apiKey}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg",
"prompt_optimization_mode": "standard"
}),
});
const task = body.data ?? body;
const resultUrl = `https://api.wavespeed.ai/api/v3/predictions/${task.id}/result`;
// 2. Poll until the prediction finishes.
while (true) {
const resultBody = await requestJson(resultUrl, {
headers: { "Authorization": `Bearer ${apiKey}` },
});
const result = resultBody.data ?? resultBody;
if (result.status === "completed") {
console.log(result.outputs);
break;
}
if (["failed", "cancelled", "timeout", "deleted"].includes(result.status)) throw new Error(JSON.stringify(result));
await new Promise(resolve => setTimeout(resolve, 2000));
}import json
import os
import time
from urllib.request import Request, urlopen
api_key = os.environ["WAVESPEED_API_KEY"]
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
payload = {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg",
"prompt_optimization_mode": "standard"
}
def request_json(url, data=None):
request = Request(url, data=data, headers=headers, method="POST" if data else "GET")
with urlopen(request) as response:
return json.load(response)
# 1. Submit the prediction.
body = request_json("https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-pro", json.dumps(payload).encode())
task = body.get("data", body)
result_url = f"https://api.wavespeed.ai/api/v3/predictions/{task['id']}/result"
# 2. Poll until the prediction finishes.
while True:
result_body = request_json(result_url)
result = result_body.get("data", result_body)
status = result.get("status")
if status == "completed":
print(result.get("outputs", []))
break
if status in {"failed", "cancelled", "timeout", "deleted"}:
raise RuntimeError(result)
time.sleep(2)对比
Seedream 5 与其他方案对比
在 WaveSpeedAI 上,何时应选择 Seedream 5 而不是同类模型。
Seedream 5 对比 Seedream 4.5
4.5 是成熟的档位;Seedream 5 分为 Lite(成本优化,变体模式与 4.5 相同)和 Pro,后者新增设计级理解——信息密集的版式、带图层分离的交互式精确编辑,以及多语言文字渲染。要延续性选 4.5,大批量选 5 Lite,设计工作和多参考编辑选 5 Pro。
Seedream 5 对比 Nano Banana 2
Nano Banana 2(Gemini 3.1 Flash Image,base、Fast)提供最多 5 个角色的一致性和可选的网页搜索增强。Seedream 5 的应对是 Pro 的 10 张参考图精确编辑、图层分离、10 多种语言的文字渲染,以及 Lite 更低的成本和 Sequential 变体。
Seedream 5 对比 GPT Image 2
GPT Image 2 有明确的质量档位和参考图像编辑端点。Seedream 5 Pro 的应对是最多 10 张参考图像的像素级交互编辑——点选/套索选择、材质替换、图层分离——而 Lite 价格明显更低,并提供用于多图身份锁定的 Sequential 变体。
常见问题
Seedream 5 API — 常见问题
定价、许可、集成——关于在 WaveSpeedAI 上运行 Seedream 5 的常见问题。
Seedream 5 API 是什么?
Seedream 5 是 ByteDance 的图像生成模型,在 WaveSpeedAI 上以 REST API 形式提供。字节跳动 Seedream 5——一个 API 提供两个档位。Pro 是字节跳动具备设计理解力的旗舰:可将数据、概念和密集文字转换为专业版式,支持交互式精确编辑(点选和套索选择、草图渲染、颜色和材质替换、图层分离、多图融合),渲染真实的光线、材质和皮肤质感,并能处理 10 多种语言的高质量文字。Lite 是成本优化档位,具备增强的排版能力、最高 4K 分辨率,以及与 Seedream 4.5 相同的变体模式(base、edit、sequential、edit-sequential)。你可以通过编程方式调用它,也可以在上方链接的 Playground 中试用。
如何调用 Seedream 5 API?
注册 WaveSpeedAI 账号,从 /accesskey 复制你的 API 密钥,然后把输入以 JSON 形式 POST 到 https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-pro。端点会返回预测 ID。从大约每 2 秒一次开始轮询结果端点,长耗时任务可适当拉长间隔,并在任何终止状态时停止。上方有面向生产环境的 Python / Node.js / cURL 示例。
Seedream 5 API 的费用是多少?
Seedream 5 每次调用 $0.0243 起。实际费用会随你设置的参数(分辨率、时长、输出数量、参考素材)而变化。Playground 中“生成”按钮旁的实时费用预览会显示你当前输入对应的准确价格。
有哪些 Seedream 5 变体可用?
WaveSpeedAI 托管了 10 个已上线的 Seedream 5 端点:bytedance/seedream-v5.0-lite/sequential, bytedance/seedream-v5.0-lite, bytedance/seedream-v5.0-lite/edit-sequential, bytedance/seedream-v5.0-lite/edit, bytedance/seedream-v5.0-flash/layer-decomposition, bytedance/seedream-v5.0-pro/layer-decomposition, bytedance/seedream-v5.0-flash, bytedance/seedream-v5.0-flash/edit等。每个变体都有自己的 Playground 页面和定价。
Seedream 5 的输出可以商用吗?
商用权利遵循 ByteDance 的模型许可。大多数 ByteDance 模型允许商用输出;具体许可摘要请查看各模型的 Playground 页面,平台层面的条件请参阅 WaveSpeedAI 的服务条款。
为什么要在 WaveSpeedAI 上使用 Seedream 5,而不是直接对接?
一个 API 密钥、一个账单账户,即可使用 Seedream 5 以及来自其他提供方的 1,000 多个 AI 模型。无需逐家配置 SDK,无需应对各自独立的速率限制,也无需为每家重写集成代码。价格通常与 ByteDance 直接提供的 API 持平或更低。
提供方
关于 ByteDance
Seedream 5 及 WaveSpeedAI 上 ByteDance 更多模型背后的团队。
字节跳动——TikTok、CapCut 和豆包背后的公司——拥有全球规模最大的 AI 研究团队之一。其 Seed 和豆包团队推出了业界领先的视频生成(Seedance)、图像生成与编辑(Seedream、Nano Banana)以及数字人 / 口型同步模型。模型以内部规模的数据训练,先通过字节跳动的消费级应用投入生产,再以 API 形式对外发布。
在 WaveSpeedAI 上用 Seedream 5 开始构建
注册即送免费体验额度。一个 API 密钥,即可使用来自 ByteDance 及其他所有提供方的 1,000 多个 AI 模型。
/filters:quality(82)/examples/0cbef4bfd187825951ff9cb2c0787280/1783684219348367405_p8cYLApe.webp)
/filters:quality(82)/examples/3dcd9fcd7096c7519e01371a32e0ac9f/1783684220513827783_WhzyzFMK.webp)
/filters:quality(82)/examples/ed344d071cdc248a6f6b3720682a2558/d43a0a40-8790-4e94-9421-dbd1da351a69-a8f761e7b667.webp)
/filters:quality(82)/examples/6e22a23f23f11fffad35929f3328a094/48705639-c97d-4152-bd10-70fb04893faf-50d78dc01a2c.webp)