Short answers about Nano Banana. Nano Banana is not open source. For a Nano Banana 2 local model or how to run the API client on your computer, see the local install guide. Getting-started steps are on the Quickstart. Comparisons are in Benchmarks.
gemini-3.1-flash-image. Pricing, quotas, and account availability can
change. Open-weight models avoid that API fee, but hardware, electricity, storage, and cloud rental can still
cost money.
GOOGLE_API_KEY or GEMINI_API_KEY in your terminal. The maintained
request format is shown in Google's image-generation documentation.