Night-market vendor portraitExample 01gpt-image-2.6-flare
GPT Image 2.6 Flare API by OpenAI on TTAPI supports synchronous image generation and editing through the official-transfer route, with quality, size, transparency, and image output controls.
Night-market vendor portraitExample 01
Illustrated night-market mapExample 02
Astronaut cat stickerExample 03
Dumplings to goExample 04Prompt to image, in context
Candid photo of a street food vendor in her fifties laughing mid-flip as she turns skewers over a charcoal grill at a crowded night market, smoke rising through strings of bare bulbs. Shot on a phone with direct on-camera flash, real skin texture, slight motion blur, muted true color with one chili red accent, candid and unposed, no text, logos, or watermark.
Close-up of a hand holding an open kraft takeaway box of pan-fried dumplings toward the camera at a night market, a round sticker on the lid reading exactly "STEAMED DAILY". Shot on a phone with direct on-camera flash, crisp grease sheen, slight grain, muted true color with one mustard accent, sharp legible sticker, no other words or logos.
A customer in a yellow raincoat waiting under a clear plastic awning at a night market wok stall in heavy rain, neon reflections on the wet pavement, steam rising from the wok. Shot on a phone with direct on-camera flash, rain streaks caught in the flash, slight grain, muted true color with one yellow accent, candid and unposed, no readable text, logos, or watermark.
Illustrated map poster of a night market on cream paper, titled exactly "NIGHT MARKET", six numbered stalls drawn along two aisles, with a legend reading exactly "1 Noodles", "2 Dumplings", "3 Skewers", "4 Bubble Tea", "5 Bao", "6 Mango Ice". Clean editorial design, muted earth tones with one chili red accent, subtle paper texture, sharp legible type, no other words or logos.
Glowing lightbox menu above a night market noodle stall, reading exactly "HAND-PULLED NOODLES" with three lines below: "Beef Broth 12", "Chili Oil 10", "Wild Mushroom 11". Steam drifting past the sign. Clean editorial design, muted true color with one chili red accent, sharp legible type, no other words or logos.
A clean vertical infographic poster titled "How Coffee Gets to Your Cup". Five numbered steps run top to bottom, each with a small flat illustration and a one-line caption: "1. Harvest" with ripe red cherries on a branch, "2. Process" with beans drying on raised beds, "3. Roast" with a drum roaster, "4. Grind" with a burr grinder, "5. Brew" with a pour-over dripper. Thin arrows connect each step. Warm cream background, dark brown sans-serif type, terracotta accents. Footer text "Farm to cup in 5 steps". No other text.
A die-cut vinyl sticker of a cheerful cartoon astronaut cat floating with a tiny jetpack, bold black outline, thick white sticker border, flat bright colors, soft drop shadow, isolated subject
0.5x ultra-wide phone shot looking down a packed night market aisle from a footbridge, rows of stalls under strings of bare bulbs, steam and crowds, a kid on a parent's shoulders looking up at the camera. Harsh mixed light, slight grain, muted true color with one amber accent, candid and unposed, no readable text, logos, or watermark.
What you can build with gpt-image-2.6-flare
Prompt-based images
Create photographs, illustrations, diagrams, and campaign artwork from a text prompt using the selected model's documented route.
Official output controls
Official generation supports model-specific quality, size, background transparency, and image format settings.
Channel-specific responses
The official generation route returns images synchronously; fixed-price models use asynchronous tasks and their fetch endpoint.
Model-specific requests
Use the request profile and operations shown for your selected model to choose its supported fields and response flow.
Per-action, in quota
Usage is metered in quota by model, action, and output settings.
Requests by operation
Switch between operation-specific endpoints and request fields.
Generate
Synchronous text-to-image generation through the official-transfer endpoint.
Headers
TT-API-KEYstringrequiredYour TTAPI API key.
Content-TypestringrequiredUse application/json.
Body
promptstringrequiredText description of the image; up to 32,000 characters.
modelenumrequiredUse gpt-image-2.6-flare for this model.
backgroundenumoptionaltransparent, opaque, or auto (default). Transparent output requires png or webp.
moderationenumoptionallow or auto (default) content moderation.
nintegeroptionalNumber of images from 1 to 10; defaults to 1.
output_compressionintegeroptional0–100, default 100. Applies only to jpeg or webp output.
output_formatenumoptionalpng (default), jpeg, webp, or gif. GIF is available only for GPT Image 2.6 models.
partial_imagesintegerconditional0–3 partial images, default 0; available only when stream is true.
qualityenumoptionallow, medium, high, xhigh, max, or auto (default).
response_formatenumoptionalb64_json only. GPT Image always returns base64 image data.
sizestringoptionalauto (default) or WIDTHxHEIGHT. Both edges must be divisible by 16, with an aspect ratio from 1:3 to 3:1. The longest edge must be at most 3840 pixels; total area must be 655,360–8,294,400 pixels.
streambooleanoptionalDefaults to false. Enable streaming to receive progress and partial image events.
userstringoptionalA unique identifier for the end-user, for abuse monitoring.
Integrate the selected channel
Choose a channel and operation, then copy the matching endpoint, request body, and code sample.
Generate integration
POST https://api.ttapi.io/v1/images/generations
curl --request POST \
--url https://api.ttapi.io/v1/images/generations \
--header 'TT-API-KEY: $TTAPI_KEY' \
--header 'Content-Type: application/json' \
--data '{"model":"gpt-image-2.6-flare","prompt":"A premium product photograph of a ceramic coffee cup on a warm gray background, soft window light, no text.","size":"1024x1536","quality":"medium","output_format":"webp","n":1}'