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.
| Slug | gpt-image-2.6-flare |
| Kind | image |
| Vendor | openai |
| Endpoint | POST /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_jsonParameters
| Field | Type | Required | Default | Values | What it does |
|---|---|---|---|---|---|
prompt | string | yes | — | text | What to generate. |
size | string | no | auto | auto · 1024x1024 · 1536x1024 · 1024x1536, or WxH | A 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. |
quality | string | no | auto | low · medium · high · xhigh · max · auto | Higher quality takes longer and produces more output tokens, which is what the image is billed by. |
background | string | no | auto | transparent · opaque · auto | `transparent` needs an output format with alpha (png or webp). |
output_format | string | no | png | png · jpeg · webp · gif · svg | svg returns one image only (n must be 1). |
output_compression | integer | no | 100 | 0 – 100 | For jpeg and webp. |
n | integer | no | 1 | 1 – 10 | How many images to make; each is billed. |
moderation | string | no | auto | auto · low | `low` applies OpenAI's less restrictive filtering. |
user | string | no | — | text | Your own end-user id, passed to OpenAI for abuse monitoring. |