aiftopia·Document
中文 Console

gpt-image-2.5-flare

OpenAI gpt-image-2.5-flare

Model ID
gpt-image-2.5-flare
Vendor
OpenAI
Category
Image Models

Use gpt-image-2.5-flare with the compatible aiftopia API below. Prices and groups are synced from newapi.aiftopia.com/pricing when the documentation is built; account groups and availability are shown in the console.

#Pricing

List price

Per request
¥0.02 / request

Price by groupUnit: ¥ / request, list price × group multiplier

GroupPer request
default分组×1默认分组¥0.02
绘图&视频分组×1需要绘图或视频选这个分组(按次调用,选1k/2k/4k、时长等参数都是一样的价格)¥0.02

Prices and groups synced at 2026-11-02.

#Image editing

POSThttps://newapi.aiftopia.com/v1/images/edits

#Request parameters

ParameterTypeRequiredDefaultEnum / ConstraintsDescription
imagefileYes—maxFiles: 4Reference images to edit; multiple files allowed (e.g. person first, clothing second). Upload as multipart/form-data files, not URL strings.
maskfileNo—binaryOptional mask whose transparent regions mark the area to edit; PNG matching the reference image size.
promptstringYes——Describe what to generate or change based on the reference images.
sizestringNo"auto"auto | 1024x1024 | 1536x1024 | 1024x1536Size of the output image.
qualitystringNo"auto"auto | high | medium | lowQuality of the generated image.
nintegerNo11..10Number of images to generate (1–10).

Reference images must be uploaded as multipart/form-data files (-F "image=@file"). Sending them as a JSON image_urls field has no effect.

#Request example

curl -X POST "https://newapi.aiftopia.com/v1/images/edits" \
  -H "Authorization: Bearer $FOXROUTER_API_KEY" \
  -F "model=gpt-image-2.5-flare" \
  -F "prompt=A minimalist product poster of a ceramic vase, soft studio light." \
  -F "size=auto" \
  -F "image=@reference-1.png" \
  -F "image=@reference-2.png"

#Try it online

POST/v1/images/edits
Your browser calls aiftopia directly. Your key is used only for this request and is never saved. The editor holds the request parameters; they are sent as multipart/form-data to POST /v1/images/edits together with the selected files, and at least one file is required.Connectivity check

#Image generation

POSThttps://newapi.aiftopia.com/v1/images/generations

#Request parameters

ParameterTypeRequiredDefaultEnum / ConstraintsDescription
promptstringYes——Describe what to generate or change based on the reference images.
sizestringNo"auto"auto | 1024x1024 | 1536x1024 | 1024x1536Size of the output image.
qualitystringNo"auto"auto | high | medium | lowQuality of the generated image.
nintegerNo11..10Number of images to generate (1–10).

#Request example

curl -X POST "https://newapi.aiftopia.com/v1/images/generations" \
  -H "Authorization: Bearer $FOXROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2.5-flare",
    "prompt": "A minimalist product poster of a ceramic vase, soft studio light.",
    "size": "auto"
  }'

#Try it online

POST/v1/images/generations
Your browser calls aiftopia directly. Your key is used only for this request and is never saved.Connectivity check