Control style and lightingExample 01gpt-image-2.5
GPT Image 2.5 is an OpenAI image generation API on TTAPI for prompt and reference-image workflows through the fixed-price asynchronous generation channel.
Control style and lightingExample 01
Create an interface previewExample 02
Turn a drawing into a realistic imageExample 03
fal Flare T2I · Titanic iPhone coordinatesExample 04Prompt to image, in context
Create a photorealistic candid photograph of an elderly sailor standing on a small fishing boat. He has weathered skin with visible wrinkles, pores, and sun texture, and a few faded traditional sailor tattoos on his arms. He is calmly adjusting a net while his dog sits nearby on the deck. Shot like a 35mm film photograph, medium close-up at eye level, using a 50mm lens. Soft coastal daylight, shallow depth of field, subtle film grain, natural color balance. The image should feel honest and unposed, with real skin texture, worn materials, and everyday detail. No glamorization, no heavy retouching.
create a realistic image taken with iphone at these coordinates 41°43′32″N 49°56′49″W 15 April 1912
Create a simple biology diagram titled "Cellular Respiration at a Glance" for high school students. Show how glucose turns into energy inside a cell. Include glycolysis, the Krebs cycle, and the electron transport chain. Use arrows to connect the steps, and label the main molecules: glucose, pyruvate, ATP, NADH, FADH2, CO2, O2, and H2O. Make it look like a clean classroom handout or slide, with a white background, simple icons, clear labels, and easy-to-read text. Avoid tiny text, extra decoration, or anything that makes the diagram hard to understand.
Create a realistic mobile app UI mockup for a local farmers market. Show today’s market with a simple header, a short list of vendors with small photos and categories, a small “Today’s specials” section, and basic information for location and hours. Design it to be practical, and easy to use. White background, subtle natural accent colors, clear typography, and minimal decoration. It should look like a real, well-designed, beautiful app for a small local market. Place the UI mockup in an iPhone frame.
A cinematic product photo of an unbranded amber glass perfume bottle with a plain frosted-glass label and no text or logo, on a marble surface, soft golden-hour lighting, shallow depth of field, elegant reflections, premium editorial photography style
Give me a cool in culture ad / fashion shot for a brand called Thread. It's a hip young street brand. The ad shows a group of friends hanging out together with the tagline "Yours to Create." Make it feel like a polished campaign image for a youth streetwear audience: stylish, contemporary, energetic, and tasteful. Use clean composition, strong color direction, natural poses, and premium fashion photography cues. Render the tagline exactly once, clearly and legibly, integrated into the ad layout. No extra text, no watermarks, no unrelated logos.
Turn this drawing into a photorealistic image. Preserve the exact layout, proportions, and perspective. Choose realistic materials and lighting consistent with the sketch intent. Do not add new elements or text.
Preserve the same woman, same face, same pose, same headphones product design, same overall layout structure, same camera angle, and the same premium commercial advertising style. Redesign the image into a bold limited-edition holiday launch campaign while keeping the poster highly polished and product-focused. Change the color accents from subtle blue to deep red and warm gold. Update the typography styling to feel slightly more festive and luxurious, while preserving clean commercial readability and strong layout hierarchy. Replace the text exactly as follows, keeping all text perfectly spelled, aligned, and clearly legible: “Wireless Headphones for Focused Listening” “Luxury Wireless Headphones for Everyday Escape” “Immersive sound. All-day comfort. Up to 40 hours battery life.” “Signature sound. Premium comfort. Limited holiday edition.” “Available in Onyx Black, Champagne Gold, and Winter Ivory” “Includes carrying case, USB-C cable, and 3.5 mm audio cable” “Includes premium hard case, USB-C cable, audio cable, and travel pouch” Add one extra small elegant label near the product close-up: Keep the product rendering realistic and detailed, preserve the woman's identity and styling, and ensure all updated text is sharp, professional, and perfectly readable. Premium commercial product poster, photorealistic, polished, typography-rich, visually refined.
Create a realistic billboard mockup of the shampoo on a highway scene during sunset. Billboard text (EXACT, verbatim, no extra characters): "Fresh and clean" Typography: bold sans-serif, high contrast, centered, clean kerning. Ensure text appears once and is perfectly legible. No watermarks, no logos.
What you can build with gpt-image-2.5
Prompt driven generation
Submit a concise prompt and get production-ready image output through one TTAPI job.
Core controls only
Keep integration simple with prompt, model, output settings, and callback handling.
Async result flow
Use polling or webhook callbacks so long-running generations do not block your UI.
Ready for product UI
Return OpenAI Image results that can be displayed, stored, or passed into downstream workflows.
Per-action, in quota
Usage is metered in quota by model, action, and output settings.
Headers and submit parameters
Use the endpoint below with your TTAPI key and the request fields shown.
/openai/gpt/generationsSubmit an unofficial GPT Image generation task.
Official reference/openai/gpt/fetchRetrieve an unofficial GPT Image task result.
Official referenceHeaders
TT-API-KEYstringrequiredYour TTAPI API key.
Content-TypestringrequiredUse application/json.
Body
promptstringrequiredText description of the image.
modelenumoptionalgpt-image-2.5, gpt-image-2, gpt-image-2-plus, or gpt-image-1.5; defaults to gpt-image-2.
referImagesstring[]optionalReference image URLs for image-guided generation.
aspect_ratioenumconditionalAspect ratio control supported by gpt-image-2.
sizestringconditionalWIDTHxHEIGHT output size supported by gpt-image-2-plus.
hookUrlstringoptionalCallback URL for asynchronous completion.
From key to first result
Copy the resolved endpoint, authentication headers, and request body for this model.
curl --request POST \
--url https://api.ttapi.io/openai/gpt/generations \
--header 'TT-API-KEY: $TTAPI_KEY' \
--header 'Content-Type: application/json' \
--data '{"prompt":"minimal product photograph on a warm gray background","model":"gpt-image-2.5","hookUrl":"https://example.com/webhooks/openai-image"}'