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

Ideogram: Ideogram 4.5

Ideogram 4.5 是 Ideogram 的圖像生成與編輯模型,專為反覆編輯且需保持未選定區域不變的迭代工作而設計。它能以 1K 和 2K 預設值從文字生成圖像,並使用最多四張參考圖來編輯原始圖像,同時可選用遮罩來限制變更範圍。適用於產品影像、活動變體、室內風格重塑,以及由骨架參考引導的姿勢變更。
比較模型
ideogram-4-5
可用Ideogram圖片同步
價格
起 $0.008
模態
圖片

關於 Ideogram 4.5

Ideogram 4.5 是 Ideogram 用於生成與編輯圖片的影像模型,專為反覆迭代的工作流程而設計,確保未選取的區域在多次編輯後保持不變。它能以 1K 和 2K 預設值將文字轉換為圖像,並可使用最多四張額外參考圖及選用的遮罩來編輯原始圖像。當圖片需要經過多次修改時,這是最佳選擇。

適用場景

  • 精確編輯功能會直接從原始來源複製未更動的像素,因此多次編輯不會導致影像品質下降。
  • 遮罩可限制變更範圍:黑色標記需要編輯的區域,白色則標記需要保留的區域。
  • 最多可使用四張參考圖來引導編輯,若同時提供遮罩,則最多可使用三張。
  • 編輯結果將以原始圖像的寬度和高度回傳,而非調整畫布大小。
  • 編輯指令可以是簡單的句子,也可以是結構化的 JSON。

其他選擇建議

  • 編輯的長寬比必須介於 1:6 到 6:1 之間,這排除了極端的橫幅比例。
  • 使用遮罩時,參考圖的上限會降至三張,因為遮罩佔用了一個名額。
  • 這是一個靜態影像模型;動態影像、3D 和向量輸出需要使用其他模型。

入門指南

  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": "ideogram-4-5",
      "prompt": "A minimalist product photo of matte black headphones on a soft blue background.",
      "image_url": "https://example.com/source.png"
    }'

參數設定

影像編輯

參數可選值與限制預設值說明
height未提供未提供For source-image requests, supply width and height together as integers, each at least 256 and divisible by 32, with width*height <= 4194304 and aspect ratio from 1:6 to 6:1. Omitted dimensions have no shared fixed default: one delivery path selects a supported size automatically, while another uses 1024x1024.
image未提供未提供Multipart source-image file input. Repeat image or image[] for multiple files. Source inputs are combined into one ordered list of 1 to 5 images. The first image is edited; the remaining images guide the edit. Use JPEG, PNG, or WEBP, at most 25 MiB per image. Source aspect ratios must be from 1:6 to 6:1.
image_url未提供未提供One source-image URL. Source inputs are combined into one ordered list of 1 to 5 images. The first image is edited; the remaining images guide the edit. Use JPEG, PNG, or WEBP, at most 25 MiB per image. Source aspect ratios must be from 1:6 to 6:1.
image_urls未提供未提供A list of source-image URLs. Source inputs are combined into one ordered list of 1 to 5 images. The first image is edited; the remaining images guide the edit. Use JPEG, PNG, or WEBP, at most 25 MiB per image. Source aspect ratios must be from 1:6 to 6:1.
images輸入數量:≥ 1, ≤ 5未提供Limits apply when this input is supplied. Image aliases are combined into one input image list; the limit applies to the combined list.
n1, 2, 3, 41Integer from 1 to 4; default 1. Counts 2 to 4 require PNG output and a delivery path that supports multiple results. A combination with no compatible delivery path fails before generation.
operation必填未提供未提供未提供
output_formatpng, jpeg, webp未提供Use png, jpeg, or webp. JPEG and WebP require n=1. Omitted output_format has no shared fixed encoding: delivery paths return PNG or JPEG. Set it explicitly when the encoding matters. The spelling jpg is not accepted by the public endpoint.
prompt未提供未提供Required non-blank prompt or edit instruction, from 1 to 10000 characters. Prompts above 10000 characters are not supported by either delivery path.
qualityvery_low, low, medium, highvery_low未提供
seed≥ 0, ≤ 2147483647未提供Optional integer from 0 to 2147483647. Omit it to let the model choose a random seed. No fixed seed default is asserted.
width未提供未提供For source-image requests, supply width and height together as integers, each at least 256 and divisible by 32, with width*height <= 4194304 and aspect ratio from 1:6 to 6:1. Omitted dimensions have no shared fixed default: one delivery path selects a supported size automatically, while another uses 1024x1024.

文字生成圖片

