gpt-image-2

Image

Flexible sizing and high-fidelity reference inputs; faster generation and editing; stronger multilingual text and complex layouts.

Prix d'entrée

$3.7525 % de réduction

Marché : $5

/ M

Lecture cache

$0.937525 % de réduction

Marché : $1.25

/ M

Entrée image

$625 % de réduction

Marché : $8

/ M

Sortie image

$22.525 % de réduction

Marché : $30

/ M

Cache image lecture

$1.525 % de réduction

Marché : $2

/ M

Entrée

Texte

Sortie

Image

Entrée

生成图像尺寸

生成图像尺寸,gpt-image-2 支持任意 WIDTHxHEIGHT(边长需被 16 整除,宽高比 1:3 到 3:1)。

生成图像的数量 1
110

生成图像的数量,取值 1 到 10 之间。

生成图像的质量档

生成图像的质量档,GPT 图像模型支持 low、medium、high,auto 自动选择。

生成图像的背景

生成图像的背景,gpt-image-2 的透明背景支持处于预览阶段,用 transparent 时需输出 png 或 webp。

生成图像返回的编码格式

生成图像返回的编码格式,支持 png、jpeg 或 webp。

output_compression 100
0100

生成图像的压缩级别(0-100%),仅配合 webp 或 jpeg 输出格式时生效。

GPT 图像模型的内容审核强度

GPT 图像模型的内容审核强度,low 为较宽松过滤,auto 为默认。

Sortie