Skip to content
Эта страница пока недоступна на вашем языке, поэтому она отображается на английском.
Google · Nano Banana

Nano Banana Pro API

Generate and edit images with Nano Banana Pro on APISea, with reference-image inputs and up to 4K output.

Генерация изображенийИзображенияАсинхронная задача
Идентификатор модели
gemini-3-pro-image-preview

Цены на API Nano Banana Pro

Все цены указаны в USD. Сравнение тарифов APISea с официальной ценой за ту же единицу.

ПараметрAPISeaОфициальная ценаЭкономия
По умолчаниюПо умолчанию$0.022$0.134−84%
4K$0.033$0.24−86%

Цены указаны за за изображение.

Что такое Nano Banana Pro?

Nano Banana Pro is Google's image generation model in the Nano Banana family, available on APISea as gemini-3-pro-image-preview. It supports text-to-image generation, image-to-image workflows, and image editing with reference images. Developers can supply a prompt, choose an aspect ratio, and select 1K, 2K, or 4K output resolution. Reference inputs can be public image URLs or complete base64 Data URIs, making it suited to image creation tools and editing interfaces.

Requests run asynchronously through POST /v1/images/generations and return a task ID for subsequent status queries. APISea provides one API key and an OpenAI-compatible base URL at https://api.apisea.ai/v1, with pay-as-you-go billing only for successful requests. APISea Default costs $0.022 per image, about 84% below the provider list price of $0.134 per image. APISea 4K costs $0.033 per image, compared with the provider list price of $0.24 per image.

Основные особенности Nano Banana Pro

Generation and Editing

Generate images from text prompts or supply reference images for image-to-image and editing workflows.

Selectable Output Resolution

Choose 1K, 2K, or 4K output resolution. The default is 1K.

Aspect Ratio Controls

Specify ratios including 1:1, 4:5, 9:16, 16:9, and 21:9. An auto option is also available.

Optional Input Moderation

Enable nsfw_check to review prompts and input images with omni-moderation-latest before task submission. It is disabled by default.

Как вызывать API Nano Banana Pro за 4 шага

  1. 01

    Получите API-ключ

    Войдите в APISea, пополните баланс на сумму от $50 и создайте ключ sk-sea в консоли.

  2. 02

    Укажите базовый URL

    Укажите https://api.apisea.ai/v1 в качестве базового URL в SDK или HTTP-клиенте.

  3. 03

    Отправьте запрос

    Вызовите POST /v1/images/generations, указав "model": "gemini-3-pro-image-preview" и параметры ниже.

  4. 04

    Обработайте ответ

    Ответ содержит task_id. Отправляйте GET /v1/tasks/{task_id}, пока статус не станет completed, а затем скачайте результаты по URL.

# model can be "gemini-3-pro-image-preview", or the compatible alias "nano-banana-pro-ext"
curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "gemini-3-pro-image-preview",
    "prompt": "A bamboo forest path under moonlight",
    "size": "1:1",
    "n": 1,
    "resolution": "1K"
  }'

Параметры

ПараметрТипОбязательныйПо умолчаниюОписание
modelstringОбязательныйgemini-3-pro-image-previewImage generation model name
nsfw_checkbooleanНеобязательныйfalseWhether to run content moderation before submitting the image task.
promptstringОбязательный—Text description for image generation
sizestringНеобязательный—Image generation size
nintegerНеобязательный—Number of images to generate
resolutionstringНеобязательный—Output image resolution
official_fallbackbooleanНеобязательныйfalseWhether to use the official channel fallback
image_urlsarrayНеобязательный—List of reference image URLs for image-to-image or image editing

Что можно создать с помощью Nano Banana Pro

Creative Asset Tools

Build a prompt-driven interface for teams to generate visual concepts and campaign assets in their chosen aspect ratio.

Reference-Based Editing

Let users upload reference images through URLs or Data URIs and describe the changes they want in a prompt.

Multi-Format Content Workflows

Create separate image requests for square, portrait, and widescreen layouts using explicit aspect ratios.

Queued Image Production

Build a background image-generation workflow that tracks task IDs, checks completion, and saves finished assets.

