Zum Inhalt springen
FlowAPI

Modelle / Bild / Nano Banana 2.1

Nano Banana 2.1 API

Ab · pro Bild
$0.016
1K
$0.016

Nano Banana 2.1 costs $0.016 per image on FlowAPI (1K); you call it with model id google/nano-banana-2.1 through one REST endpoint or the MCP server, and failed jobs are refunded in full.

Modell-IDgoogle/nano-banana-2.1GoogleBildLive
Preise für Nano Banana 2.1, USD (live aus der Preisliste)
SpezifikationPreis (USD)Einheit$0.5-Test
1K$0.016pro BildJa

Parameters

Parameter Values Default Note
resolution 1K 1K Selects the price row.
n 1–4 1 Images per request; price × n.

Input modes (input.type): text, image. See image generation for references and roles.

Code

cURL

bash
curl https://useflowapi.com/v1/generations \
  -H "Authorization: Bearer $FLOWAPI_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: nano-banana-2-1-1" \
  -d '{"model":"google/nano-banana-2.1","input":{"type":"text","prompt":"A red bicycle leaning on a brick wall"},"parameters":{"resolution":"1K","n":1}}'

TypeScript (fetch, Node 18+)

ts
const res = await fetch('https://useflowapi.com/v1/generations', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.FLOWAPI_KEY}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': 'nano-banana-2-1-1',
  },
  body: JSON.stringify({
    "model": "google/nano-banana-2.1",
    "input": {
      "type": "text",
      "prompt": "A red bicycle leaning on a brick wall"
    },
    "parameters": {
      "resolution": "1K",
      "n": 1
    }
  }),
});
const job = await res.json();
console.log(job.id, job.status, job.price.amount);

Python (requests)

python
import os, requests

res = requests.post(
    "https://useflowapi.com/v1/generations",
    headers={
        "Authorization": f"Bearer {os.environ['FLOWAPI_KEY']}",
        "Idempotency-Key": "nano-banana-2-1-1",
    },
    json={
      "model": "google/nano-banana-2.1",
      "input": {
        "type": "text",
        "prompt": "A red bicycle leaning on a brick wall"
      },
      "parameters": {
        "resolution": "1K",
        "n": 1
      }
    },
)
job = res.json()
print(job["id"], job["status"], job["price"]["amount"])

Check the price first with POST /v1/quotes (same body, never charges). Then poll GET /v1/jobs/{id} (async jobs).

Use it from an AI agent

Add the FlowAPI MCP server to Claude, Cursor or any MCP client and ask for a image with google/nano-banana-2.1.

About this page

Nano Banana 2.1 is made by Google. FlowAPI is an independent API service and is not affiliated with or endorsed by Google. Prices on this page are read from FlowAPI's live price table.

FAQ

How much does the Nano Banana 2.1 API cost?
Nano Banana 2.1 costs $0.016 per image at 1K on FlowAPI.
Is FlowAPI the official Nano Banana 2.1 API?
No. FlowAPI is an independent API service, not affiliated with Google, that runs Nano Banana 2.1 for you at a flat price.
Are failed Nano Banana 2.1 jobs refunded?
Yes. A failed, timed-out or cancelled job is refunded in full automatically.
How many Nano Banana 2.1 images can one request make?
One request makes 1 to 4 images (parameters.n), priced at $0.016 each at 1K.