fujc683/gpt-image-2-6-api
fujc683/gpt-image-2-6-api has 100 GitHub stars and 0 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-18 08:56 UTC. Last push 2026-11-05.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
GPT Image 2.6 API: endpoint, parameters, errors and cost.
LearningREADME.md
OriginalGPT Image 2.6 API — endpoint, parameters and pricing
How to call GPT Image 2.6 on APIMart: async task API, parameters, errors and cost.
👉 Try GPT Image 2.6 on APIMart
https://gola.apimart.ai/k-IHJgxo
Quick start
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-2.6-flare","prompt":"a red apple on a white table","n":1,"size":"1024x1024"}'
The API is asynchronous: the call returns a task_id, then you poll it.
curl https://api.apimart.ai/v1/tasks/<task_id> -H "Authorization: Bearer $APIMART_API_KEY"
Models
| Model id | Variant | Notes |
|---|---|---|
gpt-image-2-6 alias |
— | resolves to Flare |
gpt-image-2.6-flare |
Flare | faster profile |
gpt-image-2.6-sunburst |
Sunburst | quality profile |
Parameters
| Field | Type | Description |
|---|---|---|
model |
string | gpt-image-2.6-flare or gpt-image-2.6-sunburst |
prompt |
string | text prompt (English works best) |
n |
int | number of images, 1-4 |
size |
string | 1024x1024, 1536x1024, 1024x1536 |
reference_image |
url | optional image-to-image input |
Response
{"code":200,"data":[{"status":"submitted","task_id":"task_xxx"}]}
Poll GET /v1/tasks/{task_id}; on success data.result.images[0].url holds the image,
data.cost holds the final billed amount in USD.
Pricing
| Variant | Price |
|---|---|
| GPT Image 2.6 Flare | $0.0198 / image |
| GPT Image 2.6 Sunburst | $0.0198 / image |
Member discounts stack on top. See the pricing page for live numbers.
Errors
| Code | Meaning |
|---|---|
model_not_found |
model id typo or not rolled out yet |
invalid_request_error |
bad parameter (e.g. unsupported size) |
task_failed |
upstream refused; check error.message |
Related
- Prompt library: gpt-image-2-6-prompts
- More image models: awesome prompt collections
License
CC BY 4.0
