APIMaster.ai

Nano Banana 2 API

Google Gemini 3.1 Flash Image Preview — fast text-to-image and image-to-image with native 4K output and up to 14 reference images.

Access Nano Banana 2 through APIMaster's OpenAI-compatible images endpoint. Generate text-to-image or image-to-image with extreme aspect ratios, optional Google search grounding, and resolution tiers from 0.5K to 4K — billed per image, pay-as-you-go.

입력
참조 이미지 (여러 개)
JPEG / PNG / WebP (최대 10MB) · Up to 14 reference images
출력
결과가 여기에 표시됩니다.

What is the Nano Banana 2 API?

Nano Banana 2 is powered by Google's gemini-3.1-flash-image-preview model. It delivers fast multimodal image generation with strong prompt following, up to 14 reference images for editing workflows, and native 4K output. Use the sync endpoint for one-shot results or async submit + poll for batch pipelines.

모델 선택
03
gemini-3.1-flash-image-preview

Channel 03

이미지당$0.0375/ 장$0.0672/ 장44% 절약

지문 검증 기록

검증 데이터가 없습니다

가동 상태

검증 데이터가 없습니다

Transparent per-image pricing by resolution — pay only for the images you generate.

Nano Banana 2 API — Pricing

ModelOur priceOfficialSave
Nano Banana 2$0.0375/img$0.0672/img44%

Capabilities

Native 4K output

Generate up to 4K resolution images with sharp detail — resolution billed in 0.5K / 1K / 2K / 4K tiers.

Text & image-to-image

Up to 14 reference images for editing, style transfer, and multi-image fusion workflows.

Extreme aspect ratios

Supports auto sizing plus ratios from 1:1 through 21:9 and extreme 1:4 / 4:1 — ideal for banners and social formats.

Use cases

E-commerce product shotsUI mockups & app screensMarketing visualsImage editing pipelines4K creative assets

Quick start

curl https://apimaster.ai/v1/images/generations \
  -H "Authorization: Bearer $APIMASTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-image-preview",
    "prompt": "An orange cat at sunset, watercolor"
  }'

Nano Banana 2 API — 자주 묻는 질문

Which model id do I use?

Always gemini-3.1-flash-image-preview in the model field. Nano Banana 2 is the product name on APIMaster.

Which endpoint do I call?

POST /v1/images/generations (sync) or /v1/images/generations/async — not /chat/completions. See Quick start below.

How is billing calculated?

Per image, multiplied by resolution tier (0.5K/1K base, 2K ≈ 4/3×, 4K ≈ 2×). See the price table and usage logs for exact charges.

Can I use reference images?

Yes — up to 14 reference images via image_urls or multipart upload in the playground. JPEG, PNG, WebP, max 10MB each.

Is my data safe?

Yes. Your API data is not stored or used for training, and all requests are sent over encrypted connections.

Other models

시작하는 방법

01

API Key 생성하기

가입하고 3초 안에 OpenAI 호환 API key를 생성하세요. 신용카드가 필요하지 않습니다.

API Key 생성
02

잔액 충전하기

USDT 또는 Epay로 크레딧을 추가하세요. 하나의 잔액으로 모든 모델과 제공업체에서 사용 가능합니다.

지금 충전하기
03

코드 또는 에이전트에 연결하세요

APIMaster key와 base URL을 교체하세요 — 모든 OpenAI 호환 도구(Claude Code, Cursor, LangChain, LiteLLM 등)와 함께 작동합니다.

문서 보기