gpt-image-2.5-sunburst API
gpt-image-2.5-sunburst is a image generation model from OpenAI, available on OneFast API behind the same API key as every other model in the catalog.
Pricing
| Usage | Price (USD) |
|---|---|
| Input | $4.00 / 1M tokens |
| Output | $24.00 / 1M tokens |
Billed per 1M tokens, pay as you go in USD. Failed requests are not billed. The price shown is the public list price; after signing in, the console shows the price for your own account.
Model details
| Model ID | gpt-image-2.5-sunburst |
| Provider | OpenAI |
| Type | Image |
Endpoints
POST /v1/images/generations— Text-to-image (docs)POST /v1/images/edits— Image-to-image / inpainting (docs)
Quickstart
Create an API key in the console, then call the API:
curl https://api.onefast.ai/v1/images/generations \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2.5-sunburst",
"prompt": "A cute corgi astronaut, studio lighting",
"size": "1024x1024",
"n": 1
}'More examples: Text-to-image docs · Quickstart.