Nano Banana Pro Image Edit
google/nano-banana-pro/edit
4K Semantic Editing.Modifies existing images via natural language with context awareness and multilingual text editing.
Examples
Parameters
| Name | Type | Default | Constraints | Description |
|---|---|---|---|---|
| images *Input Images | image_upload | — | image/* · 0–14 items | Upload up to 14 images for editing. The AI will modify these images based on your prompt. |
| prompt *Prompt | textarea | ≤ 5000 chars | Describe how you want to edit the images. Be specific about the changes, style adjustments, or modifications you want. | |
| aspect_ratioAspect Ratio | select | — | 1:1 | 3:2 | 2:3 | 3:4 | 4:3 | 4:5 | 5:4 | 9:16 | … | Choose the aspect ratio for the output image. If not specified, the original aspect ratio will be preserved. |
| resolutionResolution | select | 1k | 1k | 2k | 4k | Select the resolution of the output image. Higher resolution provides more detail but takes longer to process. |
Output fields
| Field | Type | Description |
|---|---|---|
| images | array<string> | Generated image URLs |
API
Call this model through one unified REST API. Get a key on the API Keys page.
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/google/nano-banana-pro/edit" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"images": [
"https://kaito-1328216764.cos.ap-tokyo.myqcloud.com/marketplace/thumbnails/2026-01-27/d0328839a75f.png"
],
"prompt": "Change the model'\''s casual outfit to a formal dark blue business suit, add soft studio lighting, and preserve facial features.",
"aspect_ratio": "3:4",
"resolution": "4k"
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/google/nano-banana-pro/edit",
headers=HEADERS,
json={
"input": {
"images": [
"https://kaito-1328216764.cos.ap-tokyo.myqcloud.com/marketplace/thumbnails/2026-01-27/d0328839a75f.png"
],
"prompt": "Change the model's casual outfit to a formal dark blue business suit, add soft studio lighting, and preserve facial features.",
"aspect_ratio": "3:4",
"resolution": "4k"
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/google/nano-banana-pro/edit", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"images": [
"https://kaito-1328216764.cos.ap-tokyo.myqcloud.com/marketplace/thumbnails/2026-01-27/d0328839a75f.png"
],
"prompt": "Change the model's casual outfit to a formal dark blue business suit, add soft studio lighting, and preserve facial features.",
"aspect_ratio": "3:4",
"resolution": "4k"
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);Documentation
Google Nano Banana Pro Edit (Gemini 3.0 Pro Image)
The Ultimate AI Image Editor: 4K Precision, Context-Aware, and Multilingual.
Google’s Nano Banana Pro Edit is an advanced AI-powered image editing model built on the Gemini 3.0 architecture. Unlike standard text-to-image models, this tool specializes in transforming existing images. It allows you to modify scenes, replace objects, and adjust lighting using simple natural language instructions—all while maintaining native 4K resolution and character consistency.
🚀 Key Features
- Native 4K Editing: Modify images without losing quality. Produce crisp, production-ready visuals with fine details and clean edges suitable for professional print and display.
- Context-Aware Transformation: The model understands scene structure and lighting. You can say "replace the cloudy sky with a sunset," and it will adjust the entire image's lighting to match the new sky naturally.
- Multilingual On-Image Text: Uniquely capable of generating and editing text inside images in multiple languages with perfect perspective and font matching.
- Pro Camera Controls: Post-process images by adjusting virtual camera parameters like depth of field (bokeh), focal length, and color grading via text prompts.
- Consistent Character Rendering: Ideal for branding—change the background or outfit while keeping the character's face and identity 100% consistent.
🛠️ How It Works
| Parameter | Details |
|---|---|
| Input | Existing Image + Text Prompt |
| Output | Edited Image (JPEG / PNG) |
| Max Resolution | 4K (Ultra HD) |
| Aspect Ratios | Flexible (1:1, 4:3, 16:9, 21:9, etc.) |
Editing Capabilities:
- Style Transfer: "Make this photo look like an oil painting."
- Object Modification: "Turn the model’s outfit into a formal business suit."
- Relighting: "Add soft studio lighting and a dark background."
- Background Replacement: "Replace the street with a futuristic neon city."
💰 Pricing
| Resolution | Cost per Edit |
|---|---|
| 1k (Standard) | $0.14 |
| 2k (High) | $0.14 |
| 4k (Ultra) | $0.24 |
💡 Best Use Cases
- E-commerce: Change product colors, materials, or backgrounds instantly without reshooting.
- Marketing: Update campaign visuals for different seasons or regions (e.g., translate text on a billboard in the image).
- Social Media: Generate multiple variations of a selfie or lifestyle shot with different vibes.
- Creative Design: Experiment with composition and lighting during the concept phase.
🔗 Related Models
- Need to generate images from scratch? Try Nano Banana Pro Text-to-Image.
- Need even higher resolution? Try Nano Banana Pro Edit Ultra.
Note: Please ensure all editing prompts comply with Google’s Safety Guidelines. Content violating safety policies may result in generation errors.
Related models
xAI Grok Imagine Image v2.0 Edit
xAI Grok Imagine Image V2.0 Edit transforms input images with text prompts, with configurable resolution and quality for precise image editing, visual refinements, creative variations, social content, marketing assets, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Qwen Image 3.0 Pro Edit | Fast Image Editing
Qwen Image 3.0 Pro Edit is a professional-grade image editing model with superior quality and advanced instruction understanding. Up to 2k. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Head Swap (Image)
Swap the head in a photo with the head from a reference image. Upload the target photo first, then the head reference.
Nami Qwen I2I Spicy
Edit a reference image with natural-language instructions while preserving the parts you do not ask to change.
Nano Banana Image Edit
Fast & Affordable Editing. Intuitive object replacement and style transfer without manual masking.
Nano Banana 2 Image Edit
4K Semantic Editing.Modifies existing images via natural language with context awareness and multilingual text editing.
Seedream V5.0 Pro Edit API
Seedream V5.0 Pro Edit by ByteDance edits and generates images from single-image or multi-reference inputs, supporting up to 10 reference images, aspect ratio selection, and 1K / 2K output tiers. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Seedream 5.0 Lite Edit Sequential
Seedream 5.0 Lite Edit Sequential performs multi-image editing while locking character and object identity across shots. It detects main subjects, preserves continuity, and applies controlled edits with up to 4K output. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.