First Rain fragranceExample 01gemini-3.1-flash-image
AliasNano Banana 2gemini-3.1-flash-image is available through TTAPI. Gemini-powered generation and text-instructed image editing at a low cost.
First Rain fragranceExample 01
Citrus foam campaignExample 02
Annotated camera systemExample 03
Forest Essence ElixirExample 04Prompt to image, in context
Frosted glass bottle; label planar: "First Rain". Shallow pool with crisp caustics. Natural crown from a falling lychee; transparent indigo ribbons; lychees some halved + eucalyptus sprigs ride arcs; base cluster partly submerged for refraction. Condensation 50% 1.2 mm. Light: sun leaf-gobo, silver rim 45°R, cool purple under-kicker, sky fill; clamp highs. Cam: FF 100 mm, f/8, 1/2000, ISO100. 8K; no warp/banding.
A {argument name="bottle color" default="bright yellow-orange"} bottle with a white pump stands on a matte podium, surrounded by thick creamy foam and {argument name="particles" default="citrus zest particles"}. The background is a gradient of sunny yellow with fresh bubble details. The label highlights organic citrus extracts and energizing freshness. {argument name="accents" default="Lemon and orange slices"} accentuate the vibrant appeal.
Image Prompt 1: Clearly separate all components with visible spacing. Move the lens forward and split it into several segments. Separate the camera body into three sections: upper section moves upward, left section moves left, right section moves right. Use elements present on the assembled camera, add electronic parts inside. No annotations. Image Prompt 2: Create a realistic high-end product visualization of a fully assembled M DSLR camera with detachable lens floating slightly in the air. The device has a premium matte black body with subtle metallic details and engraved M branding. Background is a softly blurred modern tech environment with depth of field and subtle motion blur, no people visible. Cinematic studio lighting with realistic reflections and premium product rendering. Around the camera appear five minimalist technical UI annotations with thin lines pointing to components. Each annotation sits inside a small semi-transparent glass UI panel with soft glow and subtle cyan edge lighting, improving readability. Clean modern sans-serif typography. Annotations: 24MP CMOS Sensor; 4K Video Recording; Interchangeable Lens Mount; Fast Hybrid Autofocus; Optical Image Stabilization.
Ultra-realistic premium fragrance product shot of a perfume bottle (Forest Essence Elixir), positioned at a (low macro angled shot) resting diagonally on lush (deep green moss surface in a forest setting), cylindrical design with a transparent glass center revealing green-tinted liquid, textured (matte black base) and brushed (metallic silver cap) with visible condensation droplets, surrounded by dense (forest foliage and pine branches) softly framing the scene, subtle (morning mist
A high-resolution advertising photograph of a realistic, miniature [PRODUCT] held delicately between a person's thumb and index finger. Clean and white background, studio lighting, soft shadows. The hand is well-groomed, natural skin tone, and positioned to highlight the product's shape and details. The product appears extremely small but hyper-detailed and brand-accurate, centered in the frame with a shallow depth of field. Emulates luxury product photography and minimalist commercial style.
A playful, photorealistic render of a juice box packaging featuring the [SUPERHERO]. The carton is glossy with condensation droplets and a plastic straw attached. Bright, minimal background for a clean product-shot feel. Crisp details in typography, colors true to brand identity. Studio commercial photography aesthetic. 1080x1080 square
What you can build with gemini-3.1-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.
Per-action, in quota
Usage is metered in quota by model, action, and output settings.
Headers and submit parameters
Use the endpoint below with your TTAPI key and the request fields shown.
Headers
TT-API-KEYstringrequiredYour TTAPI API key.
Content-TypestringrequiredUse application/json.
Body
promptstringrequiredText instruction for generation or editing.
modelstringrequiredSupported Gemini image model identifier.
aspect_ratioenumoptionalRequested output aspect ratio.
image_sizeenumoptionalRequested 1K, 2K, or supported output size.
refer_imagesstring[]optionalReference image URLs for guided generation or edits.
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-3.1-flash-image","aspect_ratio":"16:9","image_size":"2K"}'