Capacité
Texte vers imageImage vers image
Remise pondérée
-64%
Classement prix #7 / 13
Mode de facturation
Par configuration
Qualité
Complétude des paramètres
89%
Score doc. API 79/100
Documentation la plus complète, Playground disponible pour les tests, exemples multi-langages exhaustifs
Tarifs
| Qualité \ Résolution | 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% |
Unité de prix : USD, prix officiel de OpenAI tarification publique (USD)
API
Style API
Custom RESTLivraison
Async (Polling)Async (Webhook)
SDK
replicate
Sortie
url
Intégration
URL de base
https://api.replicate.comPoint de terminaison
POST
/v1/predictionsAuthentification
bearer(Authorization)
Content-Type
application/jsonInterrogation
/v1/predictions/{id}Paramètres de requête
| Nom | Type | Requis | Défaut | Valeurs |
|---|---|---|---|---|
| prompt | string | requis | — | — |
| aspect_ratio | string | optionnel | — | 1:13:22:3 |
| quality | string | optionnel | auto | lowmediumhighauto |
| number_of_images | integer | optionnel | 1 | — |
| output_format | string | optionnel | webp | webppngjpeg |
| background | string | optionnel | auto | autoopaque |
| moderation | string | optionnel | auto | autolow |
| output_compression | integer | optionnel | — | — |
| input_images | array | optionnel | — | — |
| openai_api_key | string | optionnel | — | — |
Expérience développeur
Exemples de code
pythonjavascriptcurl
Bac à sable
Disponible
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
Autres fournisseurs pour ce modèleGPT Image 2
| # | Fournisseur | Remise pond. | Score API | Complétude | Paiement |
|---|---|---|---|---|---|
| 1 | -64% | 79/100 | 89% | CardBank |