Seedream 5.5 API
ByteDance Seed 推出的專業級圖像生成與編輯模型,支援多輪穩定編輯與原生 RGBA 透明輸出。
Seedream 5.5 是 ByteDance Seed 於 2026 年 11 月 9 日發布的圖像生成與編輯模型,定位為視覺製作流程中的專業級工具。它可接收文字與圖像輸入並輸出圖像,原生支援 RGBA 透明背景,能產生全透明或部分透明的 PNG。
在編輯穩定性上,Seedream 5.5 可在同一張圖上連續進行最多 100 輪編輯,未編輯區域能維持像素級一致,不出現色偏、細節流失或畫質劣化。它也能渲染寫實材質、自然光影,以及英文與中文的密集小字,適合報紙風格版面、資訊圖表與包裝視覺等文字密集場景。
此模型適合電子商務商品視覺、行銷素材、影視預視覺化、遊戲資產、辦公文件與時裝設計等任務;圖層分解功能可將單張圖片拆為底圖加圖層,共最多 100 個輸出,每個圖層會回傳 z-index、邊界框、名稱與描述,便於獨立素材如飛濺、植物、道具或商品圖的後續運用。
更新時間:
模型 ID
seedream-5-5- 輸入
- text / image
- 輸出
- image
核心要點
- 最多 100 輪連續編輯維持原圖不變
- 原生 RGBA 透明背景輸出
- 圖層分解最多輸出 100 個圖層
- 寫實材質與自然光影
- 中英文密集小字渲染
- 六項 MagicArena 場景全面超前代
供應商
比較不同供應商的呼叫價格,點擊供應商可查看完整費用和適用條件。
| 可用率 | |
|---|---|
歷史統計不等於即時健康檢查,缺少資料不代表服務中斷。
基準測試
- 0.4%
MagicArena 嚴重文字損壞比例
影像中出現嚴重文字損壞的占比
- 1.7%
MagicArena 輕微文字損壞比例
影像中出現輕微文字損壞的占比
分數來自模型廠商公布的資料,未經獨立驗證。
快速开始
提交圖片任務、輪詢狀態,再儲存圖片。以下範例使用 curl 和 Python 3(僅標準函式庫,無須安裝依賴)。
POST https://openapi.felo.ai/api/v1/images/generations
1填入 API key
從 Felo API Platform 帳戶建立 key,並設定為環境變數。
export FELO_API_KEY="YOUR_API_KEY"2發出第一次請求
選用參數的值依模型而異,範例不預設這些值;加入前請在 Playground 確認。請求欄位與 model、prompt 同層,不包在 input 中。
curl --fail-with-body --max-time 60 "https://openapi.felo.ai/api/v1/images/generations" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-o created.json \
-d '{
"prompt": "A studio product photo of a ceramic coffee cup on warm linen, soft morning light",
"model": "seedream-5-5"
}'3輪詢任務
提交後取得 task_id;queued、running 時每 3 秒查詢一次,succeeded、failed 或 interrupted 時停止。範例最多等待 30 分鐘。保留 created.json 可繼續查詢同一任務,避免重複提交。
python3 - <<'PY'
import json, os, time
from pathlib import Path
from urllib.parse import quote
from urllib.request import Request, urlopen
task = json.loads(Path("created.json").read_text())
task_id = task["task_id"]
url = "https://openapi.felo.ai/api/v1/images/generations/" + quote(task_id, safe="")
headers = {"Authorization": "Bearer " + os.environ["FELO_API_KEY"]}
deadline = time.monotonic() + 1800
while task["status"] in ("queued", "running"):
if time.monotonic() >= deadline:
raise TimeoutError(f"Keep task_id={task_id} to resume polling")
time.sleep(3)
with urlopen(Request(url, headers=headers), timeout=60) as response:
task = json.load(response)
if task.get("task_id") != task_id or task.get("kind") != "image":
raise ValueError("Unexpected task response")
print(task["status"])
if task["status"] != "succeeded":
raise RuntimeError(task.get("error") or task["status"])
if not task.get("outputs"):
raise ValueError("Task succeeded without image outputs")
Path("task.json").write_text(json.dumps(task))
print("Saved task.json")
PY4下載輸出
成功後從 task.json 讀取 outputs 並儲存。結果相容 HTTPS 位址、URL 物件和 b64_json。簽名位址請及時下載;下載圖片時無須攜帶 API Key。
python3 - <<'PY'
import base64, json
from pathlib import Path
from urllib.request import urlopen
task = json.loads(Path("task.json").read_text())
if task.get("status") != "succeeded" or not task.get("outputs"):
raise ValueError("No completed image outputs")
extensions = {"image/png": ".png", "image/jpeg": ".jpg", "image/webp": ".webp", "image/gif": ".gif", "image/avif": ".avif"}
for index, output in enumerate(task["outputs"], 1):
item = output if isinstance(output, dict) else {}
url = output if isinstance(output, str) else item.get("url") or item.get("unsigned_url")
mime = item.get("media_type") or "image/png"
if url and url.startswith("https://"):
with urlopen(url, timeout=60) as response:
data = response.read()
mime = response.headers.get_content_type()
elif url and url.startswith("data:image/") and ";base64," in url:
header, encoded = url.split(",", 1)
mime = header[5:].split(";", 1)[0]
data = base64.b64decode(encoded, validate=True)
elif item.get("b64_json"):
data = base64.b64decode(item["b64_json"], validate=True)
else:
raise ValueError("Unrecognized image output")
path = Path(f"image-{index}" + extensions.get(mime, ".bin"))
path.write_bytes(data)
print(path)
PYinput_references
編輯圖片時,將範例位址替換為你的 HTTPS 圖片位址或 base64 圖片 data URL。提交一次後,沿用相同的輪詢與儲存步驟。
curl --fail-with-body --max-time 60 "https://openapi.felo.ai/api/v1/images/generations" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-o created.json \
-d '{
"prompt": "Keep the product and framing. Replace the background with a sunlit marble countertop.",
"model": "seedream-5-5",
"input_references": [
{
"type": "image_url",
"image_url": {
"url": "https://example.com/product.png"
}
}
]
}'支援的參數
- n
- seed
- resolution
- aspect_ratio
- input_references
想查看完整文件?
API 文件 →常見問題
什麼是 Seedream 5.5?
Seedream 5.5 是 ByteDance Seed 於 2026 年 11 月 9 日發布的圖像生成與編輯模型,定位為視覺製作流程中的專業級工具。它可接收文字與圖像輸入並輸出圖像,原生支援 RGBA 透明背景,能產生全透明或部分透明的 PNG。 在編輯穩定性上,Seedream 5.5 可在同一張圖上連續進行最多 100 輪編輯,未編輯區域能維持像素級一致,不出現色偏、細節流失或畫質劣化。它也能渲染寫實材質、自然光影,以及英文與中文的密集小字,適合報紙風格版面、資訊圖表與包裝視覺等文字密集場景。 此模型適合電子商務商品視覺、行銷素材、影視預視覺化、遊戲資產、辦公文件與時裝設計等任務;圖層分解功能可將單張圖片拆為底圖加圖層,共最多 100 個輸出,每個圖層會回傳 z-index、邊界框、名稱與描述,便於獨立素材如飛濺、植物、道具或商品圖的後續運用。
如何計算呼叫費用?
費用取決於你使用的供應商、對應價格和實際用量。長文字輸入等情況可能適用不同價格,詳見計費明細。 按實際生成費用計費,具體金額以帳單為準。
Seedream 5.5 支援哪些輸入與輸出?
支援文字輸入與圖像輸入,輸出為圖像,並可產生具透明通道的 RGBA PNG。
多輪編輯會不會讓原圖失真?
同一張圖最多可連續編輯 100 輪,未編輯區域維持像素級一致,不出現色偏、細節流失或畫質劣化。
圖層分解功能會輸出什麼?
可將一張圖片拆成底圖加圖層,總輸出最多 100 個,每個圖層附帶 z-index、邊界框、名稱與描述。
它適合處理密集小字嗎?
可渲染英文與中文的密集小字,適合報紙風格版面、資訊圖表與包裝視覺。
與 Seedream 5.0 Pro 相比有什麼差別?
在 MagicArena 全部六個使用場景中,品質分數與可用率均優於 Seedream 5.0 Pro;影視與辦公生產力場景的可用率超過前代兩倍。
相關模型
ByteDance Seed: Seedream 5.0 Flash
ByteDance圖像seedream-5-0-flashSeedream 5.0 系列中的速度與成本優先圖像生成模型,支援多參考圖與精準互動編輯。
輸出
image
輸入影像
$0 / 1 張影像
生成影像
$0.018 / 1 張影像
ByteDance Seed: Seedream 5.0 Lite
ByteDance圖像seedream-5-0-liteSeedream 5.0 Lite 是字節跳動 Seed 團隊推出的圖像生成模型,能在生成前深度思考並結合即時網路檢索,兼顧創意品質與成本效率。
輸出
image
輸入影像
$0 / 1 張影像
生成影像
$0.035 / 1 張影像
ByteDance Seed: Seedream 5.0 Pro
ByteDance圖像seedream-5-0-proByteDance Seed 推出的旗艦圖像模型,能生成排版清晰的資訊圖表,並以原生多語言文字與分層編輯見長。
輸出
image
按實際生成費用計費,具體金額以帳單為準。