APIMart
Nano Banana Pro model icon
Image

Nano Banana Pro API

Nano Banana Pro API gives you Google's Gemini 3 Pro Image on APIMart for 1K, 2K and 4K image generation and editing, with legible multilingual text, up to 14 reference images and consistency for up to 5 people. Pay-as-you-go billing and membership discounts are available.

Image GenerationImage Editing4K OutputCommercial use

Service Highlights

  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Input
161 characters
Output
Generated 1

Image link valid for 72 hours

Nano Banana Pro API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

VariantTierGoldCurrent pricePlatinumDiamondOfficialYour savings
nano-banana-pro-ext1K0.2Credits(~$0.02)/pic0.19Credits(~$0.019)/pic0.18Credits(~$0.018)/pic0.375Credits(~$0.0375)/pic46.6%
2K0.2Credits(~$0.02)/pic0.19Credits(~$0.019)/pic0.18Credits(~$0.018)/pic0.375Credits(~$0.0375)/pic46.6%
4K0.3Credits(~$0.03)/pic0.285Credits(~$0.0285)/pic0.27Credits(~$0.027)/pic0.5Credits(~$0.05)/pic40%
nano-banana-pro

Prices are estimates; actual cost is billed by token usage.

1K1.072Credits(~$0.1072)/pic1.0184Credits(~$0.1018)/pic0.9648Credits(~$0.0965)/pic1.34Credits(~$0.134)/pic20%
2K1.072Credits(~$0.1072)/pic1.0184Credits(~$0.1018)/pic0.9648Credits(~$0.0965)/pic1.34Credits(~$0.134)/pic20%
4K1.92Credits(~$0.192)/pic1.824Credits(~$0.1824)/pic1.728Credits(~$0.1728)/pic2.4Credits(~$0.24)/pic20%

* Actual costs are subject to final output.

Google Nano Banana Pro API (Gemini 3 Pro Image) on APIMart

Google built Nano Banana Pro for studio-quality images and precise control. Render legible text in multiple languages, blend up to 14 reference images, keep up to 5 people consistent and adjust camera, lighting and color, at 1K, 2K or 4K. Affordable pay-as-you-go billing with up to 28% off for members.

50K+

Active Users

99.9%

Uptime

2x

Faster

70%

Cost Savings

Nano Banana Pro API Example: Text to Image and Image to Image

Call Google Nano Banana Pro on APIMart with one POST request. Nano Banana Pro generation is asynchronous: submit a task, then poll the task endpoint to get the image URL.

  1. 1

    Authenticate Nano Banana Pro API requests

    Save the key you created above in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.

  2. 2

    Submit a Nano Banana Pro task

    POST /v1/images/generations with the Nano Banana Pro model, your prompt, size and resolution. Add image_urls to edit images. The response returns a task_id.

  3. 3

    Get the Nano Banana Pro result

    Send GET /v1/tasks/{task_id} until the Nano Banana Pro task is completed, then read the image URL from data.result.images[0].url[0]. Image URLs are valid for 24 hours, so download the files you want to keep. A failed task returns the reason in error.message.

    See the Nano Banana Pro API documentation for every parameter and response field.

POST /v1/images/generations
curl -X POST https://api.apimart.ai/v1/images/generations \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3-pro-image-preview",
    "prompt": "A bilingual cafe menu board in English and French on a chalkboard wall, clean hand-lettered typography, warm morning light",
    "n": 1,
    "size": "16:9",
    "resolution": "2K"
  }'

Nano Banana Pro API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: gemini-3-pro-image-previewgemini-3-pro-image-preview (Ext, alias nano-banana-pro-ext) or gemini-3-pro-image-preview-official (official, alias nano-banana-pro).
promptstringRequiredDefault: —Text description of the image or the edit.
sizestringOptionalDefault: —auto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9 or 21:9. For text to image, auto resolves to 1:1 or 16:9; for image editing, set it explicitly.
resolutionstringOptionalDefault: 1KOutput resolution: 1K, 2K or 4K. 4K responses in base64 take longer to process.
nintegerOptionalDefault: 1Number of images per request. Only 1 is supported; send it as a number, not a string.
image_urlsarrayOptionalDefault: —Up to 14 reference images as public http(s) URLs or full data URIs. JPEG, PNG or WebP, max 30 MB each. Adding them switches to image editing.
nsfw_checkbooleanOptionalDefault: falseModerate the prompt and input images with omni-moderation-latest before submission. Adds cost and latency.
official_fallbackbooleanOptionalDefault: falseUse the official channel as a fallback. Cannot be set when model is the -official version.

Nano Banana API Model Family

Compare every Nano Banana model on APIMart. One API key calls all of them, billed per image.

ModelBase modelBest forResolution
Nano Banana APIGemini 2.5 Flash ImageCharacter consistency, multi-image blending and prompt-based edits1K
Nano Banana Pro APIThis pageGemini 3 Pro ImageProfessional 4K images, legible multilingual text and consistency for up to 5 people1K / 2K / 4K
Nano Banana 2 APIGemini 3.1 Flash ImageFast, cost-efficient generation from 0.5K to 4K0.5K – 4K
Nano Banana 2 Lite APIGemini 3.1 Flash Lite ImageFast 1K images and editing, one image per request with up to 14 reference images1K
Gemini Nano Banana 2.1 APIGemini Nano Banana 2.1Latest version: text-to-image and reference-image editing in 14 aspect ratios1K / 2K / 4K

Guides, comparisons and pricing analysis from the APIMart blog.