Size and quality options 尺寸和质量选项
gpt-image-2 accepts any resolution in the size parameter when it satisfies the constraints below. Square images are typically fastest to generate.
gpt-image-2 接受任何分辨率作为 size 参数,只要满足以下约束条件即可。通常情况下,正方形图像的生成速度最快。
Popular sizes 常用尺码
1024x1024 (square)
1024x1024 (正方形)
1536x1024 (landscape)
1536x1024 (横向)
1024x1536 (portrait)
1024x1536 (竖屏)
2048x2048 (2K square)
2048x2048 (2K 正方形)
2048x1152 (2K landscape)
2048x1152 (2K 横向)
3840x2160 (4K landscape)
3840x2160 (4K 横向)
2160x3840 (4K portrait)
2160x3840 (4K 竖屏)
auto (default)
auto (默认)
Size constraints 尺寸限制
Maximum edge length must be less than or equal to 3840px
最大边长必须小于或等于 3840px
Both edges must be multiples of 16px
两个边长都必须是 16px 的倍数。
Long edge to short edge ratio must not exceed 3:1
长边与短边之比不得超过 3:1
Total pixels must be at least 655,360 and no more than 8,294,400
总像素数必须至少为 655,360 ,且不得超过 8,294,400
Quality options 优质选项
low 低的
medium 中间
high 高的
auto (default)
auto (默认)