Skip to main content
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
Not sure whether to use Lite, Nano Banana 2, Pro, or Standard? Start with the image generation API guide. LaoZhang API provides one global HTTPS endpoint for high-frequency production access without a fixed low gateway concurrency plan; final capacity still depends on upstream and account state.

Model Overview

Nano Banana (Standard) image editing functionality is based on Google’s gemini-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 tokenToken Creation Interface
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 code
💰 Exceptional Pricing Advantage
  • LaoZhang API: $0.025/edit (current price shown in console)
  • Google Standard reference: $0.039/edit
  • Billing note: Pay-per-use pricing, with actual charges visible in call logs

Basic 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

  1. Token Type: Must use pay-per-use type token
  2. API Endpoint: Use /v1/chat/completions, not /v1/images/edits
  3. Return Format: Returns base64 encoded editing results

🔍 FAQ

There’s no hard limit theoretically, but it’s recommended not to exceed 5 images per request for optimal performance.
The system intelligently maintains or optimizes resolution, usually outputs high-quality images, depending on input images and editing requirements.
Main advantages include: lower pricing, faster processing speed, native multi-image input support, excellent Chinese language understanding.

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!