# Gemini Image (Nano Banana) — card for AI agents

Gemini API image generation and editing models (Gemini 3.x Image, Nano Banana).

Category: AI image generators · maker Google · checked 2026-10-30

## Price
- Price: Paid
- Free tier: None; image models are paid tier only.
- Usage price: Gemini 3.1 Flash Image $0.045 (0.5K) to $0.151 (4K); Nano Banana 2.1 $0.0336 (1K); Gemini 3 Pro Image $0.134 (1K/2K).
- Pricing page: https://ai.google.dev/gemini-api/docs/pricing

## License
Gemini API Additional Terms — https://ai.google.dev/gemini-api/terms

- commercial: **conditions** (Commercial use with conditions)
  > Google won't claim ownership over that content.
  (https://ai.google.dev/gemini-api/terms)
- attribution: **varies** (Credit depends on the item)
  > which may require the provision of attribution to your users when returned as part of an API call
  (https://ai.google.dev/gemini-api/terms)
- in app: **conditions** (Ship inside your app with conditions)
  > Use of Google AI Studio and Gemini API is for developers building with Google AI models for professional or business purposes, not for consumer use.
  (https://ai.google.dev/gemini-api/terms)
- youtube: **conditions** (Monetized YouTube with conditions)

## Rules to follow
- Move off Gemini 2.5 Flash Image; it was scheduled to shut down on 2026-10-02.
- Disclose realistic AI-generated content on YouTube (altered or synthetic content setting).

## Can an AI agent use it by itself?
**No** · package: Agent installs a package or loads it from a CDN

## How an agent gets files
- POST https://generativelanguage.googleapis.com/v1beta/interactions, e.g. client.interactions.create(model="gemini-nano-banana-2.1", input=...); read interaction.output_image (base64 PNG). Use the @google/genai npm package. (sign-in: api-key)
- Formats: png
- Not allowed: All generated images include a SynthID watermark
- Not allowed: Do not use the services to develop models that compete with the Gemini API or Google AI Studio
- Not allowed: Google does not claim ownership over generated content

## How to connect
- Public API
- API docs: https://ai.google.dev/gemini-api/docs/pricing (API key needed)
- npm: `npm install @google/genai`
- Website: https://ai.google.dev

## Notes
Terms: Google won't claim ownership over generated content.

## Lines to paste into your prompt or AGENTS.md

```
- Gemini Image (Nano Banana) (AI image generators). Gemini API image generation and editing models (Gemini 3.x Image, Nano Banana). Price: paid; commercial use with conditions; credit depends on the item; ship inside your app with conditions.
  Connect: API docs https://ai.google.dev/gemini-api/docs/pricing (API key needed); npm @google/genai.
  Get files: POST https://generativelanguage.googleapis.com/v1beta/interactions, e.g. client.interactions.create(model="gemini-nano-banana-2.1", input=..); read interaction.output_image (base64 PNG). Use the @google/genai npm package (png).
  Not allowed: All generated images include a SynthID watermark
  Not allowed: Do not use the services to develop models that compete with the Gemini API or Google AI Studio
  Not allowed: Google does not claim ownership over generated content
  Rule: Move off Gemini 2.5 Flash Image; it was scheduled to shut down on 2026-10-02.
  Rule: Disclose realistic AI-generated content on YouTube (altered or synthetic content setting).
  License: https://ai.google.dev/gemini-api/terms (checked 2026-10-30; details: https://agentgid.com/assets/gemini-image/)
```

Not verified: SynthID for images not confirmed on the pages read.

## Links
- AgentGid page: https://agentgid.com/assets/gemini-image/
- Is it free for commercial use? https://agentgid.com/assets/gemini-image/commercial-use/
- Source: https://ai.google.dev/gemini-api/docs/pricing
- Source: https://ai.google.dev/gemini-api/terms

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
