ript src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Generate, edit, or transfer images using Gemini API — nano_banana"><meta name="description" content="Generate a new image, edit an existing image, or transfer styles/content between two images using the Gemini API (aka Nano Banana).
This function supports image generation from text, image editing with a prompt a