Image Google

Nano Banana API

Use the Nano Banana API via RunAPI with a model skill, unified auth, and pay-as-you-go pricing.

runapi.ai
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "nano-banana-edit",
  "prompt": "Create a motivational poster with the text 'Never Give Up' in bold serif, sunset mountains in the background."
}'
import { NanoBananaClient } from "@runapi.ai/nano-banana";

const client = new NanoBananaClient();
const result = await client.textToImage.run({
    model: "nano-banana-edit",
    prompt: "Create a motivational poster with the text 'Never Give Up' in bold serif, sunset mountains in the background.",
});
<?php

require __DIR__ . "/vendor/autoload.php";

use RunApi\NanoBanana\NanoBananaClient;

$client = new NanoBananaClient();
$result = $client->textToImage->run([
        'model' => 'nano-banana-edit',
        'prompt' => 'Create a motivational poster with the text \'Never Give Up\' in bold serif, sunset mountains in the background.',
]);
require "runapi/nano_banana"

client = RunApi::NanoBanana::Client.new
result = client.text_to_image.run(
    model: "nano-banana-edit",
    prompt: "Create a motivational poster with the text 'Never Give Up' in bold serif, sunset mountains in the background."
)
npx skills add runapi-ai/nano-banana -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp

# Codex
codex plugin install runapi-mcp@agents

# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
@runapi.ai/nano-banana v1
OVERVIEW

About Nano Banana

Nano Banana is Google's fast image generation model optimized for accurate text rendering within images and consistent multi-character scenes. It delivers rapid results without sacrificing prompt fidelity.

Provider
Google
Modality
Image

Available Versions

Variant Billing Pricing
nano-banana call $0.04 View →
nano-banana-2 call $0.08 View →
nano-banana-2-lite call $0.04 View →
nano-banana-edit call $0.04 View →
nano-banana-pro call $0.18 View →
PRICING

Nano Banana Pricing

Endpoint Resolution Duration Price
text_to_image — — $0.04 / image

Prices shown for nano-banana. Other variants retain their own endpoint pricing.

Agent integration

Run Nano Banana From an Agent

HOW IT WORKS

Get Started with Nano Banana

  1. Create an API key

    Sign up and generate an API key from the dashboard.

  2. Pick a version

    Choose the version that best matches your quality and cost requirements.

  3. Send a request

    Submit your prompt and parameters to the model's documented endpoint.

  4. Get your result

    Poll the task or set a webhook, then download the completed output.

CONTEXT

About Nano Banana on RunAPI

Nano Banana is Google's image model embedded in Gemini, purpose-built for fast generation with in-image text accuracy. Through RunAPI, all Nano Banana variants share a single key.

Provider
Google
See all →
Modality
Image
Browse models →

Why Use Nano Banana Through RunAPI

One auth, every provider

A single RunAPI API key unlocks the whole model catalog across all providers. No separate accounts to create, no API keys to rotate per integration, and no credential management overhead. Add a new model to your app by changing one parameter.

Unified pricing & billing

Per-call pricing in USD, billed monthly into a single invoice. No subscription tiers, no minimum spend, and failed generations are never charged. The pricing page and check_pricing API show exact costs before you commit to a model.

Schema-first SDK

Typed schemas, parameter constraints, and setup notes are packaged in the model skill so your implementation starts from the right contract. The skill loads into Claude Code, Codex, Gemini CLI, Cursor, and VS Code — your agent knows the correct request shape before you write a line of code.

Nano Banana Questions

How accurate is in-image text rendering?

Nano Banana is optimized for text accuracy — it reliably renders short to medium-length text like headlines, labels, and captions within generated images.

What is multi-character consistency?

Nano Banana maintains consistent character appearance across multiple subjects in the same image — faces, clothing, and proportions stay coherent.

How fast is generation?

The base variant is fast. The pro variant takes 10–20 seconds but outputs up to 4K resolution.

What is the difference between Nano Banana and Nano Banana Pro?

Pro is built on Gemini 3 Pro and outputs up to 4K with the best text rendering. The standard variant is optimized for faster generation at 1K.

Can I use Nano Banana for editing existing images?

Yes — Nano Banana 2 Lite and the edit variant accept source images and apply prompt-driven modifications while preserving the original composition.

Which variant should I start with?

Pick the cheapest variant that meets your quality bar. Most teams start on the fast variant and graduate to pro for production.

SIMILAR MODELS

Similar Image Models

Start generating with Nano Banana