AP
apimart/gpt-image-2
Lancé le 2025-09-25 · En service depuis 238 joursWeChatAlipayCryptoPayPalCreemHOT
Capacité
Texte vers imageImage vers image
Remise pondérée
-93%
Classement prix #3 / 13
Mode de facturation
Par configuration
Résolution
Complétude des paramètres
33%
Score doc. API 73/100
Structure documentaire complète mais aucun exemple de code, documentation de gestion des erreurs manquante
Tarifs
| Qualité \ Résolution | 1K | 2K | 4K |
|---|---|---|---|
| Low | $0.006 $0.006 | $0.012 $0.012 | $0.018 $0.016 +12% |
| Medium | $0.006 $0.053 -89% | $0.012 $0.107 -89% | $0.018 $0.139 -87% |
| High | $0.006 $0.211 -97% | $0.012 $0.428 -97% | $0.018 $0.565 -97% |
Unité de prix : USD, prix officiel de OpenAI tarification publique (USD)
API
Style API
Custom RESTLivraison
Async (Polling)
SDK
REST uniquement
Sortie
url
Intégration
URL de base
https://api.apimart.aiPoint de terminaison
POST
/v1/images/generationsAuthentification
bearer(Authorization)
Content-Type
application/jsonInterrogation
/v1/tasks/{task_id}Paramètres de requête
| Nom | Type | Requis | Défaut | Valeurs |
|---|---|---|---|---|
| model | string | requis | gpt-image-2 | gpt-image-2 |
| prompt | string | requis | — | — |
| n | integer | optionnel | 1 | — |
| size | string | optionnel | 1:1 | auto1:13:22:34:33:4+10 |
| resolution | string | optionnel | 1k | 1k2k4k |
| image_urls | array | optionnel | — | — |
| official_fallback | boolean | optionnel | false | — |
Opérationnel
Délai d'expiration
Initial delay 10-20s, poll interval 3-5s, typical completion 44-53s
Expérience développeur
Exemples de code
curlpythonjavascriptgojavaphprubyswiftcsharpdartr
extracted_from: api文档类型/补充apimart; 11语言示例; n固定1; 15比例+pixel; resolution 1k/2k/4k; image_urls up to 16 URL+base64混填; 4K仅8比例; R2稳定链接; batch poll POST /v1/tasks/batch