Capacité
Texte vers imageImage vers image
Remise pondérée
-94%
Classement prix #5 / 13
Mode de facturation
Par configuration
Résolution
Complétude des paramètres
44%
Score doc. API 55/100
API compatible OpenAI, facile à utiliser mais exemples cURL uniquement, documentation des codes d'erreur manquante
Tarifs
| Qualité \ Résolution | 1K | 2K | 4K |
|---|---|---|---|
| Low | $0.0088 $0.006 +47% | $0.0118 $0.012 -2% | $0.0118 $0.016 -26% |
| Medium | $0.0088 $0.053 -83% | $0.0118 $0.107 -89% | $0.0118 $0.139 -92% |
| High | $0.0088 $0.211 -96% | $0.0118 $0.428 -97% | $0.0118 $0.565 -98% |
Unité de prix : USD, prix officiel de OpenAI tarification publique (USD)
API
Style API
OpenAI CompatibleLivraison
Sync
SDK
OpenAI SDK
Sortie
urlbase64
Intégration
URL de base
https://api.openai-hk.comPoint de terminaison
POST
/v1/images/generationsAuthentification
bearer(Authorization)
Content-Type
application/jsonParamètres de requête
| Nom | Type | Requis | Défaut | Valeurs |
|---|---|---|---|---|
| model | string | requis | — | gpt-image-2gpt-image-1.5gpt-image-1 |
| prompt | string | requis | — | — |
| n | integer | optionnel | — | — |
| size | string | optionnel | auto | 1024x10241536x10241024x15362048x20482048x11523840x2160+1 |
| quality | string | optionnel | auto | lowmediumhighauto |
| response_format | string | optionnel | url | urlb64_json |
Expérience développeur
Exemples de code
curl
extracted_from: https://openai-hk.com/docs/openai/gpt-image.html; also supports /v1/images/edits for i2i