WA
wavespeed/gpt-image-2
Lancé le 2025-01-16 · En service depuis 490 joursStripePayPalCardWeChatAlipayNaver PayHOT
Capacité
Texte vers imageImage vers image
Remise pondérée
+13%
Classement prix #13 / 13
Mode de facturation
Par configuration
Qualité × Résolution
Complétude des paramètres
44%
Score doc. API 54/100
Points d'accès clairs mais méthode d'authentification vague, aucun exemple de code ni code d'erreur
Tarifs
| Qualité \ Résolution | 1K | 2K | 4K |
|---|---|---|---|
| Low | $0.01 $0.006 +67% | $0.02 $0.012 +67% | $0.03 $0.016 +87% |
| Medium | $0.06 $0.053 +13% | $0.12 $0.107 +12% | $0.18 $0.139 +29% |
| High | $0.22 $0.211 +4% | $0.44 $0.428 +3% | $0.66 $0.565 +17% |
Unité de prix : USD, prix officiel de OpenAI tarification publique (USD)
API
Style API
Custom RESTLivraison
Async (Polling)Sync
SDK
REST uniquement
Sortie
urlbase64
Intégration
URL de base
https://api.wavespeed.aiPoint de terminaison
POST
/api/v3/openai/gpt-image-2/text-to-imageAuthentification
api-key-header
Content-Type
application/jsonInterrogation
/api/v3/predictions/{request_id}/resultParamètres de requête
| Nom | Type | Requis | Défaut | Valeurs |
|---|---|---|---|---|
| prompt | string | requis | — | — |
| aspect_ratio | string | optionnel | — | 1:13:22:33:44:34:5+4 |
| resolution | string | optionnel | 1k | 1k2k4k |
| quality | string | optionnel | medium | lowmediumhigh |
| output_format | string | optionnel | png | pngjpegwebp |
| enable_sync_mode | boolean | optionnel | false | — |
| enable_base64_output | boolean | optionnel | false | — |
| images | array | optionnel | — | — |
Expérience développeur
Exemples de code
curl
extracted_from: api文档类型/补充wavespeed; Bearer auth confirmed; t2i endpoint: /api/v3/openai/gpt-image-2/text-to-image; i2i endpoint: /api/v3/openai/gpt-image-2/edit; quality low/medium/high; output_format png/jpeg/webp; 10种aspect_ratio; resolution 1k/2k/4k; Playground available