GPT Image 2.6 Flare
GPT Image 2.6 Flare is the fast GPT Image 2.6: sharper layouts and text rendering, up to 4K, transparent backgrounds and masked edits, billed by tokens.
GPT Image 2.6 Flare Text to Image API
Result
Results will appear here
Cost: $0.045/image
GPT Image 2.6 Flare API Implementation Guide
Get API Key
Generate your API key from the dashboard and set it as an environment variable.
export MODELHUNTER_KEY="your_api_key"Make Your First Call
Follow the API documentation for complete code examples in cURL, JavaScript, and Python, including request format, polling, and error handling.
View API Documentation →GPT Image 2.6 Flare Key Info
Capabilities
- Text to Image API
- Image to Image API
Pricing
Price per image by resolution
| Option | 1K | 2K | 4K |
|---|---|---|---|
| typical | $0.045/image | $0.05/image | $0.18/image |
Billed by tokens at the official rate: $30 per 1M image output tokens, $8 per 1M image input tokens and $5 per 1M text input tokens. Prices shown are typical per-image costs; the final charge is settled from actual usage.
Use Cases
Output Formats
GPT Image 2.6 Flare API Documentation
Run the playground first, then open the full API docs for integration details.
About
Generate images from text up to 4K, with transparent backgrounds and precise in-image text.
Code Examples
1curl -X POST https://api.modelhunter.ai/api/v1/gpt-image/text-to-image \2-H "Authorization: Bearer YOUR_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"model": "gpt-image-2-6/flare-text-to-image",6"input": {7"prompt": "A futuristic cityscape at sunset with neon signs",8"aspect_ratio": "auto",9"resolution": "1K"10}11}'
Schema
View Full API DocsInput
modelModel ID for this capability.
Value: gpt-image-2-6/flare-text-to-image
promptPrompt
aspect_ratioAspect Ratio
Options: auto, 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 3:1, 1:3, 21:9, 9:21
Default: auto
resolutionResolution
Options: 1K, 2K, 4K
Default: 1K
qualityQuality
Options: low, medium, high, xhigh, max, auto
Default: medium
backgroundBackground
Options: auto, opaque, transparent
Default: auto
output_formatOutput Format
Options: png, jpeg, webp
Default: png
webhookUrlURL to receive a webhook notification when the task completes.
metadataCustom key-value metadata to attach to the task for tracking.
Response (HTTP 202)
successWhether the request was accepted successfully.
data.idUnique task ID. Use this to poll GET /api/v1/tasks/{id} for results.
data.statusTask status: pending, processing, completed, failed.
data.typeGeneration type: text-to-image.
data.providerProvider name: gpt-image.
data.modelModel ID used for generation.
data.created_atISO 8601 timestamp of when the task was created.
data.estimated_secondsEstimated time in seconds until the task completes.