YepAPI
GoogleImage Generation/v1/media/queue

Nano Banana 3.1 Flash API

Fast AI image generation via Nano Banana 3.1 Flash. Generate and edit images up to 4K resolution.

Fast, high-volume image generation via Google's Nano Banana 3. Generates and edits images from text prompts with reference images, aspect ratios, and resolutions up to 4K.

No credit card required. Takes 30 seconds.

Nano Banana 3.1 Flash API pricing

Pay per request from your YepAPI balance — no subscription, no monthly minimum. Prices updated October 23, 2026.

BillingPrice
Rate$1.00/1M input
Rate (~$0.19 est.)$120.00/1M output

2,400+

Developers

1.2M+

API calls served

100+

Endpoints

$0.01

Per call

Yep, that's it.

Try it live

Enter a prompt and generate an image with Nano Banana 3.1 Flash.

POST/v1/media/queue

Drop image or click to upload

For image-to-image editing

Response
Sample output

Sample output — run the API to generate your own

Nano Banana 3.1 Flash specs

ProviderGoogle
Model IDgoogle/nano-banana-3-flash
Endpoint/v1/media/queue
TypeImage Generation
Context window66K tokens
Max output66K tokens

How to get a Nano Banana 3.1 Flash API key

  1. 1

    Create a free account

    Sign up at yepapi.com with Google or email. It takes about 30 seconds and needs no card.

  2. 2

    Create an API key

    Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.

  3. 3

    Call Nano Banana 3.1 Flash

    Send a request to /v1/media/queue with the x-api-key header and model "google/nano-banana-3-flash".

  4. 4

    Pay as you go

    Usage is billed per request from your balance. Top up any amount; there is no subscription.

Strengths

✓
Image generation

Nano Banana 3.1 Flash generates images from text prompts, supporting aspect ratios and resolutions up to 4K.

✓
Image editing

It edits existing images using reference images and text instructions, not just creating new ones from scratch.

✓
Fast

Built for high-volume, fast image generation, making it suited to producing many images quickly.

✓
Up to 4K

It can output high-resolution images up to 4K, suitable for detailed, production-quality visuals.

Quick start

Copy this snippet and start making calls with Nano Banana 3.1 Flash.

// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "google/nano-banana-3-flash",
    "prompt": "A hyper-detailed miniature world inside a cracked geode crystal — tiny glowing trees, waterfalls of molten gold, bioluminescent mushrooms, dramatic volumetric light rays piercing through the crystal shell",
    "options": {
      "aspectRatio": "1:1"
    }
  }),
});
const { data } = await res.json();
const jobId = data.jobId;

// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
  headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }

Nano Banana 3.1 Flash vs similar models

Every model below runs on the same API key — switch by changing the model ID.

ModelProviderPriceContext
Nano Banana 3.1 FlashGoogle$1.00/1M input, $120.00/1M output (~$0.19 est.)66K
Gemini 3.1 Flash Lite ImageGooglefrom $0.08/image—
Gemini 2.5 Flash ImageGooglefrom $0.09/image—
Nano Banana 3 ProGoogle$4.00/1M input, $240.00/1M output (~$0.32 est.)66K
FLUX 3 Image KleinBlack Forest Labsfrom $0.02/image—
GPT Image 2OpenAIfrom $0.02/image—
GPT Image 1 MiniOpenAIfrom $0.02/image—
GPT-5.4 Image 2OpenAIfrom $0.02/image—

Why use Nano Banana 3.1 Flash through YepAPI?

✓One API key for all models — no separate accounts
✓No monthly minimums — pay per call
✓Switch models with one line of code
✓Simple REST API — works from any language
✓Unified billing across all providers
✓No rate limits for most use cases

Nano Banana 3.1 Flash API: fast AI image generation up to 4K

Nano Banana 3.1 Flash is Google's fast, high-volume image model, generating and editing images from text prompts with reference images, aspect ratios, and resolutions up to 4K. It is built for speed, making it well suited to producing large batches of images quickly.

Through YepAPI you access Nano Banana 3.1 Flash with one API key. That same key also reaches text and other models plus YepAPI's SEO, SERP, and web-scraping endpoints, so you can research, write, and generate visuals from a single account.

What is Nano Banana 3.1 Flash?

Nano Banana 3.1 Flash is Google's fast image-generation model in the Nano Banana 3 family. It creates images from text prompts and can also edit existing images using reference images, text instructions, chosen aspect ratios, and resolutions up to 4K. Built for high-volume, low-latency generation, it is designed to produce many images quickly rather than to maximize per-image render time. It is well suited to product imagery, concept art, marketing visuals, and creative experimentation where speed and resolution both matter. Pricing is token-based: $1.00/1M input, $120.00/1M output (~$0.19 est.) per generation.

Build with Nano Banana 3.1 Flash via YepAPI

Submit image jobs to YepAPI's /v1/media/queue endpoint with your API key, providing a text prompt and optional reference images, aspect ratio, and resolution up to 4K. The queue model lets you fire off generations and retrieve results as they complete, which suits batch and high-volume image workloads. One key also unlocks text models and YepAPI's SEO, SERP, and scraping APIs, so you can, for example, scrape product data, write copy, and generate matching imagery through a single integration.

Nano Banana 3.1 Flash API pricing — token-based, ~$0.19 per image

Nano Banana 3.1 Flash uses token-based pricing: $1.00/1M input, $120.00/1M output (~$0.19 est.) per generated image. Rather than a fixed per-image fee, cost reflects the tokens consumed by the prompt and the generated output, with a typical image landing around ten cents. That makes high-volume generation predictable and affordable, especially when you produce many variations or edits in a batch.

Nano Banana 3.1 Flash for high-volume product imagery

The model is built for generating and editing images at scale: product shots in multiple aspect ratios, marketing creative variations, concept art, and edited versions of existing assets using reference images. Its speed lets you produce large batches quickly, and 4K output supports production-quality results. Paired with YepAPI's scraping and SEO tools on the same key, it fits content pipelines that gather data and produce matching visuals together.

Try Nano Banana 3.1 Flash free

New YepAPI accounts include $5 in free credit with no card required. At roughly ten cents per image, that covers dozens of generations and edits, so you can test Nano Banana 3.1 Flash on your own prompts and reference images before committing.

Start generating in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”

Marcus T.

SEO Platform Founder

“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”

Priya S.

Full-Stack Developer

“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”

Jake R.

Indie Hacker

Frequently asked questions

Fast, high-volume image generation via Google's Nano Banana 3. Generates and edits images from text prompts with reference images, aspect ratios, and resolutions up to 4K.

Nano Banana 3.1 Flash costs $1.00/1M input, $120.00/1M output (~$0.19 est.) through YepAPI, billed per request with no monthly fee.

Sign up at yepapi.com (Google or email, about 30 seconds), open the dashboard and create an API key. The same key works for Nano Banana 3.1 Flash and every other model — no separate Google account or waitlist.

New YepAPI accounts in most countries get free signup credit, enough to test Nano Banana 3.1 Flash without a card. After that you pay per request at the rates above — there is no subscription.

Use "google/nano-banana-3-flash" as the model on /v1/media/queue. The short alias "nano-banana" also works.

Ready to use Nano Banana 3.1 Flash?

$5 free credit on signup. No credit card required. Pay per call.

Explore more models