OpenAI 的 gpt-image-2 模型,支持文本、图像输入和图像输出。
o200k_baseOpenAI 的 gpt-image-2 模型,支持文本、图像输入和图像输出。
Starting points for evaluation; supported inputs and options are listed in API access.
Specify the subject, composition, lighting and style. Only include reference images or editing parameters when the endpoint supports them.
A minimalist product photograph of a ceramic cup on pale stone, soft window light, ample empty space on the right, warm neutral colors.
/v1/images/generations| Parameter | Type | Default / range | Description |
|---|---|---|---|
promptrequired | string | — | Text description of the desired image |
size | enum | = 1024x1024 | Output image size |
quality | enum | = standard | Generation quality preset |
style | enum | = vivid | Aesthetic style |
n | integer | = 11 ~ 10 | Number of images to generate |
response_format | enum | = url | How to deliver the resulting image |
Replace <YOUR_API_KEY> with the API key from your token settings.
All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.
Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.
| Parameter | Type | Default / range | Description |
|---|---|---|---|
promptrequired | string | — | Text description of the desired image |
size | enum | = 1024x1024 | Output image size |
quality | enum | = standard | Generation quality preset |
style | enum | = vivid | Aesthetic style |
n | integer | = 11 ~ 10 | Number of images to generate |
response_format | enum | = url | How to deliver the resulting image |
| Supplier | RPM | TPM | RPD |
|---|---|---|---|
| GPT官+AZ 混合 | 60 | — | 1.0K |
| OpenAI | 100 | — | 1.6K |
| 优质按次 | 100 | — | 1.7K |
| 标准按次 | 100 | — | 1.7K |
RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply per token group.
OpenAI 的 gpt-image-2 模型,支持文本、图像输入和图像输出。
Create an API key with access to gpt-image-2, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.
Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.
Specify the subject, composition, lighting and style. Only include reference images or editing parameters when the endpoint supports them.