OpenAI GPT Image 2.6 Flare

13.92 credits/call
ae_openai_gpt_image_2_6_flare

GPT Image 2.6 Flare is designed for fast iteration in image generation and editing. Use it for interactive image creation and iterative changes from text prompts or reference images. Returns image URLs. GIF frame count, per-frame duration, and output dimensions are requested values; actual output may differ.

Image
13.92 credits/call

Pricing

13.92 credits/call
ConditionCharge
Each call13.92 credits/call

The fixed fee per call is 13.92 credits for text-to-image generation, image editing, or image-to-image generation.

The number of reference images, the number of returned images, and token usage do not affect the fixed fee per call.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
nintegerNo生成图片数量。1
sizestringNo期望的输出尺寸,使用 WIDTHxHEIGHT 或 auto。auto
promptstringYes描述要生成的图片;提供 image_urls 时,描述希望如何编辑图片或基于参考图生成图片。—
qualityenum (low | medium | high | auto | )No生成质量,auto 由模型选择。auto
backgroundenum (transparent | opaque | auto | )No背景处理方式;透明背景需供应商支持并使用 PNG 或 WebP。auto
complexityenum (low | medium | high | )No图片规划复杂度;不填使用模型默认值。—
image_urlsarrayNo可选的参考图片 URL 数组,最多 16 张;支持公开可访问的 HTTP(S) PNG、JPEG、WebP 图片。不提供时根据文字生成图片,提供时根据参考图片和提示词进行编辑或图生图。—
moderationenum (low | auto | )No内容审核级别,默认 auto。auto
frame_countintegerNo期望的 GIF 帧数,仅在输出 GIF 时使用。—
output_formatenum (png | jpeg | webp | gif | )No输出图片格式:PNG、JPEG、WebP 或 GIF。png
frame_duration_msintegerNo期望的 GIF 每帧时长,单位毫秒,仅在输出 GIF 时使用。—
output_compressionintegerNoJPEG 或 WebP 输出的压缩质量。100

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_openai_gpt_image_2_6_flare' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "image_urls": [
      "https://cdn.liangjiutuangou.com/n-tg-project/other/2026/11/11/1/c/5b1b11d3821b45afb2831ed960678cab.jpg",
      "https://prop.renbentu.cn/liangjiu/draw_src?id=src_9013c567b2d64d90_1.jpg"
    ],
    "prompt": "参考图1是产品,参考图2是团长本人的真实照片(长相、发型、体型保持原样不变)。把团长自然地合成到「拿着这款产品」的场景里:团长把产品拿在手里举到镜头前,像给群友看实物,表情自然亲切;背景是干净的家,光线自然,不加多余文字和水印。\n不要出现:卡通,插画,3D渲染,AI绘画感,夸张滤镜,水印,日期,额外文字,杂乱背景,畸形,模糊,高饱和艳色。",
    "size": "1024x1536"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "background": "auto",
  "created": 1794406778,
  "data": [
    {
      "mimeType": "image/png",
      "name": "5878bf45-d56d-4761-b713-342241a02637.png",
      "size": 2351490,
      "title": "5878bf45-d56d-4761-b713-342241a02637.png",
      "type": "resource_link",
      "uri": "https://agentearth.ai/fileserver/file/5878bf45-d56d-4761-b713-342241a02637.png"
    }
  ],
  "output_format": "png",
  "quality": "auto",
  "safety_identifier": null
}

This example shows part of the response. Copied content is valid JSON.