每次请求可选择 Auto、TokenLab Verified 或 Official,并查看对应价格。 查看更新

Ideogram: Ideogram 4.5

Ideogram 的 Ideogram 4.5 用于图像生成或编辑,已通过 Runware 的原生接口完成验证。
对比模型
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 里试

Ideogram 4.5 已在 Console 备好,提示词已填好,可以直接修改或发送。

帮我用 ideogram-4-5 完成一次 image-edit 图片创作,接口是 /v1/images/edits。返回生成结果、费用和需要注意的限制。

使用场景

适用场景
  • 文生图
  • 产品修图

    经过多轮给包重新上色、更换标签或为产品图重新打光,照片的其余部分始终保持拍摄时的样子。

  • 系列活动的变体

    拿一张已确认的主视觉,只编辑文案区域或背景,就能做出本地化或季节性的版本。

  • 室内风格改造

    在房间照片中给沙发或墙面画上蒙版,用参考物品替换,房间其余部分保持不变。

提示词示例

把照片里的夹克改成深绿色灯芯绒,脸部、姿势和背景保持不变。

极简护肤品海报,哑光奶油色背景,产品瓶居中,标题“Slow Mornings”用细衬线字体。

参照附上的骨架图摆出姿势:舞者左臂抬起,保留影棚背景。

FAQ

Ideogram 4.5 最擅长什么?

迭代编辑。Ideogram 让它在反复修改时保持未改动区域不变,对产品修图、重新打光、重新上色、替换文字和替换家具很有帮助。它也能根据文字生成新图。

Ideogram 4.5 支持蒙版吗?

支持。提供一张灰度蒙版,黑色是要修改的区域,白色是要保留的区域。带蒙版的请求除源图外,最多可再带三张参考图。

精确编辑是做什么的?

对于编辑没有实质改变的地方,它保持像素不变,直接从原图复制,并按原图的宽和高返回输出。这样多轮编辑不会逐步跑偏。

文生图支持哪些输出尺寸?

目录中给出的是 1K 和 2K 两种文字生成预设。编辑会沿用源图的尺寸,所以你输入的分辨率决定了编辑后的输出。

Ideogram 4.5 的费用是多少?

在 TokenLab 上,Ideogram 4.5 的价格为 $0.008-$0.22 每张图片。完整明细见上方价格表。 价格因计费单位、规格和用量而异。请在模型的详细定价中对比相同条件下的费率;单一费率不代表总价。

Ideogram 4.5 应该使用哪个端点?

Ideogram 4.5 使用 https://api.tokenlab.sh/v1/images/edits。代码写法见下方的请求示例。

Ideogram 4.5 支持哪些操作?

Ideogram 4.5 支持 图像编辑, 文生图。选了操作,上面会显示对应的端点和请求示例。

Ideogram 4.5 对比

资料来源

审阅于 2026年10月2日

更多 Ideogram 模型

相关模型