gpt-image-2.5

由 OpenAI 提供图像

通过固定价渠道向 GPT Image 2.5 提交提示词或参考图,再按任务 ID 查询异步结果。

更新于:
输入提示词文本
模型8款可用
返回方式异步结果链接
价格2 quota / 张
Control style and lightingControl style and lighting示例 01
Create an interface previewCreate an interface preview示例 02
Turn a drawing into a realistic imageTurn a drawing into a realistic image示例 03
fal Flare T2I · Titanic iPhone coordinatesfal Flare T2I · Titanic iPhone coordinates示例 04
生成示例

从提示词到成图

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.

模型能力

gpt-image-2.5 能做什么

文生图

通过所选模型的文档接口,用文字生成照片、插画、示意图和宣传素材。

官方渠道输出设置

官方生成接口的画质、尺寸、背景透明度和格式选项因模型而异。

按渠道处理结果

官方生成接口同步返回图像,固定价渠道则提交异步任务,再查询结果。

按模型构造请求

查看所选模型的请求与操作列表,确认支持的字段和返回方式。

计费

按操作计费,单位为 quota

按模型、操作和输出设置扣除 quota。

图像生成官方定价
模型价格计费单位
gpt-image-2.52 quota / 张
API 请求

请求头与提交参数

使用 TTAPI 密钥,按下方字段向接口发送请求。

生成POST
/openai/gpt/generations

向非官方渠道提交 GPT Image 生成任务。

查看接口文档
查询结果GET
/openai/gpt/fetch

取回非官方渠道 GPT Image 任务结果。

查看接口文档
POSThttps://api.ttapi.io/openai/gpt/generations

请求头

TT-API-KEYstring必填

填写 TTAPI API 密钥。

Content-Typestring必填

使用 application/json。

请求体

promptstring必填

描述想生成的图像。

modelenum选填

可选 gpt-image-2.5、gpt-image-2、gpt-image-2-plus 或 gpt-image-1.5,默认 gpt-image-2。

referImagesstring[]选填

用于引导生成的参考图 URL。

aspect_ratioenum按条件填写

gpt-image-2 支持的宽高比设置。

sizestring按条件填写

gpt-image-2-plus 支持的输出尺寸,格式为 WIDTHxHEIGHT。

hookUrlstring选填

异步任务完成时通知的回调 URL。

查看 TTAPI 接入文档
接入示例

发送请求并获取结果

复制当前模型的请求地址、鉴权请求头和请求体。

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"}'