Plantain
Image API for developers

Nano Banana 2 images at plantain prices

Plantain is an image generation API made with Nano Banana 2, Google's Gemini 3.1 Flash Image model. Send a text prompt, get back a 1024×1024 PNG for €0.02. Built for batch work where a short wait is fine.

€0.02per image
≤ 1 hourdelivery, often much sooner
50 freeimages to start
A poster that says 'NIGHT MARKET' in bold neon letters above food stallsA golden retriever puppy asleep on a knitted blanket, soft window light
A ceramic teapot and two cups on a linen tablecloth, soft morning light, product photoRetro travel poster for 'LISBON' with a yellow tram, flat colours
A bowl of ramen with a soft-boiled egg, top-down food photoA lighthouse on a rocky coast during a storm, dramatic waves
POST /v1/images“A ceramic teapot and two cups on a linen tablecloth, soft morning light”
succeeded · 1024×1024 PNG · €0.02
Examples

Straight from the API

Every image on this page came out of Plantain from the prompt shown, with no retouching. Photos, illustration, posters with text, pixel art. Tap one to see it full size.

Shown here compressed for the web; the API delivers lossless 1024×1024 PNG files.

How it works

Prompt in, PNG out

Requests are queued and processed in batches, which keeps the price low. That is why delivery takes minutes rather than seconds.

1

Send a prompt

One POST request with your text. It costs one credit and returns a job id straight away.

2

We generate it

Your image is made with Nano Banana 2 through Google's API and delivered within an hour, often much sooner.

3

Download the PNG

Poll the job, then fetch your image. It is kept for 30 days. If it fails or the model declines the prompt, the credit comes back.

Use cases

Made for volume, not for chat

If you need hundreds or thousands of images and can wait a few minutes for each, you pay a fraction of the usual price.

Studio photo of a pair of brown leather boots on a white background

Product catalogues

Studio shots, lifestyle scenes and variations for every item in a range.

A bowl of ramen with a soft-boiled egg, top-down food photo

Content pipelines

Illustrations for articles, newsletters and social posts, generated overnight.

Isometric pixel art of a tiny space station

Prototyping and games

Placeholder art, concept sketches, icons and sprites while you build.

Quick start

Three requests. That's the whole API.

Plain HTTP and JSON, usable from any language. Full reference at /docs.

# 1. submit a prompt (costs 1 credit)
curl -X POST https://getplantain.com/v1/images \
  -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
  -d '{"prompt": "A ceramic teapot on a linen tablecloth, soft morning light", "tier": "standard"}'

# 2. check the job until status is "succeeded"
curl https://getplantain.com/v1/images/$JOB_ID -H "Authorization: Bearer $API_KEY"

# 3. download the PNG
curl -o image.png https://getplantain.com/v1/images/$JOB_ID/content -H "Authorization: Bearer $API_KEY"

# buy credits: returns a link to the secure payment page
curl -X POST https://getplantain.com/v1/billing/checkout -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" -d '{"credits": 1000}'
A ceramic teapot and two cups on a linen tablecloth, soft morning light, product photo
image.png · 1024×1024
"status": "succeeded"
Pricing

€0.02 per image. That's it.

Prepaid credits, one credit per image. No subscription, no minimum commitment. Payment by card on a secure hosted payment page.

1,000 images
€20
  • 1,000 credits, €0.02 each
  • Credits never expire
  • Failed images refunded automatically
5,000 images
€100
  • 5,000 credits, €0.02 each
  • Credits never expire
  • Failed images refunded automatically
25,000 images
€500
  • 25,000 credits, €0.02 each
  • Credits never expire
  • Failed images refunded automatically
50 free images with every new account, to try it before you pay.
Get your key
Flat vector illustration of a hot air balloon over green hills, pastel paletteNight photo of a quiet Tokyo alley with glowing lanterns after rainClose-up portrait of a smiling baker with flour on her cheeks, warm bakery lightChildren's book illustration of a turtle reading under a mushroomA steaming cup of cappuccino with latte art on a marble counter, top-downWatercolour of a sailboat on a calm lake, loose brush strokesStudio product shot of a white ceramic vase with dried flowers, beige backdrop

Get an API key

Sign in with your Google account to get your API key and 50 free images straight away. Questions and support: hello@getplantain.com.

1024×1024 PNG · €0.02