← Back
cqk4s1t

cqk4s1t/gptimage2.5-gpt-image-2.5-api

gpt-image-2.5 API (gptimage2.5 / gpt image 2.5): flare@1K $0.0085; sunburst@1K $0.0085; flare@2K $0.014. Model id, api settings, curl and Python examples over an OpenAI-compatible

View on GitHub ↗https://go.apimart.ai/k-ff3fb2 ↗
apiapi-docsapimartgpt-image-2-5gpt-image-2-5-apigptimage2-5gptimage2-5-apiopenai-compatiblepay-as-you-goper-image-pricingtext-to-image
Stars
89
Forks
0
Watchers
89
Open issues
0
Contributors
1
Language
Shell
License
Other
Default branch
main
Created Sep 24, 2026Updated Sep 24, 2026

Star growth

Today—
This week—
This month—

Star history will appear here once this repo has been tracked for a couple of days.

README

GPT Image 2.5 API (gpt-image-2.5 / gptimage2.5) — api guide with published pricing

GPT Image 2.5 sample

flare@1K $0.0085; sunburst@1K $0.0085; flare@2K $0.014 — flat per-unit billing through the OpenAI-compatible APIMart gateway, $1 minimum top-up.

Live pricing · Get an API key

Everything here refers to gpt-image-2.5 — also written gptimage2.5 or gpt image 2.5.

Pricing (observed, snapshot 2026-09-24)

Tier Price
flare@1K $0.0085
sunburst@1K $0.0085
flare@2K $0.014
sunburst@2K $0.014

Cost at scale

Volume Cost
100 $0.85
1,000 $8.5

How to call it

curl --request POST --url https://api.apimart.ai/v1/images/generations \
  --header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
  --data '{"model":"gpt-image-2.5-ext","prompt":"a modern cliffside villa at dusk","size":"16:9","n":1}'

Submit, keep the task_id, poll GET /v1/tasks/{id} until completed; the response carries the URL and the exact amount charged.

Disclosure

Documents access through APIMart, a third-party API gateway; not affiliated with the model vendor.