圖片
seedream-5-0-lite-260128 API
透過 Modelflare 使用本頁顯示的確切型號 ID 呼叫 seedream-5-0-lite-260128。
使用準確的型號 ID seedream-5-0-lite-260128。模型欄位必須與此頁面完全相符。

參數: size=2Kn=1
提示詞: Editorial fashion portrait of a woman in a sculptural crimson coat against a matching red studio backdrop, hard directional light, confident gaze, magazine cover quality, sharp detail, no text.
{ "model": "seedream-5-0-lite-260128", "prompt": "Editorial fashion portrait of a woman in a sculptural crimson coat against a matching red studio backdrop, hard directional light, confident gaze, magazine cover quality, sharp detail, no text.", "n": 1, "size": "2K"}身份驗證與端點
Section titled “身份驗證與端點”將 Modelflare API 金鑰與 https://modelflare.dev/v1 結合使用。網關入口點是POST /v1/images/generations。
Authorization: Bearer YOUR_MODELFLARE_API_KEYcurl https://modelflare.dev/v1/images/generations \ -H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedream-5-0-lite-260128", "prompt": "A white cat runs through a neon-lit street in the rain", "size": "2K", "response_format": "url", "output_format": "png", "watermark": false }'Seedream Lite 使用圖像 API; single-image、reference-image、coherent-group欄位依照官方頁面轉送。
Seedream 5.0 Lite 使用圖像 API 進行單一圖像生成、參考圖像編輯和連貫圖像組。群組產生使用sequential_image_generation和sequential_image_generation_options.max_images;此服務確定實際輸出計數。
| 場 | 必填 | 註釋 |
|---|---|---|
model |
是 | seedream-5-0-lite-260128 |
prompt |
是 | 產生、編輯或分層分解指令 |
image |
有條件 | URL、Base64 或最多 14 個參考影像 |
size |
否 | 2K / 3K / 4K 或支援的顯式像素大小 |
response_format |
否 | url / b64_json |
output_format |
否 | png / jpeg |
watermark |
否 | 是否添加浮水印 |
seed |
否 | 可選的隨機種子 |
optimize_prompt_options.mode |
否 | standard |
sequential_image_generation |
否 | auto啟用影像群組; disabled 產生一張影像 |
sequential_image_generation_options.max_images |
否 | 相干組中最大生成影像 |
background |
— | — |
layer_decomposition |
— | — |
回應與輸入限制
Section titled “回應與輸入限制”Lite 支援 2K/3K/4K 並支援明確的像素大小。它最多接受 14 個參考,每個參考不大於 30 MB,寬高比為 1:16–16:1,邊緣高於 14 像素,最多 36,000,000 像素。 response_format: "url"連結24小時後過期;此服務決定相關群組的實際輸出計數。
記錄的工作流程範例
Section titled “記錄的工作流程範例”Lite支援單圖產生、參考圖編輯、連貫影像組;此服務確定實際輸出計數。
相干影像組
curl https://modelflare.dev/v1/images/generations \ -H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedream-5-0-lite-260128", "prompt": "生成四张连贯的电影分镜:宇航员维修飞船、遭遇陨石雨、躲避撞击、最终安全返回", "size": "2K", "sequential_image_generation": "auto", "sequential_image_generation_options": {"max_images": 4}, "output_format": "png", "watermark": false }'參考影像編輯
curl https://modelflare.dev/v1/images/generations \ -H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedream-5-0-lite-260128", "prompt": "将图一人物的服装替换为图二的服装,保留人物身份、姿势和光线", "image": ["https://example.com/person.png", "https://example.com/outfit.png"], "size": "2K", "output_format": "png", "watermark": false }'錯誤與失敗的任務
Section titled “錯誤與失敗的任務”無效的模型參數傳回帶有請求ID的4xx;使用所選模型合約定義的回應欄位和錯誤訊息。
此頁面涵蓋 Modelflare 模型產生和編輯呼叫。搜尋或地圖豐富、語音管理和元素庫管理是此公共模型呼叫表面之外的資源 API,並且不是必需的請求欄位。
此模型使用按圖像計費。請參閱 型號定價頁面 ,以了解當前客戶價格、參考標價和完整規格。
媒體合約 · v1
官方來源: ByteDance / Volcengine
合約參數
| 意圖字段 | 控制項 | 選項 |
|---|---|---|
size | select | 2K / 3K / 4K |
sequential_image_generation | select | disabled / auto |
支援的功能
allowed_values·size· 2K, 3K, 4Kmax_assets·reference_asset_ids· 14
結構化請求範例
text
意圖
{
"prompt": "A red paper kite over a quiet harbour at dusk.",
"sequential_image_generation": "disabled",
"size": "2K"
}提供者請求
{
"model": "seedream-5-0-lite-260128",
"prompt": "A red paper kite over a quiet harbour at dusk.",
"sequential_image_generation": "disabled",
"size": "2K",
"watermark": false
}reference
意圖
{
"prompt": "A red paper kite over a quiet harbour at dusk.",
"sequential_image_generation": "disabled",
"size": "2K"
}提供者請求
{
"image": [
"https://example.com/reference.png"
],
"model": "seedream-5-0-lite-260128",
"prompt": "A red paper kite over a quiet harbour at dusk.",
"sequential_image_generation": "disabled",
"size": "2K",
"watermark": false
}