{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "id": "BCl9pcbOOeA0" }, "outputs": [], "source": [ "# Copyright 2025 Google LLC\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", "# You may obtain a copy of the License at\n", "#\n", "# https://www.apache.org/licenses/LICENSE-2.0\n", "#\n", "# Unless required by applicable law or agreed to in writing, software\n", "# distributed under the License is distributed on an \"AS IS\" BASIS,\n", "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n", "# See the License for the specific language governing permissions and\n", "# limitations under the License." ] }, { "cell_type": "markdown", "metadata": { "id": "ZPC2X_a9ErW7" }, "source": [ "# Gemini 2.5 Flash Image (Nano Banana 🍌) Generation\n", "\n", "> **NOTE:** On October 2, 2026, Gemini 2.5 Flash Image will be retired on Gemini Enterprise Agent Platform. After this date, you will be unable to use this model. Please use Gemini 3.1 Flash Image (Nano Banana 2) or Gemini 3 Pro Image (Nano Banana Pro) instead.\n", "\n", "
| \n",
" \n",
" Open in Colab\n", " \n", " | \n",
" \n",
" \n",
" Open in Colab Enterprise\n", " \n", " | \n",
" \n",
" \n",
" Open in Workbench\n", " \n", " | \n",
" \n",
" \n",
" View on GitHub\n", " \n", " | \n",
"
\n",
"Share to:\n",
"\n",
"\n",
" \n",
"\n",
"\n",
"\n",
"
\n",
"\n",
"\n",
"\n",
"
\n",
"\n",
"\n",
"\n",
"
\n",
"\n",
"\n",
"\n",
" \n",
"\n",
"