绘图图像编辑New
GPT Image 2.5 Sunburst 它非常适合那些对编辑精度要求极高的应用场景 GPT Image 2.5 Flare 是我们目前用于生成高质量图片的最快模型 模型可以接受文本和图片作为输入,然后输出相应的图片
模型信息
| 模型 ID | gpt-image-2.5-flare-4k | 供应商 | OpenAI |
|---|---|---|---|
| 输入模态 | text、image | 输出模态 | image |
| 分类 | image | 发布时间 | 2026-09-09 11:35:48 |
调用接口
| 分组 | 接口 | 渠道 | 方法 | 路径 |
|---|---|---|---|---|
| 全部接口 | 所有画图(查询异步结果) | 本站 AI 中转站 | GET | /v1/images/tasks/{task_id} |
| 全部接口 | Chat(工具tools调用) | 本站 AI 中转站 | POST | /v1/chat/completions |
| 全部接口 | gpt-image-2 Edits | 本站 AI 中转站 | POST | /v1/images/edits |
| 全部接口 | Flux | 本站 AI 中转站 | POST | /v1/images/generations |
| 全部接口 | 所有画图(异步) | 本站 AI 中转站 | POST | /v1/images/generations |
| 全部接口 | gpt-image-2 Generations | 本站 AI 中转站 | POST | /v1/images/generations |
| 全部接口 | 创建模型响应 | 本站 AI 中转站 | POST | /v1/responses |
| 全部接口 | 创建模型响应(流式返回) | 本站 AI 中转站 | POST | /v1/responses |
| 全部接口 | 创建模型响应(调用联网 | 本站 AI 中转站 | POST | /v1/responses |
GET /v1/images/tasks/{task_id}
### 所有画图(查询异步结果)
status:
IN_PROGRESS (处理中)
FAILURE (失败)
SUCCESS (成功)
{
"summary": "所有画图(查询异步结果)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [
{
"in": "path",
"name": "task_id",
"schema": {
"type": "string"
},
"required": true,
"description": ""
}
],
"description": "### 所有画图(查询异步结果)\nstatus: \nIN_PROGRESS (处理中)\nFAILURE (失败)\nSUCCESS (成功)"
}POST /v1/chat/completions
### Chat(工具tools调用)
[官方指南](
[官方API文档](
所有对话模型,都可使用此接口, 修改 model 属性为模型名
给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。
为提供的提示和参数创建完成
测试页面:
{
"summary": "Chat(工具tools调用)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"id",
"object",
"created",
"choices",
"usage"
],
"properties": {
"id": {
"type": "string"
},
"usage": {
"type": "object",
"required": [
"prompt_tokens",
"completion_tokens",
"total_tokens"
],
"properties": {
"total_tokens": {
"type": "integer"
},
"prompt_tokens": {
"type": "integer"
},
"completion_tokens": {
"type": "integer"
}
}
},
"object": {
"type": "string"
},
"choices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "integer"
},
"message": {
"type": "object",
"required": [
"role",
"content"
],
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
}
},
"finish_reason": {
"type": "string"
}
}
}
},
"created": {
"type": "integer"
}
}
}
}
},
"description": "OK"
}
},
"parameters": [],
"description": "### Chat(工具tools调用)\n[官方指南](\n[官方API文档](\n所有对话模型,都可使用此接口, 修改 model 属性为模型名\n给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。\n为提供的提示和参数创建完成 \n测试页面:",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "Chat(工具tools调用)",
"$schema": "",
"required": [
"model",
"messages",
"tools",
"tool_choice"
],
"properties": {
"n": {
"type": "integer",
"description": "默认为 1\n为每个输入消息生成多少个聊天补全选择。"
},
"seen": {
"type": "integer",
"description": "此功能处于测试阶段。如果指定,我们的系统将尽最大努力确定性地进行采样,以便使用相同的种子和参数进行重复请求应返回相同的结果。不能保证确定性,您应该参考 system_fingerprint 响应参数来监控后端的更改。"
},
"stop": {
"type": "string",
"description": "默认为 null 最多 4 个序列,API 将停止进一步生成标记。"
},
"user": {
"type": "string",
"description": "代表您的最终用户的唯一标识符,可以帮助 OpenAI 监控和检测滥用行为。[了解更多]("
},
"model": {
"type": "string",
"description": "要使用的模型的 ID。有关哪些模型可与聊天 API 一起使用的详细信息,请参阅模型端点兼容性表。"
},
"tools": {
"type": "array",
"items": {
"type": "string"
},
"description": "模型可以调用的一组工具列表。目前,只支持作为工具的函数。使用此功能来提供模型可以为之生成 JSON 输入的函数列表。"
},
"top_p": {
"type": "integer",
"description": "一种替代温度采样的方法,称为核采样,其中模型考虑具有 top_p 概率质量的标记的结果。所以 0.1 意味着只考虑构成前 10% 概率质量的标记。 我们通常建议改变这个或`temperature`但不是两者。"
},
"stream": {
"type": "boolean",
"description": "默认为 false 如果设置,则像在 ChatGPT 中一样会发送部分消息增量。标记将以仅数据的服务器发送事件的形式发送,这些事件在可用时,并在 data: [DONE] 消息终止流。Python 代码示例。"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
}
},
"description": "至今为止对话所包含的消息列表。Python 代码示例。"
},
"logit_bias": {
"type": "null",
"description": "修改指定标记出现在补全中的可能性。\n\n接受一个 JSON 对象,该对象将标记(由标记器指定的标记 ID)映射到相关的偏差值(-100 到 100)。从数学上讲,偏差在对模型进行采样之前添加到模型生成的 logit 中。确切效果因模型而异,但-1 和 1 之间的值应减少或增加相关标记的选择可能性;如-100 或 100 这样的值应导致相关标记的禁用或独占选择。"
},
"max_tokens": {
"type": "integer",
"description": "默认为 inf\n在聊天补全中生成的最大标记数。\n\n输入标记和生成标记的总长度受模型的上下文长度限制。计算标记的 Python 代码示例。"
},
"temperature": {
"type": "integer",
"description": "使用什么采样温度,介于 0 和 2 之间。较高的值(如 0.8)将使输出更加随机,而较低的值(如 0.2)将使输出更加集中和确定。 我们通常建议改变这个或`top_p`但不是两者。"
},
"tool_choice": {
"type": "object",
"properties": [],
"description": "控制模型调用哪个函数(如果有的话)。none 表示模型不会调用函数,而是生成消息。auto 表示模型可以在生成消息和调用函数之间进行选择。通过 {\"type\": \"function\", \"function\": {\"name\": \"my_function\"}} 强制模型调用该函数。 如果没有函数存在,默认为 none。如果有函数存在,默认为 auto。 显示可能的类型"
},
"response_format": {
"type": "object",
"properties": [],
"description": "指定模型必须输出的格式的对象。 将 { \"type\": \"json_object\" } 启用 JSON 模式,这可以确保模型生成的消息是有效的 JSON。 重要提示:使用 JSON 模式时,还必须通过系统或用户消息指示模型生成 JSON。如果不这样做,模型可能会生成无休止的空白流,直到生成达到令牌限制,从而导致延迟增加和请求“卡住”的外观。另请注意,如果 finish_reason=\"length\",则消息内容可能会被部分切断,这表示生成超过了 max_tokens 或对话超过了最大上下文长度。 显示属性"
},
"presence_penalty": {
"type": "number",
"description": "-2.0 和 2.0 之间的数字。正值会根据到目前为止是否出现在文本中来惩罚新标记,从而增加模型谈论新主题的可能性。 [查看有关频率和存在惩罚的更多信息。]("
},
"frequency_penalty": {
"type": "number",
"description": "默认为 0 -2.0 到 2.0 之间的数字。正值根据文本目前的存在频率惩罚新标记,降低模型重复相同行的可能性。 有关频率和存在惩罚的更多信息。"
}
},
"x-apifox-id": "223322111"
}
}
},
"required": true
}
}POST /v1/images/edits
### gpt-image-2 Edits
逆向分组仅支持 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 Edits",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### gpt-image-2 Edits\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": {
"multipart/form-data": {
"schema": {
"type": "object",
"title": "gpt-image-2 Edits",
"$schema": "",
"required": [
"image",
"prompt",
"model"
],
"properties": {
"size": {
"type": "string"
},
"image": {
"type": "file",
"example": "E:\\\\Desktop\\\\gpt\\\\icon_samll2.png",
"description": "支持多图"
},
"model": {
"type": "string",
"example": "gpt-image-2",
"description": "gpt-image-2"
},
"prompt": {
"type": "string",
"example": "带上眼镜"
},
"response_format": {
"type": "string",
"description": "\"url\" or \"b64_json\". 默认 b64_json"
}
},
"x-apifox-id": "447258891"
}
}
},
"required": true
}
}POST /v1/images/generations
### Flux
model 支持
flux
flux-dev
flux-pro
size 支持
1024x512
1024x1024
1024x576
1024x768
1024x512
512x1024
512x768
1280x960
1280x960
960x1280
960x1280
768x1366
768x512
1366x768
1344x576
{
"summary": "Flux",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### Flux\nmodel 支持\nflux\nflux-dev\nflux-pro\n\nsize 支持 \n1024x512\n1024x1024\n1024x576\n1024x768\n1024x512\n512x1024\n512x768\n1280x960\n1280x960\n960x1280\n960x1280\n768x1366\n768x512\n1366x768\n1344x576",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "Flux",
"$schema": "",
"properties": [],
"x-apifox-id": "139454705"
}
}
},
"required": true
}
}POST /v1/images/generations
### 所有画图(异步)
支持所有画图模型异步请求,仅需添加 query 参数 async=true,请求body 与之前一致即可;
提交图像生成请求:
使用 POST /v1/images/generations 提交图像生成请求并传递参数(如 size、prompt、model 等)。
响应中返回一个 task_id,此 task_id 用于后续查询图像生成状态。
查询图像生成结果:
使用 GET /v1/images/tasks/{task_id} 查询生成任务的状态。如果任务完成,响应会包含生成的图像 URL。
{
"summary": "所有画图(异步)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"code",
"message",
"data"
],
"properties": {
"code": {
"type": "string"
},
"data": {
"type": "string",
"description": "task id"
},
"message": {
"type": "string"
}
}
}
}
},
"description": "成功"
}
},
"parameters": [
{
"in": "query",
"name": "async",
"schema": {
"type": "string",
"example": "true",
"description": "启用异步模式"
},
"required": true,
"description": "启用异步模式"
},
{
"in": "query",
"name": "webhook",
"schema": {
"type": "string",
"example": ""
},
"required": false,
"description": ""
}
],
"description": "### 所有画图(异步)\n支持所有画图模型异步请求,仅需添加 query 参数 async=true,请求body 与之前一致即可;\n\n提交图像生成请求:\n使用 POST /v1/images/generations 提交图像生成请求并传递参数(如 size、prompt、model 等)。\n响应中返回一个 task_id,此 task_id 用于后续查询图像生成状态。\n\n查询图像生成结果:\n使用 GET /v1/images/tasks/{task_id} 查询生成任务的状态。如果任务完成,响应会包含生成的图像 URL。",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "所有画图(异步)",
"$schema": "",
"required": [
"prompt",
"model"
],
"properties": {
"model": {
"type": "string"
},
"prompt": {
"type": "string"
}
},
"x-apifox-id": "356258955"
}
}
},
"required": true
}
}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
}
}POST /v1/responses
### 创建模型响应
部分OpenAI模型仅支持Response格式,例如o3-pro,codex-mini-latest
{
"summary": "创建模型响应",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### 创建模型响应\n\n\n部分OpenAI模型仅支持Response格式,例如o3-pro,codex-mini-latest",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "创建模型响应",
"$schema": "",
"required": [
"model",
"input"
],
"properties": {
"input": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
}
}
},
"model": {
"type": "string"
}
},
"x-apifox-id": "321434971"
}
}
},
"required": true
}
}POST /v1/responses
### 创建模型响应(流式返回)
部分OpenAI模型仅支持Response格式,例如o3-pro,codex-mini-latest
{
"summary": "创建模型响应(流式返回)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### 创建模型响应(流式返回)\n\n\n部分OpenAI模型仅支持Response格式,例如o3-pro,codex-mini-latest",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "创建模型响应(流式返回)",
"$schema": "",
"required": [
"model",
"stream",
"input"
],
"properties": {
"input": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
}
}
},
"model": {
"type": "string"
},
"stream": {
"type": "boolean"
}
},
"x-apifox-id": "321436991"
}
}
},
"required": true
}
}POST /v1/responses
### 创建模型响应(调用联网
部分OpenAI模型仅支持Response格式,例如o3-pro,codex-mini-latest
{
"summary": "创建模型响应(调用联网",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### 创建模型响应(调用联网\n\n\n部分OpenAI模型仅支持Response格式,例如o3-pro,codex-mini-latest",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "创建模型响应(调用联网",
"$schema": "",
"required": [
"model",
"input"
],
"properties": {
"input": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
}
}
},
"model": {
"type": "string"
}
},
"x-apifox-id": "322273221"
}
}
},
"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) | 具体错误代码 |
使用文档下载
| 附件标题/下载链接 | 更新时间 | |
|---|---|---|
| 接口资料:GET /v1/images/tasks/{task_id}(所有画图(查询异步结果)) | 2026-09-09 15:29:05 | |
| 接口资料:POST /v1/chat/completions(Chat(工具tools调用)) | 2026-09-09 15:29:05 | |
| 接口资料:POST /v1/images/edits(gpt-image-2 Edits) | 2026-09-09 15:29:05 | |
| 接口资料:POST /v1/images/generations(Flux) | 2026-09-09 15:29:05 | |
| 接口资料:POST /v1/images/generations(所有画图(异步)) | 2026-09-09 15:29:05 | |
| 接口资料:POST /v1/images/generations(gpt-image-2 Generations) | 2026-09-09 15:29:05 | |
| 接口资料:POST /v1/responses(创建模型响应) | 2026-09-09 15:29:05 | |
| 接口资料:POST /v1/responses(创建模型响应(流式返回)) | 2026-09-09 15:29:05 | |
| 接口资料:POST /v1/responses(创建模型响应(调用联网) | 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 01:16:03 | |
| Word-to-Token 转换与用量估算指南 | 2026-09-21 00:31:09 |
gemini-3.8-flash-thinking-medium
gemini-3.8-flash-thinking-high