參數可選值與限制預設值說明
height未提供未提供Without source images, supply width and height together as one of these exact pixel pairs: 2048x2048, 1440x2880, 2880x1440, 1664x2496, 2496x1664, 1792x2240, 2240x1792, 1440x2560, 2560x1440, 1600x2560, 2560x1600, 1728x2304, 2304x1728, 1296x3168, 3168x1296, 1152x2944, 2944x1152, 1248x3328, 3328x1248, 1280x3072, 3072x1280, 1024x3072, 3072x1024, 1024x1024, 896x1120, 1120x896, 864x1152, 1152x864, 832x1248, 1248x832, 800x1280, 1280x800, 720x1280, 1280x720, 720x1440, 1440x720. Omitted dimensions have no shared fixed default: one delivery path selects a supported size automatically, while another uses 1024x1024.
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.
n1, 2, 3, 41Integer from 1 to 4; default 1. Counts 2 to 4 require PNG output and a delivery path that supports multiple results. A combination with no compatible delivery path fails before generation.
operation必填未提供未提供未提供
output_formatpng, jpeg, webp未提供Use png, jpeg, or webp. JPEG and WebP require n=1 and quality=low or medium. High requires PNG output. Omitted output_format has no shared fixed encoding: delivery paths return PNG or JPEG. Set it explicitly when the encoding matters. The spelling jpg is not accepted by the public endpoint.
prompt未提供未提供Required non-blank prompt or edit instruction, from 1 to 10000 characters. Prompts above 10000 characters are not supported by either delivery path.
qualitylow, medium, highlowUse low, medium, or high; default low. The gateway sends the selected tier explicitly. High requires PNG output. The text-to-image operation rejects source images; use operation=image-edit for source-image editing.
seed≥ 0, ≤ 2147483647未提供Optional integer from 0 to 2147483647. Omit it to let the model choose a random seed. No fixed seed default is asserted.
width未提供未提供Without source images, supply width and height together as one of these exact pixel pairs: 2048x2048, 1440x2880, 2880x1440, 1664x2496, 2496x1664, 1792x2240, 2240x1792, 1440x2560, 2560x1440, 1600x2560, 2560x1600, 1728x2304, 2304x1728, 1296x3168, 3168x1296, 1152x2944, 2944x1152, 1248x3328, 3328x1248, 1280x3072, 3072x1280, 1024x3072, 3072x1024, 1024x1024, 896x1120, 1120x896, 864x1152, 1152x864, 832x1248, 1248x832, 800x1280, 1280x800, 720x1280, 1280x720, 720x1440, 1440x720. Omitted dimensions have no shared fixed default: one delivery path selects a supported size automatically, while another uses 1024x1024.

Fields outside this contract are rejected.

quality selects the price tier: text-to-image low (default), medium, high; image-edit very_low (default), low, medium, high.

定價

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

文字生成圖片

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

文字生成圖片 · 品質 · 低

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

文字生成圖片 · 品質 · medium

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

文字生成圖片 · 品質 · 高

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

影像編輯

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

影像編輯 · 品質 · very_low

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

影像編輯 · 品質 · 低

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

影像編輯 · 品質 · medium

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

影像編輯 · 品質 · 高

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

使用量與活動

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

用量與可用性

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

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

直接在 Console 裡試

在 Console 中開啟 Ideogram 4.5,並準備好編輯或發送提示詞。

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

應用情境

適合場景
  • 文生圖
  • 產品修圖

    在多次編輯過程中重新為包包上色、更換標籤或重新調整產品照的光線,同時保持照片其餘部分與原始拍攝完全一致。

  • 行銷活動變體

    以一張核准的主視覺圖為基礎,僅編輯文案區域或背景,即可製作出在地化或季節性的版本。

  • 室內風格重塑

    遮罩室內照片中的沙發或牆面,並將其替換為參考項目,同時保持房間其餘部分不變。

提示詞範例

將照片中的夾克換成深綠色燈芯絨,並保留臉部、姿勢和背景不變。

一張極簡主義護膚品海報,霧面奶油色背景,產品瓶身置中,標題為「Slow Mornings」,使用細襯線字體。

使用隨附的骨架參考圖,讓舞者擺出左臂抬起的姿勢,並保留攝影棚背景。

FAQ

Ideogram 4.5 最擅長什麼?

迭代編輯。Ideogram 的設計初衷是讓重複的變更保持未選取區域的完整性,這有助於產品修圖、重新打光、重新上色、文字替換和家具更換。它也能從文字生成新圖像。

Ideogram 4.5 支援遮罩嗎?

支援。請提供一張灰階遮罩,其中黑色為要變更的區域,白色為要保留的區域。使用遮罩的請求可在原始圖像之外,額外攜帶最多三張參考圖。

精確編輯(Precise edit)有什麼作用?

它會保留編輯未顯著更動區域的像素,直接從原始圖像精確複製,並以原始寬度和高度回傳輸出結果。這能防止多輪編輯導致影像偏移。

文字轉圖像提供哪些輸出尺寸?

目錄中描述了用於文字生成的 1K 和 2K 預設值。編輯功能會保留原始圖像的尺寸,因此您的輸入解析度決定了編輯後的輸出結果。

Ideogram 4.5 的費用是多少?

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

Ideogram 4.5 應該使用哪一個端點?

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

Ideogram 4.5 支援哪些操作?

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

比較 Ideogram 4.5

來源

更新於 2026年10月2日

更多來自 Ideogram 的模型

相關模型