Nano Banana 2.1 Edit
/v1/image/nano-banana-2.1-editImage editing and composition with Nano Banana 2.1.
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- PromptNeededThe edit or composition instruction: what to change, add or combine, and what to keep the same. Refer to the inputs in order ("the first image", "the video").…
- Image sizeNeededOutput size (REQUIRED — it sets the price): 512 (about $0.022), 1K (about $0.034), 2K (about $0.050), 4K (about $0.113) per image for the image tokens alone.One of 512, 1K, 2K, 4K
- Aspect ratioOptionalOutput aspect ratio: 1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9 or 21:9. Omit to let the model choose; set it when the shape matters.One of 1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3
- Thinking levelOptionalHow much the model reasons before drawing: minimal, medium, high. Higher levels can help complex layouts and text; thinking tokens bill as text output.One of minimal, medium, high
- SeedOptionalOptional seed (0-2147483647) for more repeatable results; identical output is not guaranteed.
- System instructionOptionalOptional standing instruction for the model (role, house style), up to 5000 characters; billed as input tokens.
- Google searchOptionalLet the model search the web before drawing (today's weather, recent events, real products). Each search query it runs bills $0.014.
- ImagesOptionalPublic https:// URLs of up to 14 images (max 10 MB each): the image to edit, or objects, characters and styles to combine.
- VideosOptionalPublic https:// URLs of up to 3 short videos (max 20 MB each) to draw from.
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@gemini:/v1/image/nano-banana-2.1-editTopics
Image GenerationMore from Google Gemini
All 11Reference to VideoReference-guided video generation with Gemini Omni Flash.From 5.8 creditsNano Banana LiteText-to-image generation with Nano Banana Lite.From 4.3 creditsText to VideoText-to-video with Gemini Omni Flash.From 5.8 creditsNano Banana ProText-to-image generation with Nano Banana Pro.From 17 creditsNano Banana 2.1Text-to-image generation with Nano Banana 2.1.From 4.3 creditsEdit VideoText-instructed video editing with Gemini Omni Flash.From 5.8 credits