Damaged spacecraft astronaut示例 01gemini-3.1-flash-lite-image
别名Nano Banana 2 LiteNano Banana 2 Lite 对应 gemini-3.1-flash-lite-image,可依据提示词和参考图生成或编辑,输出 1K。
更新于:
Damaged spacecraft astronaut示例 01
SLOW MORNINGS poster示例 02
Post-apocalyptic survivor示例 03
WILDFLOWER honey jar示例 04从提示词到成图
A minimalist launch poster for a coffee roaster, the words "SLOW MORNINGS" set large in a heavy serif across the top third, a single ceramic cup on a warm cream background casting one long shadow, the line "Single origin. Roasted this week." in small type near the bottom edge, generous empty space between the elements.
A character sheet for an animated short, a small round robot with a dented copper shell and one oversized blue eye, drawn in six poses across a single page: standing, mid-stride, jumping, powered down, waving, hauling a crate twice its size. Flat cel shading, identical proportions in every pose, a faint grid background with "PIP-7" hand lettered in the top corner. 16:9.
A ceramicist's workbench photographed from directly above, a freshly thrown bowl still wet at the center of the wheel head, trimming tools fanned out to the right, slip smeared across the worn wood. Overcast daylight from a tall window at the top of the frame, soft shadows, muted greys against warm clay tones. The restrained look of an editorial spread in a craft magazine.
A glass jar of wildflower honey on a slab of raw oak, backlit so the honey glows amber from within, a thin ribbon of honey suspended mid-pour from a wooden dipper above the rim, black background swallowing the edges of the frame, the label facing camera and reading "WILDFLOWER No. 3" in clean serif type. 4:5.
Change to two small bananas, and the text says "Nano Banana 2 lite"
A quiet street in Lisbon just after sunrise painted in loose gouache, tram rails catching the first light, laundry strung between balconies, thick visible brushwork, a restrained palette of ochre, teal, chalk white, and slate. 3:2.
A foreign astronaut floating inside a damaged spacecraft cabin, red emergency lights flashing, Earth visible through a cracked window, loose objects drifting around him, microphone near his mouth, helmet visor reflecting warning screens, claustrophobic sci-fi composition, emotional final-message storytelling, cinematic realism
Transform this portrait into a cinematic post-apocalyptic survivor poster. Keep the woman's face, identity, pose, and jacket structure consistent. Add dust and subtle scratches on her face, change the background into a ruined city street with smoke, broken buildings, orange sunset light, and a red emergency flare glow from one side. Make her expression determined and emotional. Realistic cinematic lighting, gritty survival atmosphere, no gore, no face distortion.
A close-up, vertical shot features a {argument name="monster description" default="fluffy, blue monster"} with {argument name="eyes" default="wide, green eyes"} and a large, open mouth revealing two small teeth. The monster is bursting through a {argument name="wall description" default="cracked, lime-green wall"}, with pieces of the wall scattered around its head and body. Playful, energetic, colorful, 3D cartoon style, high detail, cinematic lighting
gemini-3.1-flash-lite-image 能做什么
根据提示词生成
提交简洁提示词,通过一个 TTAPI 任务获取图像结果。
常用参数
设置提示词、模型、输出参数和回调即可接入。
异步查询
通过轮询或 Webhook 接收结果,避免耗时生成阻塞界面。
接入产品
Nano Banana 的输出可以展示、保存或交给后续流程处理。
按操作计费,单位为 quota
按模型、操作和输出设置扣除 quota。
请求头与提交参数
使用 TTAPI 密钥,按下方字段向接口发送请求。
请求头
TT-API-KEYstring必填填写 TTAPI API 密钥。
Content-Typestring必填使用 application/json。
请求体
promptstring必填描述要生成或编辑的内容。
modelstring必填支持的 Gemini 图像模型 ID。
aspect_ratioenum选填所需输出宽高比。
image_sizeenum选填可填 1K、2K 或受支持的输出尺寸。
refer_imagesstring[]选填用于引导生成或编辑的参考图 URL。
发送请求并获取结果
复制当前模型的请求地址、鉴权请求头和请求体。
curl --request POST \
--url https://api.ttapi.org/gemini/image/generate \
--header "TT-API-KEY: $TTAPI_KEY" \
--header 'Content-Type: application/json' \
--data '{"prompt":"minimal blank cosmetic bottles arranged on textured stone","model":"gemini-3.1-flash-lite-image","aspect_ratio":"16:9","image_size":"1K"}'