HappyHorse 1.0 正式上线立即体验

GPT Image 1 API

在 EvoLink 上使用 GPT Image 1 来处理文生图、图生图和图像编辑工作流,支持灵活的质量设置、参考图输入和异步任务处理。
模型类型:

Est.价格: $0.0098 - 0.446(~ 0.66586 - 30.31603 credits) per image

稳定性最高,保证 99.9% 可用性。推荐用于生产环境。

所有版本使用同一个 API 端点,仅 model 参数不同。

0 (suggested: 2,000)

Upload up to 16 images (max 50MB each)

Click to upload or drag and drop

Supported formats: JPEG, JPG, PNG, WEBP
Maximum file size: 50MB; Maximum files: 16

Number of images to generate (1-10)

1
1
2
3
4
5
6
7
8
9
10

Click Generate to see preview

History

最多保留20条

0 运行中 · 0 已完成

您的生成历史将显示在这里

GPT Image 1 API 定价与编辑接入

通过 EvoLink 运行 GPT Image 1,用于文生图、图生图和图像编辑工作流。查看定价、质量控制和异步任务交付方式,适合需要延续现有图像管线的团队。

GPT Image 1 API 示例输出

Billing Model

  • Token-based — charged by the token counts reported in the upstream usage object.
  • Image Output tokens scale with size and quality (low/medium/high).
  • Image Input tokens apply only in image-to-image / edit mode.
  • Cached Input is charged only when the upstream usage object reports cached tokens.
  • Output Text + Thinking (model reasoning + refined prompt) is returned alongside the image at no extra charge by OpenAI. gpt-image-1.5 bills this dimension separately.

Pricing

GPT Image 1
Token-based billing
Token Category:Image Output
Price:
$0.036/ 1K tokens
(2.448 Credits)
GPT Image 1
Token-based billing
Token Category:Image Input
Price:
$0.0090/ 1K tokens
(0.612 Credits)
GPT Image 1
Token-based billing
Token Category:Image Cached Input
Price:
$0.0022/ 1K tokens
(0.153 Credits)
GPT Image 1
Token-based billing
Token Category:Text Input
Price:
$0.0045/ 1K tokens
(0.306 Credits)
GPT Image 1
Token-based billing
Token Category:Text Cached Input
Price:
$0.0011/ 1K tokens
(0.0765 Credits)

If it's down, we automatically use the next cheapest available—ensuring 99.9% uptime at the best possible price.

利用 GPT Image 1 可以构建什么

以编辑为主的图像工作流

当你的工作流更依赖图生图变化、参考图引导编辑和质量调节,而不是单纯追逐最新模型标签时,GPT Image 1 仍然是一条有价值的路由。它更适合需要灵活控制项和已知编辑面的团队。

以编辑为主的工作流示例

基于参考图的素材变体

当你需要在已有源图基础上生成变体、切换风格或更新构图时,可以传入一张或多张参考图。对于更依赖参考素材而非纯新图生成的场景,GPT Image 1 依然实用。

基于参考图的素材变体示例

兼容现有系统的生产接入

对于已经熟悉 GPT Image 1 请求模型、价格倍率和编辑行为的团队,它也可以作为兼容性路由继续使用。相比快速迁移到新模型,有时保持可预期的行为更重要。

兼容现有系统的接入示例

为什么通过 EvoLink 使用 GPT Image 1

EvoLink 上的 GPT Image 1 更适合被定义为一条灵活的编辑与兼容性路由:价格逻辑清晰、请求控制项更多、支持参考图输入,并通过异步任务流适配仍在使用该模型的团队。

适合编辑与变体任务的灵活路由

当你的核心需求是图像编辑、图生图行为,以及对质量、尺寸和参考图处理有更明确的请求级控制时,GPT Image 1 仍然有意义。

清晰的价格倍率逻辑

这条路由让团队可以明确控制质量、尺寸和输出数量,因此在发送更大批量或更高频率图像任务前,更容易做成本判断。

适合长任务的异步交付

请求通过异步任务流运行,这比把所有生成、编辑和批量处理都当成立即同步返回更适合真实工作流。

如何集成 GPT Image 1

三步完成请求发送、任务轮询,以及对编辑导向参数的处理。

1

创建 API Key

登录 EvoLink 并创建一个 API Key,用于 Playground 测试和生产请求。这个接入方式同样适用于平台内其他图像路由。

2

构建请求负载

使用 `gpt-image-1` 作为模型名,并传入 prompt、quality、size 和可选的参考图。当你需要更明确地控制编辑类请求时,这条路由尤其合适。

3

轮询任务并保存结果

GPT Image 1 通过异步任务流运行。任务完成后获取结果,并及时保存输出,因为生成结果的 URL 是临时的。

GPT Image 1 核心能力

对于仍在使用 GPT Image 1 的团队,真正重要的是这些请求控制项和编辑能力。

定价

质量倍率控制

可以根据工作流需要选择低、中、高质量,在速度、成本和输出保真度之间做取舍。

控制项

多种尺寸选项

可使用支持的纵横比和像素尺寸来适配不同交付需求,而不必重写整条路由。

批量

批量生成支持

当你需要同一套 prompt 下的多张变体或批量图像任务时,可以在一次请求中生成多个结果。

