Aller au contenu
FlowAPI

Modèles / Image / Nano Banana Pro

Nano Banana Pro API

Dès · par image
$0.027
1K/2K
$0.027
4K
$0.04

Nano Banana Pro costs $0.027 per image on FlowAPI (1K/2K) and up to $0.04 at 4K; you call it with model id google/nano-banana-pro through one REST endpoint or the MCP server, and failed jobs are refunded in full.

ID de modèlegoogle/nano-banana-proGoogleImageEn direct
Prix de Nano Banana Pro, en USD (en direct depuis la liste de prix)
SpecPrix (USD)UnitéEssai de $0.5
1K/2K$0.027par imageOui
4K$0.04par imageOui

Parameters

Parameter Values Default Note
resolution 1K, 2K, 4K 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-pro-1" \
  -d '{"model":"google/nano-banana-pro","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-pro-1',
  },
  body: JSON.stringify({
    "model": "google/nano-banana-pro",
    "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-pro-1",
    },
    json={
      "model": "google/nano-banana-pro",
      "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-pro.

About this page

Nano Banana Pro 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 Pro API cost?
Nano Banana Pro costs $0.027 per image at 1K/2K on FlowAPI and up to $0.04 at 4K.
Is FlowAPI the official Nano Banana Pro API?
No. FlowAPI is an independent API service, not affiliated with Google, that runs Nano Banana Pro for you at a flat price.
Are failed Nano Banana Pro jobs refunded?
Yes. A failed, timed-out or cancelled job is refunded in full automatically.
How many Nano Banana Pro images can one request make?
One request makes 1 to 4 images (parameters.n), priced at $0.027 each at 1K/2K.