GPT Image 2.5 Flare - Image Generator
Generate high-quality images from text prompts using OpenAI's fastest GPT Image 2.5 Flare model. Optimized for high-volume, everyday generation, it supports fully flexible custom dimensions, the extended low–max quality range, and token-based credit billing that scales precisely with image complexity and quality.
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Feature type identifier. Must be IMAGE_GENERATOR |
model | string | Yes | AI model identifier. Must be gpt-image-2.5-flare |
promptObject | object | Yes | Configuration object containing all generation parameters |
Prompt Object Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
prompt | string | Yes | Text description of the image to generate (max 4000 characters) | - |
size | string | Yes | Output image dimensions in WxH format (e.g. 1024x1024) | - |
quality | string | Yes | Image quality level | - |
n | number | No | Number of images to generate (1-10) | 1 |
background | string | No | Background mode for the generated image | auto |
output_format | string | No | Output format for the generated image | - |
output_compression | number | No | Compression level (0-100, higher = better quality). Only applies when output_format is jpeg or webp | - |
Size Constraints
GPT Image 2.5 Flare accepts any custom dimension in WxH format (e.g. 1024x1024, 1280x720) subject to the following rules:
| Constraint | Rule | Example |
|---|---|---|
| Block size | Width and height must both be divisible by 16 | 1024x1024 ✓, 1000x1000 ✗ |
| Minimum pixels | Width × Height ≥ 655,360 | 1024×640 = 655,360 ✓ |
| Maximum pixels | Width × Height ≤ 8,294,400 | 2880×2880 = 8,294,400 ✓ |
| Maximum edge | Max(width, height) ≤ 3,840 px | 3840×864 ✓, 4096×1024 ✗ |
| Aspect ratio | Max edge / Min edge ≤ 3:1 | 3072×1024 ✓, 4096×256 ✗ |
Quality Options
| Quality | Description | Use Case |
|---|---|---|
low | Fast, cost-effective generation | Quick prototypes, iterations |
medium | Balanced quality and speed | Most use cases, professional work |
high | Premium quality with maximum detail | Final artwork, premium content |
xhigh | Extra-high fidelity | Detail-critical work |
max | Maximum fidelity | Highest-end final output |
Background Options
| Background | Description | Use Case |
|---|---|---|
auto | Model selects the best background mode | General purpose, recommended default |
opaque | Solid background | Standard images, no transparency needed |
Output Format Options
| Format | Description | Best For |
|---|---|---|
png | Lossless format with transparency support | Professional use, highest quality |
jpeg | Compressed format | Web optimization, smaller files |
webp | Modern format with superior compression | Web applications |
Code Examples
- cURL
- JavaScript
- Python
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_GENERATOR",
"model": "gpt-image-2.5-flare",
"promptObject": {
"prompt": "A serene Japanese garden with cherry blossoms and a traditional tea house",
"size": "1536x1024",
"quality": "high",
"n": 1,
"background": "auto",
"output_format": "png"
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'IMAGE_GENERATOR',
model: 'gpt-image-2.5-flare',
promptObject: {
prompt: 'A serene Japanese garden with cherry blossoms and a traditional tea house',
size: '1536x1024',
quality: 'high',
n: 1,
background: 'auto',
output_format: 'png'
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_GENERATOR",
"model": "gpt-image-2.5-flare",
"promptObject": {
"prompt": "A serene Japanese garden with cherry blossoms and a traditional tea house",
"size": "1536x1024",
"quality": "high",
"n": 1,
"background": "auto",
"output_format": "png"
}
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
Interactive Playground
API Playground
https://api.1min.ai/api/featuresDescribe the image you want to generate in detail (max 4000 characters)
Custom dimensions in WxH format. Both values must be divisible by 16. E.g. 1024x1024, 1536x1024, 1024x1536
Image quality level
Number of images to generate (1-10)
Background mode for the generated image
Format of the output image
Compression level (0-100, higher = better quality)
Generated cURL Command:
curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_GENERATOR",
"model": "gpt-image-2.5-flare",
"promptObject": {
"prompt": "A serene Japanese garden with cherry blossoms and a traditional tea house",
"size": "1024x1024",
"quality": "medium",
"n": 1,
"background": "auto",
"output_format": "png"
}
}'
Response Format
{
"aiRecord": {
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"userId": "user-12345",
"teamId": "team-67890",
"model": "gpt-image-2.5-flare",
"type": "IMAGE_GENERATOR",
"status": "SUCCESS",
"createdAt": "2026-10-11T10:30:00.000Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "A serene Japanese garden with cherry blossoms and a traditional tea house",
"size": "1536x1024",
"quality": "high",
"n": 1,
"background": "auto",
"output_format": "png"
},
"resultObject": [
"development/images/2026_10_11_10_30_15_001_japanese_garden.png"
],
"responseObject": {}
},
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2026_10_11_10_30_15_001_japanese_garden.png?X-Amz-Signature=example_signature"
}
}
Use Cases
- Rapid Iteration: Fast previews and high-throughput generation at scale
- Creative Design: Everyday illustrations, concept art, and creative visuals at custom dimensions
- Social Media Content: Eye-catching posts, stories, and promotional materials tailored to exact platform sizes
- Marketing Assets: Product mockups, advertising visuals, and brand imagery at any resolution
- Character Design: Character illustrations and visual storytelling
- Architecture Visualization: Conceptual building designs and interior layouts
- Publishing: Book covers, editorial illustrations, and graphic design
- Game Assets: Concept art and visual development for games