跳到主要内容
Nano Banana API 价格指南

已弃用: Google 已弃用 Nano Banana。 新项目请使用 Nano Banana 2.1.

Model logo

Nano Banana API

  • 文本生成图像
  • 图像生成图像
点击上传PNG, JPG, WEBP, GIF · 最大 10MB
输出

您生成的image将显示在此处

更新于

Deprecated: Google has deprecated Nano Banana (Gemini 2.5 Flash Image). For new work use Nano Banana 2.1, the cheapest current Nano Banana, or Nano Banana 2 and Nano Banana Pro.

What is Nano Banana?

Nano Banana is Google's August 2025 Gemini 2.5 Flash image route. It was the first and fastest Nano Banana, returning a single still in roughly 1.5 to 2 seconds with output near 1024×1024. The standout features are ten aspect ratios native to the call (1:1 through 21:9) and up to 20 reference images per request. The trade is text rendering, which is unreliable past three or four words, and a hard resolution ceiling that rules out print delivery. Use it for brainstorming and high-volume drafting, then regenerate the winners on Nano Banana 2 or Pro for production.

Key features of Nano Banana

Ten aspect ratios from a single endpoint

1:1 for feed posts, 9:16 for reel covers, 21:9 for ultra-wide banners, plus 4:5 and 5:4 for vertical and horizontal social. Same prompt across the lot, no separate crop step.

Up to 20 reference images per call

Pass an array of URLs alongside the prompt for layout drafts, brand exploration, and rapid composition variants. Each reference can be up to 10 MB.

Sub-2-second turnaround

Roughly 3x faster than Nano Banana Pro. Useful when a creative team is sweeping dozens of prompts before locking a direction or A/B testing tens of compositions for the same brief.

What Nano Banana is best for

  • Aspect-ratio sweeps

    Same prompt across all ten ratios in under a minute. Useful for picking which composition to commit to.

  • UI mocks and storyboards

    Quick visual reference for design reviews. Quality is enough for layout, not for final delivery.

  • Reference-driven layout drafts

    Up to 20 reference images per call. Useful for early-stage brand exploration where you need many compositional variants.

  • Model A/B testing

    Same request shape as Nano Banana 2 and Pro. Compare quality side-by-side without changing client code.

  • Internal-facing imagery

    Slack avatars, internal docs, presentation thumbnails. The 1024×1024 ceiling is fine for non-customer surfaces.

Nano Banana use cases

Sweep a campaign hero across all ten aspect ratios in a single batch. The same prompt feeds 1:1 for feed, 9:16 for stories, 16:9 for landing, and 21:9 for the ultra-wide banner, and one batch picks the winner. Build out brand exploration boards by passing 15 to 20 references per call and letting the prompt remix them into a dozen compositional drafts. Stand up internal-facing imagery (Slack avatars, doc thumbnails, deck headers) without touching the design queue. Once a frame is worth keeping, regenerate it on Nano Banana 2 with explicit resolution control, or on Pro for the photoreal hero shot.

Nano Banana API examples

Call Nano Banana from any language by POSTing to /v1/tasks. Full parameter docs live at docs.unifically.com/models/image/google/nano-banana.

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "google/nano-banana",
    "input": {
      "prompt": "A futuristic city skyline at sunset with flying cars",
      "aspect_ratio": "16:9"
    }
  }'

Successful submission returns a task_id. Poll GET /v1/tasks/<task_id> or set a callback_url on the request to receive the finished result.

常见问题

关于 Nano Banana 的常见问题

Nano Banana is the original Gemini 2.5 Flash image route from Google. Send a prompt, get a single image back, with optional reference images and a choice of ten aspect ratios.

Around 1.5 to 2 seconds per image in typical conditions, roughly 3x faster than the Pro variant. The trade is resolution (capped near 1024×1024) and text rendering, which mangles long phrases.

Use Nano Banana when the job is high-volume and the output is a draft or for brainstorming. Use Nano Banana 2 when you need explicit resolution control. Use Pro when the asset has to go out with photoreal materials or readable text inside the image.

Up to 20 reference images per call, each up to 10 MB. Passed as URLs in the image_urls array.

Ten values: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, and 21:9.

There is no free tier. New UnificAlly accounts get a $0.50 signup balance — 25 images on Nano Banana 2 Lite ($0.02 each) or 7 on Nano Banana Pro. After that, billing is pay-per-use with no subscription, and your balance never expires.

Nano Banana 指南与对比

运行此模型前,先了解价格、限制和实测输出。