Google's advanced AI-powered video-to-image generation model, designed to generate high-quality static images from video clips combined with text instructions.
Nano Banana 2 — Jakość Pro z prędkością Flash
V2
Znany również jako Gemini 3.1 Flash Image
Najnowszy model obrazów od Google DeepMind łączy zaawansowane możliwości Nano Banana Pro z prędkością Gemini Flash — zapewniając 3-5x szybszą generację, rozdzielczość do 4K i spójność postaci dla maksymalnie 5 bohaterów w jednym przepływie pracy.
10+ proporcji obrazu, w tym 21:9, 1:4, 8:1 i więcej
Dokładne i czytelne renderowanie tekstu w obrazach
Jakość bliska Pro (~95%) z prędkością Flash
Inteligentna edycja i spójność
Spójność postaci dla maksymalnie 5 bohaterów w różnych scenach
Wierność obiektów — do 14 obiektów w jednym przepływie pracy
Precyzyjne edycje za pomocą języka naturalnego (usuwanie, zamiana, zmiana pozy)
Łączenie wielu obrazów i bezszwowa kompozycja
Co nowego w Nano Banana 2
3-5x szybciej niż Pro
Zbudowany na architekturze Gemini 3.1 Flash, Nano Banana 2 generuje standardowe obrazy w 4-8 sekund — w porównaniu z 10-20 sekundami dla Nano Banana Pro.
Grounding wyszukiwania obrazów
Wyróżniająca funkcja NB2 — może pobierać rzeczywiste obrazy referencyjne przez Google Search podczas generowania, znacznie poprawiając dokładność dla zabytków, znanych osób i logotypów marek.
Dokładne renderowanie tekstu
Generuj dokładny, czytelny tekst do makiet marketingowych, kartek okolicznościowych i treści zlokalizowanych. Możesz nawet tłumaczyć i lokalizować tekst wewnątrz obrazu.
Spójność wielu postaci
Utrzymuj wizualną spójność dla maksymalnie 5 postaci i 14 obiektów w różnych scenach — idealne do storyboardów, komiksów i kampanii marketingowych.
Prompt Examples & Templates
Explore curated prompt templates showcasing Nano Banana 2's key capabilities — text rendering, character consistency, search grounding, and 4K output.
Text Rendering
Marketing Mockup with Text
Generate marketing visuals with accurate, legible text — one of NB2's standout improvements
Prompt
A minimalist coffee shop promotional poster with the text 'MORNING BREW — Fresh Roasted Daily' in elegant serif font, warm earth tones, steam rising from a ceramic cup, clean layout with plenty of whitespace
Character Consistency
Multi-Scene Character
Maintain character consistency across multiple scenes — supports up to 5 characters per workflow
Prompt
A young woman with short red hair and freckles, wearing a green jacket, standing in a rainy Tokyo street at night with neon reflections on wet pavement, cinematic lighting, photorealistic
Photo to Action Figure
Person to Action Figure
Transform people from photos into collectible action figures with custom packaging
Prompt
Transform the person in the photo into an action figure, styled after [CHARACTER_NAME] from [SOURCE / CONTEXT]. Next to the figure, display the accessories including [ITEM_1], [ITEM_2], and [ITEM_3]. On the top of the toy box, write "[BOX_LABEL_TOP]", and underneath it, "[BOX_LABEL_BOTTOM]". Place the box in a [BACKGROUND_SETTING] environment.
Search Grounding
Real-World Reference Generation
Leverage Image Search Grounding to generate accurate real-world subjects like landmarks and brands
Prompt
A photorealistic aerial view of the Eiffel Tower at golden hour, with the Seine River winding through Paris below, warm sunset light casting long shadows, high detail, 4K resolution
Product Photography
Product Design Render
Create professional product photography with precise control over lighting and composition
Prompt
A frosted glass perfume bottle with a marble cap on a white marble surface, soft studio lighting from the left, subtle reflections, minimalist luxury aesthetic, product photography style
Style Transfer
Artistic Style Transformation
Apply diverse artistic styles while maintaining subject integrity
Prompt
Transform this photo into Studio Ghibli animation style, keeping the same composition and subjects, lush watercolor backgrounds, soft diffused lighting, whimsical atmosphere
4K Output
Ultra High Resolution Scene
Generate detailed scenes at up to 4K resolution with rich textures
Prompt
A cozy Japanese ramen shop interior at night, steam rising from bowls, warm amber lighting, detailed wooden counter with various condiments, a chef working in the background, 4K, ultra detailed
Przypadki użycia
🎬
Storyboardy i komiksy
📸
Fotografia produktowa
📊
Makiety marketingowe
📱
Treści do mediów społecznościowych
🔤
Projektowanie nakładek tekstowych
👤
Projektowanie postaci
✨
Edycja i retusz zdjęć
🎨
Wizualne treści marki
Dlaczego warto wybrać Nano Banana 2?
⚡
Prędkość Flash
3-5x szybciej niż Nano Banana Pro ze standardowym czasem generowania 4-8 sekund
🎯
Jakość bliska Pro
Osiąga około 95% jakości obrazów Pro w większości scenariuszy
💰
Opłacalność
Mniej więcej połowa kosztu Nano Banana Pro — czyniąc wysokiej jakości generowanie obrazów AI bardziej dostępnym
Spójność:Do 5 postaci + 14 obiektów na przepływ pracy
Bezpieczeństwo treści:Znak wodny SynthID, zgodność ze standardem C2PA
Dostęp do API:Gemini API, Vertex AI, AI Studio, Gemini CLI
Wypróbuj Nano Banana 2
Generowanie obrazów na poziomie Pro z prędkością Flash — twórz oszałamiające wizualizacje ze spójnością postaci, renderowaniem tekstu i obsługą rozdzielczości 4K.
✨Darmowe kredyty na start
⚡Natychmiastowy dostęp do API
🌐Bez konfiguracji
Google Nano Banana 2 Reference to Image
Nano Banana 2 Reference to Image (Gemini 3.1 Flash Image) is Google's advanced AI-powered video-to-image generation model, designed to generate high-quality static images from video clips combined with text instructions. Built on the same cutting-edge model as Nano Banana 2 Edit, it adds the ability to use video content as a rich reference source — extracting visual context, themes, and key frames to synthesize new images with precision and semantic awareness.
This model is ideal for creating thumbnails, posters, promotional artwork, and scene summaries by leveraging the visual richness of existing video content alongside natural language guidance.
Why Choose This?
Video as reference — Provide a video clip (HTTP URL or YouTube URL) and let the model extract its visual context to guide image generation.
Multi-image reference — Optionally upload up to 10 additional reference images to complement the video input for complex compositions.
Natural language control — Describe exactly what you want with a text prompt; the model understands context, themes, and relationships from both the video and text.
Thinking levels — Choose how much internal reasoning the model applies — higher thinking levels improve quality on complex tasks.
Media resolution control — Balance detail and token usage for input video frames with LOW, MEDIUM, or HIGH media resolution modes.
Web & image search grounding — Optionally enable real-time web or image search to enrich generation with current information.
Multi-resolution output — Generate at 1K, 2K, or 4K resolution.
Flexible aspect ratios — Multiple options including 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, and 21:9.
Format choice — Export in PNG or JPEG format.
How It Works
The model analyzes your video clip by sampling frames at the specified FPS rate, then interprets the visual content within its multimodal context window. Combined with your text prompt and any additional reference images, it synthesizes a new image grounded in the video's themes, style, and key visual elements. This makes it especially powerful for creating content that is visually consistent with existing video assets.
Parameters
Core Inputs
Parameter
Required
Description
prompt
Yes
Text description of the desired output image
video_clips
Yes
Source video clip(s) for reference generation (max: 1, see below)
Reasoning depth: default, high, minimal. Higher levels improve quality on complex tasks but increase latency.
media_resolution
No
How input media frames are processed: default, low, medium, high. LOW reduces tokens per frame, allowing longer videos.
enable_web_search
No
If enabled, grounds generation with real-time web information.
enable_image_search
No
If enabled, grounds generation with real-time image search results.
How to Use
Provide a video clip — enter the video URL (HTTP or YouTube) and set start/end times and FPS sampling rate.
Write your prompt — describe the output image clearly (e.g., "Create a cinematic poster based on the key scenes in this video").
Add reference images (optional) — upload additional images to guide composition or style.
Choose aspect ratio (optional) — select a preset or leave empty for default.
Select resolution — choose 1K, 2K, or 4K based on your quality needs.
Choose output format — PNG for transparency support, JPEG for smaller file size.
Adjust advanced settings (optional) — set thinking level, media resolution, or enable search grounding.
Run — submit and download your generated image.
Pricing
The total cost is determined by the output image resolution multiplied by the number of output images, plus optional per-request fees for video clip input, web search, and image search grounding.
The video clip fee (0.07),websearchfee(0.014), and image search fee ($0.014) are each charged once per request when the respective feature is enabled, regardless of content volume.
Best Use Cases
Video Thumbnail Generation — Automatically create compelling thumbnails that reflect the video's content and mood.
Promotional Posters — Generate movie-style or campaign posters grounded in actual video footage.
Scene Summarization Art — Create visual summaries or highlight artwork from long-form video content.
Brand Content Creation — Produce consistent image assets from brand video campaigns.
Educational Infographics — Transform instructional videos into static visual materials.
Social Media Assets — Generate platform-optimized images (vertical, square, landscape) from video content.
Pro Tips
Use low FPS (0.5–1) for long videos to keep token usage within limits while still capturing key frames.
Set precise start/end times to focus the model on the most relevant segment of your video.
Combine specific text prompts with the video input — vague prompts may produce generic results.
Add reference images alongside the video to guide composition style more precisely.
Use thinking_level: high for complex scene interpretations or when visual fidelity matters most.
Set media_resolution: low when analyzing long videos to allow more frames within the context window.
2K offers excellent quality at a reasonable price — only $0.04 more than 1K per image.
YouTube URLs are supported directly — no need to download and re-upload public videos.
Notes
Both prompt and video_clips are required fields.
Maximum video clips: 1 per request.
HTTP video URLs are limited to 15MB; use YouTube URLs for larger videos.
Maximum additional reference images: 10.
FPS range: 0–24. Higher FPS captures more frames but consumes more tokens.
The video clip fee ($0.07) is a flat per-request charge, not per frame or per second.
If aspect_ratio is not selected, the model uses a default ratio.
4K resolution costs 2× the standard 1K rate.
Ensure your content and prompts comply with Google's Safety Guidelines.
Related Models
Nano Banana 2 Edit — Edit images using text prompts and reference images (no video input).
import requests
import time
# Step 1: Start image generationgenerate_url ="https://api.atlascloud.ai/api/v1/model/generateImage"headers ={"Content-Type":"application/json","Authorization":"Bearer $ATLASCLOUD_API_KEY"}data ={"model":"google/nano-banana-2/reference-to-image","prompt":"A beautiful landscape with mountains and lake","width":512,"height":512,"steps":20,"guidance_scale":7.5,}generate_response = requests.post(generate_url, headers=headers, json=data)generate_result = generate_response.json()prediction_id = generate_result["data"]["id"]# Step 2: Poll for resultpoll_url =f"https://api.atlascloud.ai/api/v1/model/prediction/{prediction_id}"defcheck_status():whileTrue: response = requests.get(poll_url, headers={"Authorization":"Bearer $ATLASCLOUD_API_KEY"}) result = response.json()if result["data"]["status"]=="completed":print("Generated image:", result["data"]["outputs"][0])return result["data"]["outputs"][0]elif result["data"]["status"]=="failed":raise Exception(result["data"]["error"]or"Generation failed")else:# Still processing, wait 2 seconds time.sleep(2)image_url = check_status()
Instalacja
Zainstaluj wymagany pakiet dla swojego języka programowania.
bash
pip install requests
Uwierzytelnianie
Wszystkie żądania API wymagają uwierzytelnienia za pomocą klucza API. Klucz API możesz uzyskać z panelu Atlas Cloud.
bash
exportATLASCLOUD_API_KEY="your-api-key-here"
Nagłówki HTTP
python
import os
API_KEY = os.environ.get("ATLASCLOUD_API_KEY")headers ={"Content-Type":"application/json","Authorization":f"Bearer {API_KEY}"}
Chroń swój klucz API
Nigdy nie ujawniaj swojego klucza API w kodzie po stronie klienta ani w publicznych repozytoriach. Zamiast tego użyj zmiennych środowiskowych lub proxy backendowego.
Atlas Cloud Skills integruje ponad 300 modeli AI bezpośrednio z Twoim asystentem kodowania AI. Jedno polecenie do instalacji, a następnie używaj języka naturalnego do generowania obrazów, filmów i rozmów z LLM.
Obsługiwani klienci
Claude Code
OpenAI Codex
Gemini CLI
Cursor
Windsurf
VS Code
Trae
GitHub Copilot
Cline
Roo Code
Amp
Goose
Replit
40+ obsługiwani klienci
Instalacja
bash
npx skills add AtlasCloudAI/atlas-cloud-skills
Skonfiguruj klucz API
Uzyskaj klucz API z panelu Atlas Cloud i ustaw go jako zmienną środowiskową.
bash
exportATLASCLOUD_API_KEY="your-api-key-here"
Możliwości
Po zainstalowaniu możesz używać języka naturalnego w swoim asystencie AI, aby uzyskać dostęp do wszystkich modeli Atlas Cloud.
Generowanie obrazówGeneruj obrazy za pomocą modeli takich jak Nano Banana 2, Z-Image i inne.
Tworzenie wideoTwórz filmy z tekstu lub obrazów za pomocą Kling, Vidu, Veo itp.
Chat LLMRozmawiaj z Qwen, DeepSeek i innymi dużymi modelami językowymi.
Przesyłanie mediówPrześlij lokalne pliki do edycji obrazów i przepływów pracy obraz-do-wideo.