Zwei Modelle, eine Integration
Flare ist das schnelle Alltagsmodell, Sunburst das präzise. Beide teilen sich Endpunkt, Anfrageformat und Preistabelle – der Wechsel ist eine Änderung von einem Wort.
GPT Image 2.5 API / Flare und Sunburst über eine token-basierte API
Erstellen und bearbeiten Sie Bilder mit Flare und Sunburst. Für beide Modelle gelten bei PiAPI dieselben Tokenpreise.
USD pro 1 Million Token. Für Flare und Sunburst gelten dieselben Tarife.
| Modell | Texteingabe | Bildeingabe | Bildausgabe |
|---|---|---|---|
gpt-image-2.5-flareAm schnellstenHochwertige Bildgenerierung für den täglichen Gebrauch. | $3.75 | $6.00 | $22.50 |
gpt-image-2.5-sunburstAm leistungsstärkstenPräzise Bildgenerierung und Bildbearbeitung. | $3.75 | $6.00 | $22.50 |
Bereit, mit GPT Image 2.5 zu bauen?
Das bekommen Sie, wenn Sie GPT Image 2.5 über die PiAPI-Task-API aufrufen.
Flare ist das schnelle Alltagsmodell, Sunburst das präzise. Beide teilen sich Endpunkt, Anfrageformat und Preistabelle – der Wechsel ist eine Änderung von einem Wort.
Der Parameter quality akzeptiert auto, low, medium und high. So wägen Sie Renderzeit gegen Detailgrad pro Anfrage ab statt einmalig pro Integration.
Senden Sie einen Prompt für Text-zu-Bild oder Referenzbilder, um ein vorhandenes Bild zu bearbeiten. Beides läuft über dieselbe asynchrone Task-API.
Sie zahlen pro Token für Texteingabe, Bildeingabe und Bildausgabe. Keine Platzgebühr, kein Abo – die veröffentlichten Tarife stehen in der Tabelle oben.
Task absenden, Task-ID erhalten, dann den Task-Endpunkt abfragen oder auf den Webhook warten. Lange Generierungen blockieren Ihren Anfrage-Thread nie.
Flare und Sunburst sind über die PiAPI-API verfügbar. Endpunkte, Authentifizierung und Anfrageparameter finden Sie in der API-Dokumentation.
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/images/generations/async' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-image-2.5-flare",
"prompt": "YOUR_PROMPT",
"size": "1024x1024",
"quality": "low"
}'curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'image_urls / image_url / data
curl -X POST 'https://api.piapi.ai/api/v1/images/edits/async' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-image-2.5-flare",
"prompt": "YOUR_PROMPT",
"size": "1024x1024",
"quality": "low",
"image": [
"YOUR_IMAGE_URL"
]
}'curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'image_urls / image_url / data
curl -X POST 'https://api.piapi.ai/api/v1/images/generations/async' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-image-2.5-sunburst",
"prompt": "YOUR_PROMPT",
"size": "1024x1024",
"quality": "low"
}'curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'image_urls / image_url / data
curl -X POST 'https://api.piapi.ai/api/v1/images/edits/async' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-image-2.5-sunburst",
"prompt": "YOUR_PROMPT",
"size": "1024x1024",
"quality": "low",
"image": [
"YOUR_IMAGE_URL"
]
}'curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'image_urls / image_url / data
Die API unterstützt gpt-image-2.5-flare und gpt-image-2.5-sunburst zur Bildgenerierung und Bildbearbeitung.
USD pro 1 Million Token. Für Flare und Sunburst gelten dieselben Tarife.
Der Parameter quality akzeptiert auto, low, medium und high. Die API weist xhigh, max und standard mit HTTP 400 zurück.
More questions? See the API docs.
Anleitungen und Vergleiche zur GPT-Image-Familie im PiAPI-Blog.