Folded Tokyo street示例 01gemini-2.5-flash-image
别名Nano BananaNano Banana 对应 gemini-2.5-flash-image,可按提示词生成或编辑图像,支持宽高比和参考图。
更新于:
Folded Tokyo street示例 01
Japanese ceramicist示例 02
Storm lighthouse oil示例 03
Tuscany farmhouse sunrise示例 04从提示词到成图
A photorealistic close-up portrait of an elderly Japanese ceramicist with deep, sun-etched wrinkles and a warm, knowing smile. He is carefully inspecting a freshly glazed tea bowl. The setting is his rustic, sun-drenched workshop. The scene is illuminated by soft, golden hour light streaming through a window, highlighting the fine texture of the clay. Captured with an 85mm portrait lens, resulting in a soft, blurred background (bokeh). The overall mood is serene and masterful. Vertical portrait orientation.
Cinematic shot of a major city street in Tokyo during the day. However, the world bends upward at a 90-degree angle. The street doesn't end at the horizon; it curves up into the sky and loops back over the viewer's head, creating a cylinder-world effect (Inception style). Cars and pedestrians are adhered to the road even as it becomes vertical and then upside down above. The lighting is realistic sunlight, casting shadows that defy gravity. Hyper-realistic, 8K.
An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.
A kawaii-style sticker of a happy red panda wearing a tiny bamboo hat. It's munching on a green bamboo leaf. The design features bold, clean outlines, simple cel-shading, and a vibrant color palette. The background must be white.
A dramatic oil painting of a lighthouse in a storm at night, with massive waves crashing against the rocks and lightning illuminating the sky
An underwater scene of a coral reef teeming with tropical fish, sea turtles, and rays of sunlight filtering through the crystal clear water
A vintage travel poster for Tokyo, Japan in the style of 1960s airline advertisements, with Mount Fuji in the background and cherry blossoms framing the scene
A breathtaking, National Geographic style photograph of a rustic stone farmhouse in Tuscany, Italy, at sunrise. A gentle morning mist blankets the rolling hills, partially obscuring the cypress trees that line a winding dirt road leading to the house. Warm, golden light from the rising sun breaks through the fog, illuminating the terracotta roof and a small wisp of smoke rising from the chimney. The scene feels timeless and tranquil. Shot on Kodak Portra 400 film for rich colors and soft grain. Wide-angle lens, capturing the grand scale and serene beauty of the landscape.
Man dodging bullets in mid-air, slow motion matrix-style scene, dynamic camera angle from below, intense motion blur on arms and coat, leather trench coat flowing backward, tactical black outfit, realistic skin texture, short styled black hair, sharp facial expression, cinematic green code rain background, glowing matrix lines, neon-lit cyberpunk city, multiple bullets flying past in close proximity with visible motion trails, golden brass bullets in extreme perspective, dramatic rim lighting on face and jacket, soft shadows on face, gritty texture on clothing, volumetric light rays piercing through haze, particles and digital noise in background, ultra photorealistic, hyper-detailed, sharp focus on face with depth of field, 128k ultra hd, moody cinematic look, dark green-blue color grading --ar 9:16 --raw
gemini-2.5-flash-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-2.5-flash-image","aspect_ratio":"16:9"}'