Nano Banana Standard Editing: low-cost 1K image-to-image
- Stable model ID:
gemini-2.5-flash-image - LaoZhang API price: currently $0.025/call; confirm price and charges in the console
- Best for: Background changes, object add/remove, style transfer, and simple composition
- For high resolution: Use Nano Banana Pro Image Editing for 2K/4K
API Console
Create an API key, review balance, and inspect call logs
🚀 Live Demo
YingTu AI - Try instantly, no code required
Model Overview
Nano Banana (Standard) image editing functionality is based on Google’sgemini-2.5-flash-image model, implementing intelligent editing and transformation of existing images through the chat completions interface. Supports single or multiple image inputs, enabling advanced editing functions such as image composition, element addition, and style transformation.
🎨 Intelligent Image Editing
Upload image + text description = precise editing! Supports advanced features like multi-image composition, element modification, and style transformation.
🌟 Core Features
- 🔄 Flexible Editing: Supports element addition/deletion, style transformation, image composition, etc.
- 🎭 Multi-Image Processing: Can process multiple images simultaneously for fusion, stitching effects
- 💰 Cost-Controlled: $0.025/edit, pay-per-use, transparent pricing
- 🚀 Fast Processing: Completes editing in ~10 seconds on average
- 📦 Base64 Output: Returns edited base64 image data directly
📋 Feature Comparison
🚀 Quick Start
Prerequisites
1
Create Token
Login to LaoZhang API Token Management and create a pay-per-use type token

2
Select Billing Type
Important: Must select “Pay-per-use” type, not “Pay-as-you-go”
3
Save Token
Copy the generated token (format:
sk-xxxxxx) and replace YOUR_API_KEY in the codeBasic Example - Single Image Edit
Python Example - Multi-Image Composition
Bash Script - Batch Editing
🎯 Editing Scenarios
1. Single Image Edit - Add Elements
2. Multi-Image Composition - Creative Fusion
3. Style Transfer
💡 Best Practices
1. Editing Instruction Optimization
2. Multi-Image Processing Strategy
3. Base64 Data Processing Tools
⚠️ Important Notes
- Token Type: Must use pay-per-use type token
- API Endpoint: Use
/v1/chat/completions, not/v1/images/edits - Return Format: Returns base64 encoded editing results
🔍 FAQ
How many images can be processed simultaneously?
How many images can be processed simultaneously?
There’s no hard limit theoretically, but it’s recommended not to exceed 5 images per request for optimal performance.
What's the resolution of edited images?
What's the resolution of edited images?
The system intelligently maintains or optimizes resolution, usually outputs high-quality images, depending on input images and editing requirements.
What advantages does it have compared to other editing APIs?
What advantages does it have compared to other editing APIs?
Main advantages include: lower pricing, faster processing speed, native multi-image input support, excellent Chinese language understanding.
🔗 Related Resources
Text-to-Image API
Generate images from text descriptions
Nano Banana Pro Image Editing
4K HD, complex multi-image editing
API Key Management
Create and manage tokens
Pricing
View detailed pricing
🎨 Pro Tip: Nano Banana editing functionality excels at understanding complex editing instructions and creative requirements. Utilizing detailed descriptions can achieve more precise editing results!