返回模型列表
GPT Image 1 Mini
openaiopenai/gpt-image-1-mini
媒体生成能力
image_generation
- sizes
- 1024x1024
- 1024x1536
- 1536x1024
- qualities
- low
- medium
- high
- max_outputs_per_request
- 4
- output_formats
- png
- jpeg
- webp
- defaults
- size
- 1024x1024
- quality
- medium
API 使用指南
图像生成
GPT Image 1 Mini 使用 Images API(非 Chat API)。向 /v1/images/generations 发送 POST 请求,包含提示词和模型 ID。
cURL
curl https://api.therouter.ai/v1/images/generations \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-1-mini",
"prompt": "A serene Japanese garden in spring with cherry blossoms, digital art style",
"n": 1,
"size": "1024x1024",
"quality": "medium",
"output_format": "png"
}'图像编辑
通过提供输入图像和描述修改的文字提示来编辑现有图像。模型支持风格变换、对象修改和背景更改。
cURL
curl https://api.therouter.ai/v1/images/generations \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-1-mini",
"prompt": "Transform this image into a watercolor painting",
"image": "<base64-encoded-image>",
"size": "1024x1024",
"quality": "medium"
}'事实档案 — 本页每条断言可在此回溯来源
| 来源 | URL | 采集于 | |
|---|---|---|---|
| 发布日期 | openai.com ↗ | 2026-05-29 | 已核实 |
| 架构 | developers.openai.com ↗ | 2026-05-29 | 待核实 |
| 可用输出分辨率 | developers.openai.com ↗ | 2026-05-29 | 已核实 |
| 质量等级 | developers.openai.com ↗ | 2026-05-29 | 已核实 |
| 支持的输出格式 | developers.openai.com ↗ | 2026-05-29 | 已核实 |
| 内容审核 | developers.openai.com ↗ | 2026-05-29 | 已核实 |
| 许可 | en.wikipedia.org ↗ | 2026-05-29 | 已核实 |
| Cost reduction vs GPT Image 1 | developers.openai.com ↗ | 2026-05-29 | 已核实 |
| Generation speed | simonwillison.net ↗ | 2026-05-29 | 待核实 |
| Text rendering accuracy | community.openai.com ↗ | 2026-05-29 | 待核实 |
| OpenAI 在 DevDay 2025 推出 gpt-image-1-mini | community.openai.com ↗ | 2026-05-29 | 已核实 |
| gpt-image-1-mini 与完整版 gpt-image-1 相比如何? | developers.openai.com ↗ | 2026-05-29 | 待核实 |
| 有哪些质量设置可选,我该用哪个? | developers.openai.com ↗ | 2026-05-29 | 待核实 |
| 可以通过 Chat API 使用 gpt-image-1-mini 吗? | developers.openai.com ↗ | 2026-05-29 | 待核实 |