gpt-image-2.5-flare

由 OpenAI 提供图像

通过官方渠道调用 GPT Image 2.5 Flare 同步文生图,可使用常规 GPT Image 输出设置。

更新于:
输入提示词文本
模型8款可用
返回方式异步结果链接
价格优惠 20%官方价
Turn a story into a comic stripTurn a story into a comic strip示例 01
Transfer a visual styleTransfer a visual style示例 02
Preserve identity and change clothingPreserve identity and change clothing示例 03
Combine referencesCombine references示例 04
生成示例

从提示词到成图

Create a short vertical comic-style reel with 4 panels. Panel 1: The owner leaves through the front door. The pet is framed in the window behind them, small against the glass, eyes wide, paws pressed high, the house suddenly quiet. Panel 2: The door clicks shut. Silence breaks. The pet slowly turns toward the empty house, posture shifting, eyes sharp with possibility. Panel 3: The house transformed. The pet sprawls across the couch like it owns the place, crumbs nearby, sunlight cutting across the room like a spotlight. Panel 4: The door opens. The pet is seated perfectly by the entrance, alert and composed, as if nothing happened.

Place the dog from the second image into the setting of image 1, right next to the woman, use the same style of lighting, composition and background. Do not change anything else.

Create a children’s book illustration introducing a main character. Character: A young, storybook-style hero inspired by a little forest outlaw, wearing a simple green hooded tunic, soft brown boots, and a small belt pouch. The character has a kind expression, gentle eyes, and a brave but warm demeanor. Carries a small wooden bow used only for helping, never harming. Theme: The character protects and rescues small forest animals like squirrels, birds, and rabbits. Style: Children’s book illustration, hand-painted watercolor look, soft outlines, warm earthy colors, whimsical and friendly. Proportions suitable for picture books (slightly oversized head, expressive face). Constraints: - Original character (no copyrighted characters) - No text - No watermarks - Plain forest background to clearly showcase the character

Use the same style from the input image and generate a man riding a motorcycle on a white background.

Remove the flower from man's hand. Do not change anything else.

In this room photo, replace ONLY the white chairs with chairs made of wood. Preserve camera angle, room lighting, floor shadows, and surrounding objects. Keep all other aspects of the image unchanged. Photorealistic contact shadows and fabric texture.

Edit the image to dress the woman using the provided clothing images. Do not change her face, facial features, skin tone, body shape, pose, or identity in any way. Preserve her exact likeness, expression, hairstyle, and proportions. Replace only the clothing, fitting the garments naturally to her existing pose and body geometry with realistic fabric behavior. Match lighting, shadows, and color temperature to the original photo so the outfit integrates photorealistically, without looking pasted on. Do not change the background, camera angle, framing, or image quality, and do not add accessories, text, logos, or watermarks.

Generate a highly realistic action scene where this person is running away from a large, realistic brown bear attacking a campsite. The image should look like a real photograph someone could have taken, not an overly enhanced or cinematic movie-poster image. She is centered in the image but looking away from the camera, wearing outdoorsy camping attire, with dirt on her face and tears in her clothing. She is clearly afraid but focused on escaping, running away from the bear as it destroys the campsite behind her. The campsite is in Yosemite National Park, with believable natural details. The time of day is dusk, with natural lighting and realistic colors. Everything should feel grounded, authentic, and unstyled, as if captured in a real moment. Avoid cinematic lighting, dramatic color grading, or stylized composition.

Same workers, same beam, same lunch boxes - but they're all on their phones now. One is taking a selfie. One is on a call looking annoyed. Same danger, new priorities. A hard hat has AirPods.

模型能力

gpt-image-2.5-flare 能做什么

文生图

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

官方渠道输出设置

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

按渠道处理结果

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

按模型构造请求

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

计费

按操作计费,单位为 quota

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

官方渠道图像生成官方定价
模型价格计费单位
gpt-image-2.5-flare比官方价低 20% / 张
API 请求

请求头与提交参数

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

POSThttps://api.ttapi.io/v1/images/generations

请求头

TT-API-KEYstring必填

填写 TTAPI API 密钥。

Content-Typestring必填

使用 application/json。

请求体

promptstring必填

描述要生成的图像。

modelenum必填

选择用于生成的 GPT Image 模型。

backgroundenum选填

可选 transparent、opaque 或 auto。

moderationenum选填

内容审核强度可设为 low 或 auto。

ninteger选填

生成图像的数量,范围 1 至 10。

output_compressioninteger选填

WebP 或 JPEG 输出的压缩设置,范围 0 至 100。

output_formatenum选填

可选 png、jpeg 或 webp。

partial_imagesinteger按条件填写

流式返回的中间图像数量,范围 0 至 3。

qualityenum选填

可选 auto、high、medium 或 low。

sizestring选填

可用 auto、GPT Image 标准尺寸或受支持的自定义尺寸。

streamboolean选填

设为 true 时流式返回生成进度。

userstring选填

用于识别滥用的稳定终端用户标识。

查看 TTAPI 接入文档
接入示例

发送请求并获取结果

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

curl --request POST \
  --url https://api.ttapi.io/v1/images/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-flare","background":"auto","moderation":"auto","n":1,"output_compression":100,"output_format":"png","partial_images":0,"quality":"auto","size":"auto","stream":false,"user":"ttapi-demo"}'