OpenAI modelsimage generation api

openai/gpt-image-2.5-flare

GPT Image 2.5 Flare is optimized for fast, high-quality image generation for everyday creative workflows.

Input
The text prompt to generate an image from.
Quality for the generated image Allowed values: low, medium, high.
The resolution of the generated image. Leave unset to preserve the provider's standard dimensions. Allowed values: 1k, 2k, 4k.
The aspect ratio of the generated image. Allowed values: 1:1, 1:2, 2:1, 1:3, 3:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:21, 21:9.
The format of the generated image. Allowed values: jpeg, png, webp.
Idle

Example output — click Run to generate your own

API README

GPT Image 2.5 Flare

GPT Image 2.5 Flare is the speed-oriented Image 2.5 option for fast, high-quality text-to-image generation and everyday creative workflows.

Highlights

  • Fast generation for iterative creative work
  • Quality controls for low, medium, and high output
  • Flexible 1K, 2K, and 4K resolution settings
  • Multiple aspect ratios and PNG, JPEG, or WebP output

Pricing

QualityStandard aspect ratios21:9 or 9:21
Low$0.015$0.03
Medium$0.05$0.08
High$0.20$0.30

API

Call POST /v1/run. This model uses synchronous execution.

Parameters

  • prompt (required): text describing the image to generate
  • quality: low, medium, or high; defaults to high
  • resolution: 1k, 2k, or 4k
  • aspect_ratio: supported ratios from 1:3 through 3:1, including 1:1, portrait, landscape, and ultra-wide options
  • output_format: jpeg, png, or webp; defaults to png

Example

curl https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-image-2.5-flare","prompt":"A clean product photo on a neutral background","quality":"high","aspect_ratio":"1:1","output_format":"png"}'

Related Models

Related Models

openai/gpt-image-2.5-flare/editGPT Image 2.5 Flare Edit is optimized for fast, high-quality image editing and multi-image composition.openai/gpt-image-1-miniGpt Image 1 Mini by OpenAI - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.openai/gpt-image-1-mini/editGpt Image 1 Mini Edit is OpenAI's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.openai/gpt-image-1.5Gpt Image 1.5 is OpenAI's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.openai/gpt-image-1.5/editGpt Image 1.5 Edit by OpenAI - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.openai/gpt-image-1/editGpt Image 1 Edit by OpenAI - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.openai/gpt-image-2GPT Image 2, OpenAI's latest image model, is capable of making fine-grained, detailed edits to images.openai/gpt-image-1Gpt Image 1 is OpenAI's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.