绘图图像编辑New
GPT Image 2.5 Sunburst 它非常适合那些对编辑精度要求极高的应用场景 GPT Image 2.5 Flare 是我们目前用于生成高质量图片的最快模型 模型可以接受文本和图片作为输入,然后输出相应的图片
模型信息
| 模型 ID | gpt-image-2.5-sunburst-2k | 供应商 | OpenAI |
|---|---|---|---|
| 输入模态 | text、image | 输出模态 | image |
| 分类 | image | 发布时间 | 2026-09-09 11:35:48 |
调用接口
| 分组 | 接口 | 渠道 | 方法 | 路径 |
|---|---|---|---|---|
| gpt-image-2 Generations | gpt-image-2 Generations | 本站 AI 中转站 | POST | /v1/images/generations |
POST /v1/images/generations
### gpt-image-2 Generations
逆向分组仅支持 model、prompt、size、image、quality 参数
官转组
兼容edits 接口所有参数透传
size 介绍:
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 (默认)
{
"summary": "gpt-image-2 Generations",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### gpt-image-2 Generations\n逆向分组仅支持 model、prompt、size、image、quality 参数\n\n官转组 \n兼容edits 接口所有参数透传\n\n\nsize 介绍:\n\nSize and quality options 尺寸和质量选项\n\ngpt-image-2 accepts any resolution in the size parameter when it satisfies the constraints below. Square images are typically fastest to generate.\ngpt-image-2 接受任何分辨率作为 size 参数,只要满足以下约束条件即可。通常情况下,正方形图像的生成速度最快。\n\nPopular sizes 常用尺码\t\n1024x1024 (square)\n1024x1024 (正方形)\n\n1536x1024 (landscape)\n1536x1024 (横向)\n\n1024x1536 (portrait)\n1024x1536 (竖屏)\n\n2048x2048 (2K square)\n2048x2048 (2K 正方形)\n\n2048x1152 (2K landscape)\n2048x1152 (2K 横向)\n\n3840x2160 (4K landscape)\n3840x2160 (4K 横向)\n\n2160x3840 (4K portrait)\n2160x3840 (4K 竖屏)\n\nauto (default)\nauto (默认)\n\nSize constraints 尺寸限制\t\nMaximum edge length must be less than or equal to 3840px\n最大边长必须小于或等于 3840px\n\nBoth edges must be multiples of 16px\n两个边长都必须是 16px 的倍数。\n\nLong edge to short edge ratio must not exceed 3:1\n长边与短边之比不得超过 3:1\n\nTotal pixels must be at least 655,360 and no more than 8,294,400\n总像素数必须至少为 655,360 ,且不得超过 8,294,400\n\nQuality options 优质选项\t\nlow 低的\nmedium 中间\nhigh 高的\nauto (default)\nauto (默认)",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "gpt-image-2 Generations",
"$schema": "",
"required": [
"model",
"prompt"
],
"properties": {
"size": {
"type": "string",
"description": "建议使用 size,与官方一致"
},
"image": {
"type": "array",
"items": {
"type": "string"
}
},
"model": {
"type": "string"
},
"prompt": {
"type": "string"
},
"response_format": {
"type": "string",
"description": "\"url\" or \"b64_json\". 默认 b64_json"
}
},
"x-apifox-id": "447261009"
}
}
},
"required": true
}
}价格
| 价格组 | 渠道 | 计费项 | 价格 | 单位 |
|---|---|---|---|---|
| default | 本站 AI 中转站 | 提示 | CNY 5 | 1M Tokens |
| default | 本站 AI 中转站 | 补全 | CNY 30 | 1M Tokens |
| default | 本站 AI 中转站 | 缓存命中 | CNY 1 | 1M Tokens |
| gpt-image-2-official-mix | 本站 AI 中转站 | 提示 | CNY 5 | 1M Tokens |
| gpt-image-2-official-mix | 本站 AI 中转站 | 补全 | CNY 30 | 1M Tokens |
| gpt-image-2-official-mix | 本站 AI 中转站 | 缓存命中 | CNY 1 | 1M Tokens |
| image2-4k | 本站 AI 中转站 | request | CNY 0.2 | request |
| openai官-优质 | 本站 AI 中转站 | 提示 | CNY 20 | 1M Tokens |
| openai官-优质 | 本站 AI 中转站 | 补全 | CNY 120 | 1M Tokens |
| openai官-优质 | 本站 AI 中转站 | 缓存命中 | CNY 4 | 1M Tokens |
| origin | 本站 AI 中转站 | 提示 | CNY 36.5 | 1M Tokens |
| origin | 本站 AI 中转站 | 补全 | CNY 219 | 1M Tokens |
| origin | 本站 AI 中转站 | 缓存命中 | CNY 7.3 | 1M Tokens |
服务级错误码参照(error_code):
| 错误码 | 说明 | |
|---|---|---|
| 221301 | 数据源超时 | |
| 221303 | 认证失败 认证失败,请稍后重试 认证失败,该卡当日连续多次认证不通过被限制校验,次日恢复 |
|
| 221306 | 参数错误 参数错误:姓名格式不正确 参数错误:手机号格式不正确 参数错误:身份证格式不正确 参数错误:银行卡号格式不正确 同一银行卡请求过于频繁 |
系统级错误码参照:
| 错误码 | 说明 | |
|---|---|---|
| 10001 | 错误的请求KEY | |
| 10002 | 该KEY无请求权限 | |
| 10003 | KEY过期 | |
| 10004 | 错误的OPENID | |
| 10005 | 应用未审核超时,请提交认证 | |
| 10007 | 未知的请求源 | |
| 10008 | 被禁止的IP | |
| 10009 | 被禁止的KEY | |
| 10011 | 当前IP请求超过限制 | |
| 10012 | 请求超过次数限制 | |
| 10013 | 测试KEY超过请求限制 | |
| 10014 | 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失) | |
| 10020 | 接口维护 | |
| 10021 | 接口停用 |
错误码格式说明(示例:200201):
| 2 | 002 | 01 | |
|---|---|---|---|
| 服务级错误(1为系统级错误) | 服务模块代码(即数据ID) | 具体错误代码 |
使用文档下载
| 附件标题/下载链接 | 更新时间 | |
|---|---|---|
| 接口资料:POST /v1/images/generations(gpt-image-2 Generations) | 2026-09-09 15:29:05 | |
| 价格分组:default(CNY 5/1M Tokens) | 2026-09-09 15:29:05 | |
| 价格分组:gpt-image-2-official-mix(CNY 5/1M Tokens) | 2026-09-09 15:29:05 | |
| 价格分组:image2-4k(CNY 0.2/request) | 2026-09-09 15:29:05 | |
| 价格分组:openai官-优质(CNY 20/1M Tokens) | 2026-09-09 15:29:05 | |
| 价格分组:origin(CNY 36.5/1M Tokens) | 2026-09-09 15:29:05 | |
| 供应商令牌分组折扣资料 | 2026-09-09 15:29:05 |
常见问题:
| 标题 | 更新时间 | |
|---|---|---|
| Token 是什么?中文、英文与上下文窗口如何计算 | 2026-09-21 00:31:09 | |
| LLM API 费用如何计算?如何选择合适的模型 | 2026-09-21 00:31:33 | |
| Word-to-Token 转换与用量估算指南 | 2026-09-21 00:31:09 |
gemini-3.8-flash-thinking-medium
gemini-3.8-flash-thinking-high