纯文本规格说明
纯文本规格说明
GPT Image 2 API
GPT Image 2 是由 OpenAI 推出的图像生成和图像编辑模型,可通过 Venice API 以gpt-image-2 调用。请求经过匿名化处理,服务提供商永远不会看到您的身份。GPT Image 2 API 价格
| 模型 ID | 变体 | 隐私 | 价格 |
|---|---|---|---|
gpt-image-2 | 生成 | Anonymized | $0.27 / 张 |
gpt-image-2-edit | 编辑 | Anonymized | $0.34 / 次编辑 |
GPT Image 2 规格
| 规格 | 值 |
|---|---|
| 提供商 | OpenAI |
| 发布日期 | 2026年4月21日 |
| 隐私 | Anonymized |
| 状态 | 稳定 |
| 分辨率 | 1K, 2K, 4K |
| 宽高比 | 1:1, 3:2, 16:9, 21:9, 9:16, 2:3, 3:4, 4:5 |
| 提示词上限 | 10,000 字符 |
如何使用 GPT Image 2 API
使用"model": "gpt-image-2" 和您的 API 密钥向 POST https://api.venice.ai/api/v1/image/generate 发送请求。curl https://api.venice.ai/api/v1/image/generate \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
"resolution": "1K",
"aspect_ratio": "1:1"
}'
相关模型
- GPT Image 1.5 API: $0.26 / 张
- Recraft V4 Pro API: $0.29 / 张
- Ideogram V4.5 API: $0.26 / 张
- Nano Banana Pro API: $0.18 / 张