為每個請求選擇 Auto、TokenLab Verified 或 Official,並預先顯示價格。 查看最新動態

Luma AI: UNI-1

UNI-1 是 Luma UNI-1 系列中用於圖像創作與精確圖像編輯的統一圖像模型。它將文字提示、原始圖像修改、多參考引導、基於種子的可重現性以及基於推理的視覺生成整合在一個系統中,並對構圖、身份、風格和視覺合理性具有強大的控制力。
比較模型
uni-1
可用Luma AI圖片同步
價格
起 $0.0404
模態
圖片

關於 UNI-1

UNI-1 是 Luma 推出的統一圖像模型,具備圖像生成與編輯功能。它支援文字提示詞與原始圖像輸入,可使用多張參考圖,並提供基於種子(seed)的可重現性。Luma 將其描述為一種在渲染前會先進行意圖推理的自回歸模型。此為標準版本;UNI-1 Max 則是追求高品質的進階版本。

適用場景

  • 單一模型,同時支援文字生成圖像與基於指令的編輯功能。
  • Luma 支援最多九張參考圖像,可用於引導風格或構圖。
  • 可回應關於攝影角度、距離與光線方向的指令。
  • 支援種子(seed)功能,讓您在調整提示詞時仍能重現相同的結果。

其他選擇建議

  • 若需追求最高細節的最終圖像,UNI-1 Max 是 Luma 專為精緻度所調校的版本。
  • Luma 並未將其定位為文字渲染或向量工具,因此若需進行包含密集文字的平面設計,可能需要使用專業模型。

入門指南

  1. 建立 API 金鑰

    請至 Console 建立金鑰,即可在平台上使用各類模型。

  2. 發送您的第一個請求

    複製您所選語言的範例,並針對端點執行它。

    影像編輯文字生成圖片TokenLab 端點
    POST/v1/images/generations
    curl -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": "uni-1",
      "prompt": "A minimalist product photo of matte black headphones on a soft blue background.",
      "image_url": "https://example.com/source.png"
    }'

參數設定

影像編輯

參數可選值與限制預設值說明
height1248, 1440, 1504, 1696, 2048, 2464, 2784, 2912, 33602048Use an integer. Use a listed width and height pair: 3360x1248 (3k, 3:1), 2912x1440 (3k, 2:1), 2784x1504 (3k, 16:9), 2464x1696 (3k, 3:2), 2048x2048 (3k, 1:1), 1696x2464 (3k, 2:3), 1504x2784 (3k, 9:16), 1440x2912 (3k, 1:2), 1248x3360 (3k, 1:3).
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, ≤ 9未提供Limits apply when this input is supplied. Image aliases are combined into one input image list; the limit applies to the combined list.
n11Use an integer.
operation必填未提供未提供未提供
output_formatjpeg, png, webp未提供Default encoding is shared by these equivalent values: jpg, jpeg.
prompt未提供未提供Minimum length: 2 characters. Maximum length: 6000 characters.
width1248, 1440, 1504, 1696, 2048, 2464, 2784, 2912, 33602048Use an integer. Use a listed width and height pair: 3360x1248 (3k, 3:1), 2912x1440 (3k, 2:1), 2784x1504 (3k, 16:9), 2464x1696 (3k, 3:2), 2048x2048 (3k, 1:1), 1696x2464 (3k, 2:3), 1504x2784 (3k, 9:16), 1440x2912 (3k, 1:2), 1248x3360 (3k, 1:3).

文字生成圖片