编辑

参考图输入

在图生图和图像编辑任务中,可以传入多张参考图,适合依赖已有源素材的工作流。

异步

异步任务处理

通过任务轮询来处理更耗时的请求,并在应用工作流中更清晰地获取结果。

使用

商业使用场景

通过 EvoLink 使用 GPT Image 1 生成的输出适合商业场景,可继续用于产品和业务流程中的图像任务。

常见问题

Everything you need to know about the product and billing.

在 EvoLink 上,GPT Image 1 是一条用于文生图、图生图和图像编辑工作流的图像生成路由。它更适合被看作一个灵活的模型接入页,服务于仍然需要这套请求结构的团队。
价格遵循本页展示的路由设置,包括质量、尺寸和输出数量。这种结构使 GPT Image 1 特别适合需要对编辑任务和批量生成任务做明确成本控制的团队。
支持。GPT Image 1 支持图生图请求,也支持带参考图的编辑流程,可用于受控变换和基于已有素材的更新任务。
这条路由的请求模型名是 `gpt-image-1`。建议在测试、实现和生产处理中保持一致。
GPT Image 1 支持在单次请求中传入多张参考图,这对编辑任务、组合式修改以及基于已有源素材的工作流都很有帮助。
可以。GPT Image 1 支持批量式生成,这使它适合需要同一请求配置下多张输出或多轮变体的工作流。
提交请求后,EvoLink 会返回任务 ID。你可以轮询任务端点来检查进度、获取完成结果,并及时保存输出,因为生成图像的 URL 是临时的。
可以使用本页的 API 区块查看请求结构、参数处理方式和异步任务行为,再决定是否将 GPT Image 1 正式接入生产。

查看 GPT Image 家族

GPT Image 1 是 EvoLink 上 GPT Image 家族中的旧版基线路线。 如果你需要把这条 legacy 路线和 GPT Image 1.5 或 GPT Image 2 进行对比,再决定当前更适合的选择,就去家族页继续看。

POST
/v1/images/generations

Generate Image

GPT Image 1 (gpt-image-1) model supports text-to-image, image-to-image, and image editing modes.

Asynchronous processing mode, use the returned task ID to query status.

Generated image links are valid for 24 hours, please save them promptly.

Request Parameters

modelstringRequiredDefault: gpt-image-1

Image generation model name.

ValueDescription
gpt-image-1GPT Image 1 model
Examplegpt-image-1
promptstringRequired

Prompt describing the image to be generated or how to edit the input image.

Notes
  • Limited to 2000 tokens
ExampleA beautiful colorful sunset over the ocean
sizestringOptionalDefault: 1024x1024

Size of generated image, supports two formats.

ValueDescription
1:1Square aspect ratio
2:3Portrait aspect ratio
3:2Landscape aspect ratio
1024x1024Square (default)
1024x1536Portrait
1536x1024Landscape
Notes
  • Aspect ratio format: 1:1, 2:3, 3:2
  • Pixel format: 1024x1024, 1024x1536, 1536x1024
  • Larger sizes produce more output tokens and higher cost
Example1024x1024
qualitystringOptionalDefault: high

Quality of the generated image. Affects pricing.

ValueDescription
lowLow quality, faster — fewest output tokens
mediumMedium quality — balanced
highHigh quality, slower (default) — most output tokens
Examplehigh
image_urlsarrayOptional

Reference image URL list for image-to-image and image editing features.

Notes
  • Supports 1-16 images per request
  • Max size: 50MB per image
  • Formats: .jpeg, .jpg, .png, .webp
  • URLs must be directly accessible by the server
Examplehttps://example.com/image1.png
nintegerOptionalDefault: 1

Number of images to generate.

ValueDescription
1-10Range from 1 to 10 images
Notes
  • Each image is billed independently by token usage
Example1
callback_urlstringOptional

HTTPS callback address after task completion.

Notes
  • Triggered on completion, failure, or cancellation
  • Sent after billing confirmation
  • HTTPS only, no internal IPs
  • Max length: 2048 chars
  • Timeout: 10s, Max 3 retries
Examplehttps://your-domain.com/webhooks/image-task-completed

Pricing Information

Billing Model: Token-based — charged by the token counts reported in the upstream usage object.

Token Categories:

  • Image Output — scales with size and quality (low/medium/high)
  • Image Input — applies only in image-to-image / edit mode
  • Image Cached Input — charged when cached tokens are reported
  • Text Input — prompt token consumption
  • Text Cached Input — charged when cached prompt tokens are reported

See the Pricing tab for per-token rates by user group.

Request Example

{
  "model": "gpt-image-1",
  "prompt": "A beautiful colorful sunset over the ocean",
  "size": "1024x1024",
  "quality": "medium",
  "n": 1,
  "callback_url": "https://your-domain.com/webhooks/callback"
}

Response Example

{
  "created": 1757156493,
  "id": "task-unified-1757156493-imcg5zqt",
  "model": "gpt-image-1",
  "object": "image.generation.task",
  "progress": 0,
  "status": "pending",
  "task_info": {
    "can_cancel": true,
    "estimated_time": 100
  },
  "type": "image",
  "usage": {
    "billing_rule": "per_token",
    "credits_reserved": 2.45,
    "user_group": "default"
  }
}