[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-113845":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":13,"stars30d":13,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":15,"rankGlobal":10,"rankLanguage":10,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":10,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":13,"starSnapshotCount":13,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},113845,"gpt-image-2-5-flare-api","x8gsru\u002Fgpt-image-2-5-flare-api","x8gsru","GPT Image 2.5 Flare API (`gpt-image-2.5-ext`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.","https:\u002F\u002Fgo.apimart.ai\u002Fk-ac7450",null,"Python",63,0,64,40,"Other",false,"main",true,[21,22,23,24,5,25,26,27,28],"ai-api-gateway","ai-image-api","apimart","gpt-image-2-5-flare","image-api","image-editing","image-generation","text-to-image","2026-10-18 10:47:01","2026-11-17 18:34:26","# GPT Image 2.5 Flare API (`gpt-image-2.5-ext`)\n\n\u003C!-- conv-kit:v1 -->\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbadges\u002Fprice.svg\" alt=\"observed unit price\"> \u003Cimg src=\"assets\u002Fbadges\u002Fbilling.svg\" alt=\"billing model\"> \u003Cimg src=\"assets\u002Fbadges\u002Fcompat.svg\" alt=\"OpenAI-compatible endpoint\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002F01-product-hero-perfume.jpg\" width=\"820\" alt=\"Sample render via the APIMart image API\">\n\u003C\u002Fp>\n\n> **from $0.010625 per image** on the APIMart route — one OpenAI-compatible endpoint at `https:\u002F\u002Fapi.apimart.ai\u002Fv1`, no monthly plan required. *(observed 2026-10-12)*\n\n**[Get an API key](https:\u002F\u002Fgo.apimart.ai\u002Fk-1b868c)** · **[Live pricing](https:\u002F\u002Fgo.apimart.ai\u002Fk-ae8d84)** · **[Model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-ac7450)** · [⚡ 60-second quickstart](#quickstart)\n\n**Why teams call GPT Image 2.5 Flare (`gpt-image-2.5-ext`) through APIMart**\n\n- **One key, entire catalog.** The same `https:\u002F\u002Fapi.apimart.ai\u002Fv1` base URL and `Authorization` header reach GPT Image 2.5 Flare (`gpt-image-2.5-ext`) and 300+ other image, video and language models — switch the `model` field, not your client.\n- **$1 minimum, pay as you go.** No subscription and no prepaid plan to size up front: top up from $1 and spend it on calls. There is no free quota to burn through first, so the price in this table is the price you pay.\n- **The charge comes back in the response.** Every call reports the amount billed (`cost` \u002F `credits_cost`), so a spend number is read per call instead of guessed at month end.\n- **Async by design.** Submit, take the `task_id`, poll `GET \u002Fv1\u002Ftasks\u002F{id}` — batching and retries are ordinary queue work, not a bespoke integration.\n\n\u003C!-- \u002Fconv-kit:v1 -->\n\n\n\nGPT Image 2.5 Flare API on APIMart: generate and edit images with Flare, up to 16 references and PNG, JPEG or WebP. Save 20% or more with membership.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Per-image | `gpt-image-2.5-ext` | per delivered image, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-ac7450) for the exact tiers |\n\nEndpoint: `POST https:\u002F\u002Fapi.apimart.ai\u002Fv1\u002Fimages\u002Fgenerations`, then poll `GET \u002Fv1\u002Ftasks\u002F{task_id}`.\n\n## Pricing\n\n\u003C!-- pricing:model:start -->\n| Output | List price | Effective price |\n| --- | --- | --- |\n| flare@1K | 0.010625 | 0.0085 |\n| flare@2K | 0.0175 | 0.03 |\n| flare@4K | 0.02625 | 0.04 |\n| sunburst@1K | 0.010625 | 0.0085 |\n| sunburst@2K | 0.0175 | 0.03 |\n| sunburst@4K | 0.02625 | 0.04 |\n\n\n\u003C!-- pricing:model:end -->\n\nPrices are a snapshot; the [pricing page](https:\u002F\u002Fgo.apimart.ai\u002Fk-ae8d84) and [`data\u002Fmodel.json`](data\u002Fmodel.json) are refreshed by CI, and a completed task reports the exact amount in its `cost` field.\n\n## Request parameters\n\n| Field | Type | Default | Notes |\n| --- | --- | --- | --- |\n| `model` | string | required | the model id shown in the route table above |\n| `prompt` | string | required | what to generate, or what to change when editing |\n| `size` | string | `auto` \u002F `1:1` | aspect ratio, or `auto` where the route supports it |\n| `resolution` | string | `1K` | output resolution tier — cost scales with it |\n| `n` | integer | `1` | number of images per task, where the route allows more than one |\n| `image_urls` | string[] | — | reference images as public HTTP(S) URLs or base64 data URLs |\n| `nsfw_check` | boolean | `false` | runs `omni-moderation-latest` before submitting |\n\nThe table lists the fields accepted by the APIMart `images\u002Fgenerations` endpoint. Check the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-ac7450) for anything this model adds on top.\n\n## Quickstart\n\n```bash\ncurl --request POST --url https:\u002F\u002Fapi.apimart.ai\u002Fv1\u002Fimages\u002Fgenerations \\\n  --header \"Authorization: Bearer $APIMART_API_KEY\" --header 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"gpt-image-2.5-ext\",\"prompt\":\"A bamboo forest at sunrise, slow push-in\",\"size\":\"1:1\",\"resolution\":\"1K\"}'\n```\n\n```python\nimport os, time, requests\n\nBASE = \"https:\u002F\u002Fapi.apimart.ai\u002Fv1\"\nHEADERS = {\"Authorization\": f\"Bearer {os.environ['APIMART_API_KEY']}\", \"Content-Type\": \"application\u002Fjson\"}\n\ncreated = requests.post(f\"{BASE}\u002Fimages\u002Fgenerations\", headers=HEADERS, timeout=60, json={\n    \"model\": \"gpt-image-2.5-ext\", \"prompt\": \"A bamboo forest at sunrise, slow push-in\",\n}).json()\ntask_id = created[\"data\"][\"id\"]\n\nwhile True:\n    task = requests.get(f\"{BASE}\u002Ftasks\u002F{task_id}\", headers=HEADERS, timeout=60).json()[\"data\"]\n    if task[\"status\"] in (\"completed\", \"failed\"):\n        break\n    time.sleep(5)\nprint(task.get(\"cost\"), task[\"result\"][\"images\"][0][\"url\"])\n```\n\nRunnable versions: [`examples\u002F`](examples). The task lifecycle is `pending → processing → completed | failed`.\n\n## FAQ\n\n**What is the GPT Image 2.5 Flare model id?**\n\n`gpt-image-2.5-ext`. See the route table above.\n\n**How is it billed?**\n\n**from $0.010625 per image** on the APIMart route. The completed task reports the exact amount in its `cost` field; a failed task is refunded.\n\n**How do I get a key?**\n\nUse the [Get an API key](https:\u002F\u002Fgo.apimart.ai\u002Fk-1b868c) link — $1 minimum top-up, no plan required.\n\n\u003C!-- related-repos:auto -->\n## Related repositories\n\n- **Same model, this language** — the other half of this pair: [gpt-image-2-5-flare-prompts](https:\u002F\u002Fgithub.com\u002Fx8gsru\u002Fgpt-image-2-5-flare-prompts)\n- **Same model, other languages** — 10 more language builds: 中文 [gpt-image-2-5-flare-api-cn](https:\u002F\u002Fgithub.com\u002Ffdc4r\u002Fgpt-image-2-5-flare-api-cn) · Deutsch [gpt-image-2-5-flare-api-de](https:\u002F\u002Fgithub.com\u002Fm4izuw9fi76\u002Fgpt-image-2-5-flare-api-de) · Español [gpt-image-2-5-flare-api-es](https:\u002F\u002Fgithub.com\u002Fxctnd3o4yv\u002Fgpt-image-2-5-flare-api-es) · Français `gpt-image-2-5-flare-api-fr` · Relay\u002Fgateway `gpt-image-2-5-flare-api-gateway` · Bahasa [gpt-image-2-5-flare-api-id](https:\u002F\u002Fgithub.com\u002Fzcb3y0r0v468wg\u002Fgpt-image-2-5-flare-api-id) · 日本語 [gpt-image-2-5-flare-api-ja](https:\u002F\u002Fgithub.com\u002Flk277es7u7e6q\u002Fgpt-image-2-5-flare-api-ja) · 한국어 [gpt-image-2-5-flare-api-ko](https:\u002F\u002Fgithub.com\u002Fikhyz\u002Fgpt-image-2-5-flare-api-ko) · Português [gpt-image-2-5-flare-api-pt](https:\u002F\u002Fgithub.com\u002Fnehlulf75mhcv\u002Fgpt-image-2-5-flare-api-pt) · Русский [gpt-image-2-5-flare-api-ru](https:\u002F\u002Fgithub.com\u002Fsm08ni5\u002Fgpt-image-2-5-flare-api-ru)\n- **More models in this language** — [grok-imagine-1-5-api](https:\u002F\u002Fgithub.com\u002Figu3s5e5x90wx\u002Fgrok-imagine-1-5-api) · [grok-imagine-2-0-api](https:\u002F\u002Fgithub.com\u002Ftv8s57ojjaw\u002Fgrok-imagine-2-0-api) · [grok-image-api](https:\u002F\u002Fgithub.com\u002Fhpcsd0apt\u002Fgrok-image-api) · [grok-imagine-image-quality-api](https:\u002F\u002Fgithub.com\u002Fxt5chw51l\u002Fgrok-imagine-image-quality-api) · [imagen-4-api](https:\u002F\u002Fgithub.com\u002Flrk0lbrti\u002Fimagen-4-api) · [qwen-image-2-0-pro-api](https:\u002F\u002Fgithub.com\u002Fusen4\u002Fqwen-image-2-0-pro-api)\n- **Topic hubs** — every build of this model, all languages: [gpt-image-2-5-flare](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fgpt-image-2-5-flare) · [gpt-image-2-5-flare-api](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fgpt-image-2-5-flare-api)\n\nThis repository is one build in a cross-linked set of API guides for the same model family; each language build links back to the others.\n\u003C!-- \u002Frelated-repos:auto -->\n## Attributed links (how this repository is measured)\n\n| Purpose | Attributed link | Target |\n| --- | --- | --- |\n| Model page | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-ac7450> | `apimart.ai\u002Fmodel\u002Fgpt-image-2-5-flare` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-ae8d84> | `apimart.ai\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-1b868c> | `apimart.ai\u002Fkeys` |\n\nOutbound APIMart links are minted through the promo link API; hand-made tracking parameters are rejected by\n`tools\u002Fcheck_links.py` in CI.\n\n## Disclosure\n\nGPT Image 2.5 Flare is a third-party model served through APIMart; this repository documents how to call it and publishes\nmodel ids and prices, and does not claim official status. Model names, prices and documentation belong to their\nrespective owners.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","这是一个面向开发者的 OpenAI 兼容图像生成与编辑 API 接入指南，封装了 APIMart 平台上的 GPT Image 2.5 Flare 模型（model id: gpt-image-2.5-ext）。核心功能包括按分辨率计费的文本生成图像（text-to-image）、多参考图编辑、异步任务轮询机制，以及统一 endpoint（\u002Fv1\u002Fimages\u002Fgenerations）和鉴权方式。技术特点涵盖实时计费反馈（响应中返回 cost 字段）、免订阅按量付费（最低充值 $1）、支持 PNG\u002FJPEG\u002FWebP 输出及最多 16 张参考图。适用于需要低成本、高灵活性接入商用图像 AI 能力的轻量级应用、原型验证或 SaaS 工具集成场景。",2,"2026-11-24 04:47:12","CREATED_QUERY"]