Krea: Krea 2 Turbo
krea-2-turbo- 價格
- 起 $0.015
- 模態
- 圖片
關於 Krea 2 Turbo
Krea 2 Turbo 是 Krea 2 系列的蒸餾開放權重模型,專為快速、少步數的圖像生成而設計。Krea 將其描述為經過引導(guidance)和時間步長(timestep)蒸餾的模型,具有廣泛的審美範圍,且透過提示詞(prompt)運作,而非使用完整的 Krea 2 參考工作流程。它適用於簡單的生產管線和開放模型設置,例如 LoRA 自定義。
適用場景
- 少步數生成能快速產出圖像,有助於高吞吐量的生產管線。
- 蒸餾技術保留了廣泛的審美多樣性,而非單一的固定風格。
- 開放權重允許對該模型系列進行基於 LoRA 的自定義。
- 以提示詞驅動的介面易於整合。
其他選擇建議
- 它缺乏託管版 Krea 2 模型(如 Medium 和 Large 版本)所提供的情緒板(moodboard)和參考工具。
- Krea 將其描述為 Raw 版本的蒸餾變體,因此深度微調應在 Raw 檢查點(checkpoint)上進行。
- 技術報告指出該系列訓練尚不充分,並將原生 2K 至 4K 輸出列為未來工作。
入門指南
建立 API 金鑰
請至 Console 建立金鑰,即可在平台上使用各類模型。
發送您的第一個請求
複製您所選語言的範例,並針對端點執行它。
影像編輯文字生成圖片TokenLab 端點POST/v1/images/generationscurl -X POST "https://api.tokenlab.sh/v1/images/generations" \ -H "Authorization: Bearer sk-xxx" \ -H "Content-Type: application/json" \ -d '{ "operation": "image-to-image", "model": "krea-2-turbo", "prompt": "A minimalist product photo of matte black headphones on a soft blue background.", "image_url": "https://example.com/source.png" }'
參數設定
影像編輯
| 參數 | 可選值與限制 | 預設值 | 說明 |
|---|---|---|---|
height | ≥ 64, ≤ 2048 | 1024 | Use an integer. Use multiples of 16. |
image | 未提供 | 未提供 | Alias of the combined images input. See input_limits.images for the total input image count. |
image_url | 未提供 | 未提供 | Alias of the combined images input. See input_limits.images for the total input image count. |
image_urls | 未提供 | 未提供 | Alias of the combined images input. See input_limits.images for the total input image count. |
images | 輸入數量:≥ 1, ≤ 4 | 未提供 | Limits apply when this input is supplied. Image aliases are combined into one input image list; the limit applies to the combined list. |
n | 1 | 1 | Use an integer. |
operation必填 | 未提供 | 未提供 | 未提供 |
output_format | jpeg, png, webp | 未提供 | Default encoding is shared by these equivalent values: jpg, jpeg. |
prompt | 未提供 | 未提供 | Minimum length: 2 characters. Maximum length: 10000 characters. |
seed | ≥ 0, ≤ 9007199254740991 | 未提供 | Use an integer. |
steps | ≥ 1, ≤ 100 | 8 | Use an integer. |
width | ≥ 64, ≤ 2048 | 1024 | Use an integer. Use multiples of 16. |
文字生成圖片
| 參數 | 可選值與限制 | 預設值 | 說明 |
|---|---|---|---|
height | ≥ 64, ≤ 2048 | 1024 | height is an integer pixel dimension from 64 to 2048 in multiples of 16; default 1024. Explicit width or height requires a delivery path that exposes pixel dimensions. Use size=WIDTHxHEIGHT when a size string is preferred. |
images | 未提供 | 未提供 | Text-to-image does not accept source images. Do not send this field for that operation. Use one of this model's declared image operations for source-image requests. |
n | 1 | 1 | Use an integer. |
operation必填 | 未提供 | 未提供 | 未提供 |
output_format | png, jpeg, webp | 未提供 | Use png, jpeg, or webp. PNG and JPEG are available on both delivery paths; WebP requires a compatible path. Omitted output_format has no shared encoding default: it can be PNG or JPEG. Set it explicitly when the encoding matters. The public endpoint does not accept jpg. |
prompt | 未提供 | 未提供 | Required prompt, 1 to 10000 characters. A one-character prompt requires the text-only delivery path with a 5000-character limit. Explicit steps, WebP, or direct width/height require a compatible path and a prompt of at least 2 characters. Source images are rejected for operation=text-to-image; use operation=image-edit for source-image requests. |
seed | 未提供 | 未提供 | Optional safe integer seed. The shared declared range is 0 to 9007199254740991; a compatible path also accepts negative safe integers. Omit seed for a random result. The same seed does not guarantee an identical image across delivery paths. |
size | 未提供 | 1024x1024 | Use WIDTHxHEIGHT in pixels. The width and height constraints also apply to size. |
steps | ≥ 1, ≤ 100 | 未提供 | Use an integer from 1 to 100. Explicit steps require a delivery path that exposes this control. That path uses 8 when steps is omitted; other paths fix their own step count. |
width | ≥ 64, ≤ 2048 | 1024 | width is an integer pixel dimension from 64 to 2048 in multiples of 16; default 1024. Explicit width or height requires a delivery path that exposes pixel dimensions. Use size=WIDTHxHEIGHT when a size string is preferred. |
Fields outside this contract are rejected.
定價
Verified 價格用於 Verified,多數模型更便宜;Official 價格是模型廠商公布的價格,用於更穩定的 Official。Auto 按最終完成請求的線路計價。
影像編輯
每張圖片- Official 價格
- $0.015
- Verified 價格
- —
- 折扣
- —
文字生成圖片
每張圖片- Official 價格
- $0.015
- Verified 價格
- —
- 折扣
- —
| Official 價格每張圖片 | Verified 價格每張圖片 | 折扣 | |
|---|---|---|---|
| 影像編輯 | $0.015 | — | — |
| 文字生成圖片 | $0.015 | — | — |
使用量與活動
成功率是請求完成的比例;延遲是一次完整回應所需的時間,P95 表示 95% 的請求在該時間內完成。
用量與可用性
過去 24 小時- 請求數
- 成功率
- P95 延遲
- 總 Token 用量
資料基於彙總的使用者請求,不包含狀態檢查。
直接在 Console 裡試
在 Console 中開啟 Krea 2 Turbo,並準備好編輯或發送提示詞。
協助我使用 krea-2-turbo 透過 /v1/images/edits 執行 image-edit 建立圖像,並顯示結果、成本與相關限制。
應用情境
適合場景- 文生圖
批量圖像管線
以極低的單張圖像成本,從文字生成縮圖、佔位符或產品圖像。
LoRA 自定義輸出
應用從 Krea 2 Raw 訓練出的風格或角色 LoRA,以進行品牌專屬的生成。
快速概念設計
在幾秒鐘內測試多個提示詞並確定方向,再決定是否需要更大的模型進行最終渲染。
編輯工作流程
當工作屬於快速調整而非精細重製時,可使用簡短的提示詞對現有圖片進行圖像到圖像(image-to-image)的變更。
提示詞範例
黃昏森林的紙雕立體透視模型,層次感深邃,柔和陰影。
在撒了麵粉的桌面上揉麵團的特寫,自然窗光。
山區鐵路的復古旅遊海報,有限的調色板,大膽的形狀。
FAQ
什麼是 Krea 2 Turbo?
這是一款經過引導和時間步長蒸餾的模型,以開放權重發布,用於快速的少步數生成。它是 Krea 2 Raw 的快速版本,並共享 12B Diffusion Transformer 設計。
它與 Krea 2 Raw 有何不同?
Raw 是用於微調的未蒸餾基礎模型,而 Turbo 則是為快速生成而蒸餾的版本。Krea 在公告中建議的經驗法則是:在 Raw 上進行訓練,並使用 Turbo 進行生成。
它與 Krea 2 Medium Turbo 有何不同?
Medium Turbo 保留了更豐富的 Krea 2 控制功能,例如情緒板和風格參考。此模型則是主要由文字提示詞驅動的開放權重選項。
我可以使用 LoRA 嗎?
可以。開放模型相容性(如 LoRA 自定義)是此模型明確的優勢,LoRA 通常從 Raw 檢查點訓練並應用於此處。
它能編輯圖像嗎?
可以。它同時處理圖像到圖像和文字到圖像的任務,因此輸入圖片可作為起點,並透過簡短的提示詞描述您想要的變更。
Krea 2 Turbo 的費用是多少?
在 TokenLab 上,Krea 2 Turbo 價格為 $0.015 每張圖片。完整明細見上方價格表。 價格因計費單位、規格和用量而異。請在模型的詳細定價中比較相同條件下的費率;單一費率不代表總價。
Krea 2 Turbo 應該使用哪一個端點?
請使用 https://api.tokenlab.sh/v1/images/edits 進行 Krea 2 Turbo 的呼叫。下方的請求範例展示了對應的程式碼格式。
Krea 2 Turbo 支援哪些操作?
Krea 2 Turbo 支援 影像編輯, 文字生成圖片。請在上方選擇一項操作以查看其端點與請求範例。
比較 Krea 2 Turbo
來源
更新於 2026年10月2日