參數可選值與限制預設值說明
height1248, 1440, 1504, 1696, 2048, 2464, 2784, 2912, 33602048Use an integer. Use a listed width and height pair: 3360x1248 (3k, 3:1), 2912x1440 (3k, 2:1), 2784x1504 (3k, 16:9), 2464x1696 (3k, 3:2), 2048x2048 (3k, 1:1), 1696x2464 (3k, 2:3), 1504x2784 (3k, 9:16), 1440x2912 (3k, 1:2), 1248x3360 (3k, 1:3).
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.
n11Use an integer.
operation必填未提供未提供未提供
output_formatjpeg, png, webp未提供Default encoding is shared by these equivalent values: jpg, jpeg.
prompt未提供未提供Minimum length: 2 characters. Maximum length: 6000 characters.
width1248, 1440, 1504, 1696, 2048, 2464, 2784, 2912, 33602048Use an integer. Use a listed width and height pair: 3360x1248 (3k, 3:1), 2912x1440 (3k, 2:1), 2784x1504 (3k, 16:9), 2464x1696 (3k, 3:2), 2048x2048 (3k, 1:1), 1696x2464 (3k, 2:3), 1504x2784 (3k, 9:16), 1440x2912 (3k, 1:2), 1248x3360 (3k, 1:3).

Fields outside this contract are rejected.

定價

Verified 價格用於 Verified,多數模型更便宜;Official 價格是模型廠商公布的價格,用於更穩定的 Official。Auto 按最終完成請求的線路計價。

影像編輯

每張圖片
Official 價格
$0.0404
Verified 價格
—
折扣
—

文字生成圖片

每張圖片
Official 價格
$0.0404
Verified 價格
—
折扣
—

使用量與活動

成功率是請求完成的比例;延遲是一次完整回應所需的時間,P95 表示 95% 的請求在該時間內完成。

用量與可用性

過去 24 小時
請求數
成功率
P95 延遲
總 Token 用量
模型效能
當達到隱私權與資料量的門檻後,指標才會顯示。

資料基於彙總的使用者請求,不包含狀態檢查。

直接在 Console 裡試

在 Console 中開啟 UNI-1,並準備好編輯或發送提示詞。

協助我使用 uni-1 透過 /v1/images/edits 執行 image-edit 建立圖像,並顯示結果、成本與相關限制。

應用情境

適合場景
  • 文生圖
  • 基於指令的圖像編輯

    透過自然語言指令,即可更改原始照片的光線、背景或物件。

  • 參考圖引導風格

    透過提供多張參考圖片,並結合新場景的文字描述,即可匹配特定的房屋風格。

  • 分鏡腳本與漫畫

    Luma 強調其在漫畫與網路漫畫創作上的優勢,能確保跨分鏡的角色一致性。

提示詞範例

將這張照片的時間改為日落,並為建築物添加長陰影。

一張電影感靜態圖,主角為海岸公路上的單車騎士,低角度拍攝,背光,帶有底片顆粒感。

使用這三張參考圖像,創作一張女孩打開神秘門的網路漫畫分鏡。

FAQ

什麼是 Luma UNI-1?

這是 Luma 用於生成與編輯的統一圖像模型。您可以使用文字提示、修改現有圖像,或透過參考圖像進行引導。Luma 將其描述為在繪圖前會先進行意圖推理的模型。

我可以使用多少張參考圖像?

Luma 支援每個請求最多使用九張參考圖像,可用於引導風格、構圖或主體。您可以使用它們進行風格遷移,或在多張圖像中保持角色的外觀一致。

我可以重現結果嗎?

可以,UNI-1 支援種子(seed)功能,因此相同的輸入可以產生相同的圖像,這在您僅調整提示詞的一部分時非常有幫助。

它與 UNI-1 Max 有什麼不同?

兩者具備相同的 API 與功能,但 UNI-1 Max 針對細節要求更高的場景進行了輸出品質調校。若為草稿或探索階段,建議選擇標準版 UNI-1。

UNI-1 的費用是多少?

在 TokenLab 上,UNI-1 價格為 $0.0404 每張圖片。完整明細見上方價格表。 價格因計費單位、規格和用量而異。請在模型的詳細定價中比較相同條件下的費率;單一費率不代表總價。

UNI-1 應該使用哪一個端點?

請使用 https://api.tokenlab.sh/v1/images/edits 進行 UNI-1 的呼叫。下方的請求範例展示了對應的程式碼格式。

UNI-1 支援哪些操作?

UNI-1 支援 影像編輯, 文字生成圖片。請在上方選擇一項操作以查看其端點與請求範例。

比較 UNI-1

來源

更新於 2026年10月2日

更多來自 Luma 的模型

相關模型