Sociaro Docs
View Markdown

gpt-image-2.6-flare

OpenAI's GPT Image 2.6 Flare — image generation for fast iteration and interactive work, about half the wait of the previous generation.

Takes a text prompt and returns an image.

Sluggpt-image-2.6-flare
Kindimage
Vendoropenai
EndpointPOST /v1/images/generations

View pricing and billing conditions

Example request

curl https://api.sociaro.com/v1/images/generations \
  -H "Authorization: Bearer $SOCIARO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "model": "gpt-image-2.6-flare",
        "prompt": "a paper boat on a rain-soaked street",
        "size": "1024x1024"
      }'

# the image comes back in the response itself, base64 in data[0].b64_json

Parameters

FieldTypeRequiredDefaultValuesWhat it does
promptstringyes—textWhat to generate.
sizestringnoautoauto · 1024x1024 · 1536x1024 · 1024x1536, or WxHA custom WxH takes multiples of 16, an aspect between 1:3 and 3:1, an edge up to 3840 px and 655,360 to 8,294,400 pixels in all.
qualitystringnoautolow · medium · high · xhigh · max · autoHigher quality takes longer and produces more output tokens, which is what the image is billed by.
backgroundstringnoautotransparent · opaque · autotransparent needs an output format with alpha (png or webp).
output_formatstringnopngpng · jpeg · webp · gif · svgsvg returns one image only (n must be 1).
output_compressionintegerno1000 – 100For jpeg and webp.
nintegerno11 – 10How many images to make; each is billed.
moderationstringnoautoauto · lowlow applies OpenAI's less restrictive filtering.
userstringno—textYour own end-user id, passed to OpenAI for abuse monitoring.

Pricing

Billable unit and optionsRate (USD)
per 1M input tokens$6.00
per 1M cached input tokens$1.50
per 1M input image tokens$9.60
per 1M output image tokens$36.00

View this model in the pricing catalogue. Your billing logs show the actual charge for each request.