MCP / Models / Image generation

Nano Banana MCP: quick images and edits with no API key

Google Nano Banana (Gemini 2.5 Image) generates and edits images from plain instructions, quick enough for prototypes and back-and-forth edits. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

No API key$0.039 / runText and image to imageGoogleCommercial use
Nano Banana sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Nano Banana in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/mcp/models/nano-banana.md. Help me connect the FlyMy.AI MCP to this assistant, then run Nano Banana (flymyai/nano-banana) for this task: Generate a 9:16 product photo of a red vintage bicycle against a pastel wall with Nano Banana at 4K.
Open FlyMy.AIDownload brief

What Nano Banana does

Nano Banana is the original Gemini 2.5 image model: describe a picture, or attach image and image1 and say what to change, and it keeps the subject recognizable across edits. Choose aspect_ratio (1:1 to 21:9, or auto) and image_size (1K, 2K or 4K). For sharper text inside the image use Nano Banana Pro or Nano Banana 2.1.

Nano Banana inputs

Every input of flymyai/nano-banana as its live schema lists them. Returns image (file).

InputType, values and default
# prompt
string required
# aspect_ratio
string optional Allowed: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, auto
# image_size
string optional Allowed: 1K, 2K, 4K
# image, image1 to image13
file optional Allowed: image file, as a URL or upload

Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

“Generate a 9:16 product photo of a red vintage bicycle against a pastel wall with Nano Banana at 4K.”runs flymyai/nano-banana
“Make three versions of a poster for a yoga class in the park with Nano Banana and send me the links.”runs flymyai/nano-banana
“Use Nano Banana to place the product from the photo I attach on a busy cafe table by the window.”runs flymyai/nano-banana

Nano Banana price

$0.039 per run. A run at the default settings costs $0.039. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

Call Nano Banana from code

The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.

From an agent, through the MCP

The agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/nano-banana",
  "input": {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  }
}

From your code, over HTTP

Form fields, not JSON; files go as uploads or public URLs. The answer is a prediction_id; read the result at https://api.flymy.ai/api/v1/flymyai/nano-banana/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/nano-banana/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=A ceramic mug on a sunlit kitchen counter, product photo'

Questions about Nano Banana

Do I need a Google API key for Nano Banana?

No. Nano Banana runs on FlyMy.AI's account, so you need no Google key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

How much does Nano Banana cost?

$0.039 per run. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-09.

How do I use Nano Banana in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Generate a 9:16 product photo of a red vintage bicycle against a pastel wall with Nano Banana at 4K." Your agent reads the inputs with get_model_schema and runs flymyai/nano-banana with run_model.

What does Nano Banana need as input?

Nano Banana requires prompt; it also takes 16 optional inputs, each listed on this page with its allowed values and default.

Can I call Nano Banana from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/nano-banana/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

Go to the source

From the FlyMy.AI model catalog of 2026-11-09: inputs from the model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.