Seedance 2.0 API — 即将上线Get early access

GPT Image 1 API

将文本转化为惊艳的视觉效果。GPT Image 1 支持文生图、图生图和图像编辑模式,提供灵活的质量和尺寸选项。

A beautiful colorful sunset over the ocean

Parameters
size
1024x1024
quality
medium
n
1
Estimated Cost (per image)
1.96 Credits
Total = Base Price × Quality × Size × Count (n)
Sample Result

No sample available

42 (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:多功能 AI 图像生成

将强大的图像生成能力集成到您的软件中。从文生图创作到高级图像编辑,GPT Image 1 提供高质量结果,并基于质量和尺寸提供灵活定价。

示例 1

Pricing

GPT Image 1
Image Generation
Quality:Low
Size:1024×1024
Price:
$0.0087/ image
(0.62899 Credits)
GPT Image 1
Image Generation
Quality:Low
Size:1024×1536, 1536×1024
Price:
$0.0128/ image
(0.92462 Credits)
Popular
GPT Image 1
Image Generation
Quality:Medium
Size:1024×1024
Price:
$0.0336/ image
(2.4192 Credits)
GPT Image 1
Image Generation
Quality:Medium
Size:1024×1536, 1536×1024
Price:
$0.0494/ image
(3.55622 Credits)
GPT Image 1
Image Generation
Quality:High
Size:1024×1024
Price:
$0.1314/ image
(9.45907 Credits)
GPT Image 1
Image Generation
Quality:High
Size:1024×1536, 1536×1024
Price:
$0.1931/ image
(13.90484 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 API 使平台能够自动生成数百种针对特定用户群体的独特广告变体,在不增加设计人力的情况下显著提升点击率(CTR)。

示例 2

电商虚拟摄影

通过具备上下文感知的视觉效果改造产品列表。无需昂贵的影棚拍摄,利用该模型将产品置于超写实的生活化背景中,帮助客户想象商品在自己生活中的样子。

示例 3

图像编辑与增强

超越简单的生成,拥有强大的编辑能力。上传参考图并使用提示词,以 AI 驱动的精准度对现有视觉素材进行变换、增强或修改。

示例 4

为什么选择 GPT Image 1 API?

通过 evolink.ai 访问此模型,结合了强大的图像生成能力、灵活的定价和企业级基础设施。

灵活的定价模型

只为您需要的服务付费。通过质量等级(低、中、高)和尺寸选项,您可以根据使用场景优化成本。低质量仅需标准价的 0.26 倍,而高质量则以 3.91 倍提供顶级效果。

多模式支持

一个 API 满足您所有的图像需求。GPT Image 1 支持文生图生成、图生图变换和图像编辑——全部通过统一接口实现,最多支持 16 张参考图。

企业级可用性

依托 evolink.ai 稳健的基础设施,访问此模型意味着您将获得高并发支持和 99.9% 的可用性,保护您的应用免受公共研究型 API 常见波动的影响。

如何集成 GPT Image 1

三步将多功能图像生成能力添加到您的技术栈中。

1

获取您的凭证

在 evolink.ai 注册以接收您的安全 API 密钥。这一把密钥即可让您获得对 GPT Image 1 模型流水线的鉴权访问。

2

构建您的请求负载

在简单的 JSON 请求中定义您的图像参数——提示词、质量、尺寸和可选的参考图。我们开发者友好的文档让配置变得直观。

3

获取并展示

发送请求并异步接收高质量图像 URL。我们优化的分发网络确保为生产级应用提供可靠性能。

GPT Image 1 核心能力

深入了解通过我们平台可访问的模型技术优势。

灵活性

三档质量等级

从低(0.26×)、中(1×)或高(3.91×)质量设置中选择,为您特定的使用场景平衡速度、成本和输出质量。

通用性

多种尺寸选项

生成正方形(1:1)、竖版(2:3)或横版(3:2)图像。非正方形尺寸具有 1.47× 的价格倍率,定价透明。

效率

批量生成

通过 n 参数在单次请求中生成多达 10 张图像。总成本线性扩展,账单可预测。

强大

参考图支持

为图生图和编辑任务上传多达 16 张参考图(每张最大 50MB)。支持 JPEG、PNG 和 WebP 格式。

架构

异步处理

具备进度跟踪的异步任务处理。查询任务状态并在准备就绪时获取结果,提供最佳用户体验。

合规

商业许可

通过 GPT Image 1 API 生成的图像附带完整的商业使用权,允许您在无法律顾虑的情况下将内容变现。

常见问题

Everything you need to know about the product and billing.

GPT Image 1 API 是一项多功能的图像生成服务,支持文生图、图生图和图像编辑模式。它提供灵活的质量(低/中/高)和尺寸(正方形/竖版/横版)选项,并具备透明的定价倍率。evolink.ai 集成此模型,为开发者提供稳定、高性能的商用接口。
定价遵循透明的倍率系统:基础价格 × 质量倍率 × 尺寸倍率 × 数量 (n)。质量倍率为:低(0.26×)、中(1×)、高(3.91×)。尺寸倍率为:正方形(1×)、非正方形(1.47×)。这允许您根据具体需求优化成本。
是的,绝对可以。您保留对使用 GPT Image 1 API 生成的所有图像的完整所有权和商业权利。这意味着您可以将这些作品用于数字广告、实体商品、游戏资产和网站内容,而无需支付版税。
API 同时支持纵横比格式(1:1、2:3、3:2)和像素格式(1024x1024、1024x1536、1536x1024)。输出图像以 URL 形式交付,有效期为 24 小时。参考图可以是 JPEG、PNG 或 WebP 格式,每张最大 50MB。
您可以使用 n 参数在单次请求中生成 1 到 10 张图像。每增加一张图像的成本与第一张相同,使批量生成对于大量使用场景非常划算。
您可以使用 image_urls 参数在每次请求中上传多达 16 张参考图。这些图像用于图生图变换和编辑任务。URL 必须能被服务器直接访问,并支持 JPEG、JPG、PNG 和 WebP 格式。
根据您的使用场景选择:低质量(0.26× 成本)适用于快速原型设计和预览,中质量(1× 成本)适用于标准生产使用,高质量(3.91× 成本)适用于需要最大细节和保真度的顶级输出。
当您提交请求时,会立即收到一个任务 ID。使用此 ID 轮询 /v1/tasks/{task_id} 端点以检查进度,并在任务完成时获取结果。这种架构允许您的应用优雅地处理耗时较长的生成任务。
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
  • Non-square sizes have 1.47× pricing multiplier
Example1024x1024
qualitystringOptionalDefault: high

Quality of the generated image. Affects pricing.

ValueDescription
lowLow quality, faster (0.26× price)
mediumMedium quality (1× price)
highHigh quality, slower (default, 3.91× price)
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
  • Total price = base price × quality × size × n
Example1

Pricing Information

Base Price: ¥0.196 / 1.96 Credits per image (medium quality, square)

Quality Multipliers:

  • Low: ×0.26
  • Medium: ×1.0 (default)
  • High: ×3.91

Size Multipliers:

  • Square (1:1, 1024x1024): ×1.0
  • Non-square: ×1.47

Formula: Total = Base × Quality × Size × n

Request Example

{
  "model": "gpt-image-1",
  "prompt": "A beautiful colorful sunset over the ocean",
  "size": "1024x1024",
  "quality": "medium",
  "n": 1
}

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_call",
    "credits_reserved": 1.96,
    "user_group": "default"
  }
}