gemini-2.5-flash-image

AliasNano Banana
by GoogleImage

gemini-2.5-flash-image is available through TTAPI. Gemini-powered generation and text-instructed image editing at a low cost.

InputPrompttext
Models4available
FlowAsyncresult URL
Price2 quota/ image
Man dodging bullets in a cinematic green code-filled cyberpunk sceneMatrix bullet dodgeExample 01
Isometric London weather miniature with landmarks and forecast typographyLondon weather miniatureExample 02
Tokyo street bending upward into a sunlit cylinder worldFolded Tokyo streetExample 03
Warm cinematic anime landscape beneath towering summer cloudsSunlit anime summerExample 04
Examples

Prompt to image, in context

01 · Matrix bullet dodgegemini-2.5-flash-image
Prompt

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

02 · London weather miniaturegemini-2.5-flash-image
Prompt

Present a clear, 45° top-down isometric miniature 3D cartoon scene of London, featuring its most iconic landmarks and architectural elements. Use soft, refined textures with realistic PBR materials and gentle, lifelike lighting and shadows. Integrate the current weather conditions directly into the city environment to create an immersive atmospheric mood. Use a clean, minimalistic composition with a soft, solid-colored background. At the top-center, place the title London in large bold text, a prominent weather icon beneath it, then the date (small text) and temperature (medium text). All text must be centered with consistent spacing, and may subtly overlap the tops of the buildings.

03 · Folded Tokyo streetgemini-2.5-flash-image
Prompt

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.

Capabilities

What you can build with gemini-2.5-flash-image

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 Nano Banana results that can be displayed, stored, or passed into downstream workflows.

Pricing

Per-action, in quota

Usage is metered in quota by model, action, and output settings.

Image generationOfficial pricing
ModelPriceUnit
gemini-2.5-flash-image2 quota/ image
API request

Headers and submit parameters

Use the endpoint below with your TTAPI key and the request fields shown.

POSThttps://api.ttapi.org/gemini/image/generate

Headers

TT-API-KEYstringrequired

Your TTAPI API key.

Content-Typestringrequired

Use application/json.

Body

promptstringrequired

Text instruction for generation or editing.

modelstringrequired

Supported Gemini image model identifier.

aspect_ratioenumoptional

Requested output aspect ratio.

image_sizeenumoptional

Requested 1K, 2K, or supported output size.

refer_imagesstring[]optional

Reference image URLs for guided generation or edits.

Open the official TTAPI documentation
Integrate

From key to first result

Copy the resolved endpoint, authentication headers, and request body for this model.

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