能力
文生图图生图
加权折扣
-64%
价格排名 #7 / 13 家
计价方式
按配置计价
质量
参数完整度
89%
API文档综合评分 79/100
文档最完整,提供Playground在线调试,多语言示例齐全
价格
| 质量 \ 分辨率 | 1K | 2K | 4K |
|---|---|---|---|
| Low | $0.012 $0.006 +100% | $0.012 $0.012 | $0.012 $0.016 -25% |
| Medium | $0.047 $0.053 -11% | $0.047 $0.107 -56% | $0.047 $0.139 -66% |
| High | $0.128 $0.211 -39% | $0.128 $0.428 -70% | $0.128 $0.565 -77% |
价格单位: USD,官方价格来自 OpenAI 公开定价 (USD)
API
API 风格
Custom REST交付方式
Async (Polling)Async (Webhook)
SDK
replicate
输出格式
url
集成信息
基础 URL
https://api.replicate.com接口路径
POST
/v1/predictions鉴权方式
bearer(Authorization)
Content-Type
application/json轮询
/v1/predictions/{id}请求参数
| 名称 | 类型 | 必填 | 默认值 | 可选值 |
|---|---|---|---|---|
| prompt | string | 必填 | — | — |
| aspect_ratio | string | 可选 | — | 1:13:22:3 |
| quality | string | 可选 | auto | lowmediumhighauto |
| number_of_images | integer | 可选 | 1 | — |
| output_format | string | 可选 | webp | webppngjpeg |
| background | string | 可选 | auto | autoopaque |
| moderation | string | 可选 | auto | autolow |
| output_compression | integer | 可选 | — | — |
| input_images | array | 可选 | — | — |
| openai_api_key | string | 可选 | — | — |
开发体验
代码示例
pythonjavascriptcurl
沙盒环境
可用
source: https://replicate.com/openai/gpt-image-2/llms.txt; model version: openai/gpt-image-2; replicate standard prediction API; transparent backgrounds NOT supported; playground available at replicate.com/playground
同模型其他服务商GPT Image 2
| # | 服务商 | 加权折扣 | API评分 | 完整度 | 支付 |
|---|---|---|---|---|---|
| 1 | -64% | 79/100 | 89% | CardBank |