Nano Banana API
Fast text-to-image with accurate in-image text rendering and multi-character consistency.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_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
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.
- Meerdere varianten voor verschillende snelheid-/kwaliteitsniveaus
- Modelskill bevat docs, schema's en setupnotities
- Werkt met appgerichte codeerworkflows
- Mislukte generaties worden niet in rekening gebracht
Vergelijk alle API-varianten
| Variant | Billing | From | |
|---|---|---|---|
| nano-banana | call | $0.040 | Bekijken → |
| nano-banana-2 | call | $0.080 | Bekijken → |
| nano-banana-2-lite | call | $0.030 | Bekijken → |
| nano-banana-edit | call | $0.040 | Bekijken → |
| nano-banana-pro | call | $0.180 | Bekijken → |
Installeer de Nano Banana skill voor appontwikkeling
Laad modeldocs, schema's, prijsnotities en setupstappen in je codeworkspace.
# Install the model skill for app development workflows
npx skills add runapi-ai/nano-banana -g
Install the Nano Banana skill for this app: 1. Add runapi-ai/nano-banana with the skills installer. 2. Load SKILL.md in this workspace. 3. Use its docs, schemas, pricing notes, and setup steps when adding model features. 4. Confirm the install path when done.
Van modelskill naar eerste resultaat in vier stappen
Kies het model
Kies het model en de variant die passen bij je outputtype, kwaliteitslat en latencydoel.
Configureren
Stel je RunAPI-key in en installeer de modelskill in je codeworkspace.
Bouwen
Gebruik de skill-instructies om de modelfeature in je applicatie toe te voegen.
Ontvangen
Poll op task-ID, stream wanneer ondersteund of verwerk de webhook-callback.
Wat is de Nano Banana API?
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.
Waarom de Nano Banana API via RunAPI gebruiken
Eén auth, elke provider
Met één RunAPI-sleutel ontgrendel je de hele catalogus. Geen aparte accounts, geen sleutelrotatie per integratie.
Uniforme prijzen & billing
Prijs per call in USD, maandelijks gefactureerd. Mislukte generaties worden niet in rekening gebracht.
Skill met schema's
Getypeerde schema's en setupnotities zitten in de modelskill, zodat implementatie start vanuit het juiste contract.
Veelgestelde vragen
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 at 4K resolution.
What is the difference between Nano Banana and Nano Banana Pro?
Pro is built on Gemini 3 Pro and outputs at 4K with the best text rendering. The standard variant is optimized for faster, cheaper 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.
Met welke variant moet ik beginnen?
Kies de goedkoopste variant die aan je kwaliteitsnorm voldoet. De meeste teams beginnen met de snelle variant en stappen over op pro voor productie.
Is er een gratis tier?
Nieuwe accounts krijgen de eerste calls gratis op elk model. Daarna betaal je per call.
Streamen jullie resultaten?
Waar streaming beschikbaar is, streamt RunAPI end-to-end.
Hoe worden mislukkingen gefactureerd?
Mislukte generations worden niet in rekening gebracht.
Worden outputs gecachet?
Gegenereerde outputs worden opgeslagen en zijn op te vragen via task-ID. Inputs worden niet gecachet.
Mag ik het commercieel gebruiken?
Ja — commercieel gebruik is inbegrepen voor elke variant, tenzij een modellicentie het expliciet beperkt. Dat staat aangegeven op de variantpagina.
Hoe zit het met rate limits?
Rate limits per key schalen mee met je usage tier. Zie de prijzenpagina voor de actuele limieten.
Waar kan ik problemen melden?
Open een issue in de publieke GitHub-repo of mail support.