Sociaro

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

Charged per job from what the generator reports it rendered — your Logs show the exact figure for each one; see balance and billing.

Calling it

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 · auto`transparent` 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 · low`low` applies OpenAI's less restrictive filtering.
userstringno—textYour own end-user id, passed to OpenAI for abuse monitoring.