
gpt-image-2.5-flare
API Overview
GPT-image-2.5-Flare is a lightweight, ultra-fast image generation and editing model developed by OpenAI specifically for high-concurrency workflows, frequent creator applications, and rapid prototyping. As the speed-first version in the GPT Image 2.5 series, it boasts a 50% improvement in generation speed compared to its predecessor while maintaining exceptionally high visual quality and detailed rendering. The model natively supports precise local retouching, preservation of subject consistency, multi-round iterative editing, and transparent background output, making it the industry-leading choice for cost-effective batch image generation, e-commerce product images, and dynamic creative marketing visuals.
───────────────────────────────────────────────────────────────────
Core Capabilities
Ultra-Fast Response and Low Latency: Generation speed is nearly 50% faster than the previous generation, significantly reducing wait times under high-concurrency requests.
Precise Local Editing and Subject Preservation: It enables precise modifications to materials, lighting, shadows, or specific local objects, with exceptional consistency across continuous edits.
Multi-Modal Reference Input: A single request can simultaneously upload up to 16 reference images, accurately replicating target art styles, brand visual identities, and subject details.
Multiple Aspect Ratios and Transparent Backgrounds: It supports mainstream aspect ratios including 1:1, 16:9, 9:16, 2:3, and 3:4, and natively supports exporting images with transparent backgrounds.
API Console
Log in to explore more features! Click to Log In
API Analytics
API Reference (2)
| API Description | API Endpoint | Request Method | Stability | Parameter Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Generations(Generate image) | POST | Stable | View Details | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Document Details 1. Function IntroductionGenerate one or more high-quality images based on text prompts, supporting:
2. Request Parameters
3. Precautions
4. Price
Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Query Parametersresponse_formatstringOptional Example Value: urlasyncstringOptional Example Value: falseRequest Body application/jsonpromptstringRequired A text description of the required image. The more detailed the description, the better the expected result.
Writing suggestions:
sizeenum<string>Optional The generated image size varies depending on the model:
Enum Value: 1024x10241536x10241024x1536autobackgroundenum<string>Optional Image background settings, applicable only to GPT-Image series models:
Note: When transparent is selected, output_format must be set to png or webp Enum Value: transparentopaqueautomoderationenum<string>Optional Content moderation level, controlling the compliance of generated images:
Enum Value: lowautonintegerOptional Number of images generated:
Note: The more images generated, the more tokens are consumed and the longer the generation time qualityenum<string>Optional The generated image quality. ‘auto’ (default) will automatically select the best quality for the given model.
Enum Value: autohighmediumlowmodelenum<string>Required Enum Value: gpt-image-1gpt-image-1-minigpt-image-1.5output_compressionintegerOptional Image compression level (GPT-Image only, default 100):
Only applicable to webp/jpeg formats, png format does not support compression output_formatenum<string>Optional Image output format (GPT-Image only):
When selecting transparent background, png or webp format must be used Enum Value: webppngjpegpartial_imagesintegerOptional Number of partial images generated (GPT-Image only):
Only effective when stream=true, suitable for scenarios that require fast preview streambooleanOptional Enable streaming generation (GPT-Image only):
Combined with the partial_images parameter, progressive image preview can be achieved | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Edit(Modify Image) | POST | Stable | View Details | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Document Details 1. Function IntroductionUpload the original image and the mask image (optional), combine them with text prompts, and let the AI model replace the content of the specified area in the image to generate an edited image.
2. Request Parameters
3. Precautions
4. Price
Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Content-TypestringOptional Example Value: multipart/form-dataQuery Parametersresponse_formatstringOptional Example Value: urlRequest Body multipart/form-dataimagestringRequired Original image to be edited (required):
Note: When uploading multiple images, the mask only applies to the first image promptstringRequired Text description of the editing effect (required):
modelstringRequired gpt-image-1、gpt-image-1-mini、gpt-image-1.5 Example Value: gpt-image-1.5maskstringOptional Mask Image (Optional):
qualitystringOptional Quality level of the generated image:
Example Value: autosizestringOptional Size of the generated image:
Example Value: 1024x1024nintegerOptional Number of edited images generated:
Example Value: 1backgroundstringOptional Image background settings (only applicable to GPT-Image model):
Example Value: autooutput_formatstringOptional Output image format (only applicable to GPT-Image model):
Example Value: pngoutput_compressionstringOptional Image Compression Level (only applicable to GPT-Image model):
Example Value: 100partial_imagesintegerOptional Partial Image Generation Quantity (only applicable to GPT-Image model):
streambooleanOptional Whether to enable streaming generation (only applicable to GPT-Image model):
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
API Pricing
| Model | Description | Official Price | 302.AI Price | Official Price Gap |
|---|
Generations(Generate image) | text input |
|
| Original Price | ||||||||
Generations(Generate image) | Image input |
|
| Original Price |