OpenAI logo

gpt-image-2.5-sunburst API

gpt-image-2.5-sunburst

Generate images with gpt-image-2.5-sunburst through the APINEED Chat Completions API.

Send chat messages and extract the generated image from the response. This workflow does not return an asynchronous task ID.

MODALITIES

Playground

Generate with gpt-image-2.5-sunburst, review the output, and use the same request shape in your application.

Workflow
Sign in required. Final cost uses completed usage.
Output Ready
Request preview
{
  "model": "gpt-image-2.5-sunburst",
  "messages": [
    {
      "role": "user",
      "content": "A refined product photograph with natural lighting, realistic materials and a clean background."
    }
  ],
  "stream": false
}

Provider

Current API Need routing.

API Need

Pricing

Current selling prices in USD. Channel and group adjustments are already included. A range means available routes have different prices.

Image output$31.515 / 1M image tokens
Input$5.2525 / 1M
Text output$0 / 1M
Image input$8.404 / 1M image tokens
Web search$10.505 / 1K calls

Availability

Recent public performance data for this model.

No model-specific availability history is published yet. A successful request is not an uptime guarantee.

Quick Start

Call gpt-image-2.5-sunburst with the endpoint and request format shown below.

1

Create an API key

Store your APINEED key server-side as API_NEED_API_KEY.

export API_NEED_API_KEY=sk-apineed-v1-...
2

Send the request

Use gpt-image-2.5-sunburst with POST /v1/chat/completions.

curl https://apineed.com/v1/chat/completions \
  -H "Authorization: Bearer $API_NEED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-image-2.5-sunburst",
  "messages": [
    {
      "role": "user",
      "content": "A refined product photograph with natural lighting, realistic materials and a clean background."
    }
  ],
  "stream": false
}'
3

Parse the image

Read choices[0].message.content and detect Markdown or raw image data URLs.

const content = response.choices[0].message.content;

gpt-image-2.5-sunburst API Endpoint

Submit text and optional image content blocks through the Chat Completions-compatible route.

POST/v1/chat/completions
Authorization
Bearer $API_NEED_API_KEY
Content-Type
application/json
HTTP-Referer
optional - your site URL, for rankings
Model
gpt-image-2.5-sunburst

Parameters

Use the supported parameters below. Leave optional fields out to use the service defaults.

NameTypeValuesDescription
modelstringRequiredUse gpt-image-2.5-sunburst.
messagesarrayRequiredConversation messages sent to the model.
streambooleanfalseThe playground reads the completed image response.

gpt-image-2.5-sunburst API questions

Practical answers for choosing, integrating, pricing, and operating the gpt-image-2.5-sunburst API on APINEED.

Which model ID should I use for gpt-image-2.5-sunburst?

Use gpt-image-2.5-sunburst, exactly as returned by the API Need pricing API.

Which endpoint should I use?

Send a POST request to /v1/chat/completions using your APINEED API key. Follow the request example and parameter table on this page.

How is the API Need price calculated?

See Pricing for the current rates and discounts. Final charges use recorded usage.

How to deploy gpt-image-2.5-sunburst

Connect gpt-image-2.5-sunburst to your application through the APINEED media API.

1

Add credits

Add APINEED credits before submitting a billable generation.

2

Create an API key

Create and securely store an APINEED API key.

3

Configure the endpoint

Send gpt-image-2.5-sunburst requests to /v1/chat/completions.

4

Handle the result

Extract generated image data URLs from the completion response.

More live models