Советы для лучших результатов

  • 01

    Set an Explicit Ratio

    Specify size rather than relying on auto. For text-to-image, auto defaults to 1:1 or 16:9; image-to-image follows the returned aspect ratio.

  • 02

    Choose Resolution Deliberately

    Use resolution to select 1K, 2K, or 4K. APISea Default costs $0.022 per image, while APISea 4K costs $0.033 per image; 4K generation with base64 format takes longer.

  • 03

    Validate Reference Inputs

    Supply publicly accessible URLs or complete Data URIs in image_urls. Keep each image at or below 30MB and each request within 14 reference images.

  • 04

    Track and Save Results

    Store the returned task ID for subsequent queries and save generated images promptly. Their links are valid for 24 hours.

Ограничения и важные сведения

  • Generation is asynchronous and returns a task ID rather than an immediately finished image.

  • Only one output image is supported per request; n must be the unquoted number 1.

  • Reference inputs are limited to 14 images, each no larger than 30MB, in JPEG, JPG, PNG, or WebP format.

Часто задаваемые вопросы об API Nano Banana Pro

How much does Nano Banana Pro cost on APISea?

APISea Default costs $0.022 per image, compared with the provider list price of $0.134 per image—about 84% below list price. APISea 4K costs $0.033 per image, compared with the provider list price of $0.24 per image. Billing is pay-as-you-go and applies only to successful requests.

How do I call the Nano Banana Pro API?

Send an authenticated POST request to https://api.apisea.ai/v1/images/generations with a Bearer token, model set to gemini-3-pro-image-preview, and a required prompt. The response returns a task ID for subsequent queries.

Which image controls does Nano Banana Pro support?

You can set size for aspect ratio, resolution to 1K, 2K, or 4K, and image_urls for reference-based generation or editing. Optional controls include nsfw_check and official_fallback; n supports only the numeric value 1.

What are the reference-image limits and output-link expiry?

You can provide up to 14 reference images, each no larger than 30MB, in JPEG, JPG, PNG, or WebP format. Generated image links remain valid for 24 hours, so save the results promptly.

Can I use Nano Banana Pro images commercially?

Commercial use is subject to the provider's terms. Review Google's applicable terms and any rights associated with your reference images before using outputs commercially.

Is nano-banana-pro-ext the same as gemini-3-pro-image-preview?

Yes. nano-banana-pro-ext is an interchangeable alias for gemini-3-pro-image-preview and produces identical results. The separate alias nano-banana-pro maps to gemini-3-pro-image-preview-official, the official-channel version.

Похожие модели

GoogleИзображения

Nano Banana

gemini-2.5-flash-image-preview
Генерация изображений
$0.0088 за изображение
на 77% ниже официальной цены
GoogleИзображения

gemini-2.5-flash-image-preview-official

Генерация изображений
≈ $0.03432 за изображение
на 12% ниже официальной цены
GoogleИзображения

gemini-3-pro-image-preview-official

Генерация изображений
≈ $0.2112 за изображение
на 12% ниже официальной цены
GoogleИзображения

Nano Banana 2

gemini-3.1-flash-image-preview
Генерация изображений
$0.0165 за изображение
на 75% ниже официальной цены
GoogleИзображения

gemini-3.1-flash-image-preview-official

Генерация изображений
≈ $0.05896 за изображение
на 12% ниже официальной цены
GoogleИзображения

Nano-Banana-2-Lite

gemini-3.1-flash-lite-image
Генерация изображений
≈ $0.0352 за изображение
на 12% ниже официальной цены
GoogleИзображения

gemini-3.1-flash-lite-image-ext

Генерация изображений
$0.0088 за изображение
на 74% ниже официальной цены
GoogleИзображения

Nano Banana 2.1

gemini-nano-banana-2.1
Генерация изображений
≈ $0.02957 за изображение
на 12% ниже официальной цены
Более 250 моделей · Минимальное пополнение $50

Начните создавать с помощью Nano Banana Pro

Один ключ, оплата по мере использования — от $50; плата взимается только за успешные запросы.