Skip to content
이 페이지는 아직 해당 언어로 제공되지 않아 영어로 표시됩니다.
Google · Nano Banana

gemini-nano-banana-2.1-ext API

Generate images from text or edit reference images with Nano Banana 2.1 Ext on APISea.

이미지 생성이미지비동기 작업
모델 ID
gemini-nano-banana-2.1-ext

gemini-nano-banana-2.1-ext API 가격

모든 가격은 USD 기준입니다. 동일한 단위에 대해 APISea 요금과 공식 가격표를 비교합니다.

옵션APISea공식절약
기본값기본값$0.0132$0.0336−61%
1K$0.0132$0.0336−61%
2K$0.0154$0.0504−69%
4K$0.0198$0.1134−83%

가격 단위: 이미지당.

gemini-nano-banana-2.1-ext이란?

Google’s Nano Banana model gemini-nano-banana-2.1-ext supports text-to-image generation and reference image editing on APISea. Supply a Chinese or English prompt, then omit image_urls for a new image or provide reference images for editing. It returns one image per task, with 1K, 2K, and 4K resolution tiers and 14 supported aspect ratios. References can be publicly accessible HTTP(S) URLs or Base64 Data URLs, with up to 40MB per image and 60MB total.

Call POST /v1/images/generations using your APISea API key. Processing is asynchronous: retrieve the result using the returned task_id or configure a webhook. Ext billing is per image, based on resolution: Default and 1K cost $0.0132 per image, 2K costs $0.0154 per image, and 4K costs $0.0198 per image. The default configuration is about 61% below the provider list price. APISea uses pay-as-you-go pricing and bills only for successful requests.

gemini-nano-banana-2.1-ext 주요 특징

Generation and reference editing

Create an image from a text prompt or supply image_urls for image-to-image generation and editing. Prompts support Chinese and English.

Resolution and aspect controls

Choose 1K, 2K, or 4K output across 14 supported aspect ratios. Set size to auto to let the model decide; image-to-image output follows the reference image aspect ratio.

Per-image pricing

Ext pricing is $0.0132 per image for Default or 1K, $0.0154 per image for 2K, and $0.0198 per image for 4K. Each Ext task produces one image.

Optional official fallback

Enable official_fallback to attempt the official version if Ext fails. If the official version is used, billing switches to actual token usage.

gemini-nano-banana-2.1-ext API를 호출하는 4단계

  1. 01

    API 키 발급

    APISea에 로그인하고 $50부터 충전한 다음, 콘솔에서 sk-sea 키를 생성합니다.

  2. 02

    base URL 설정

    SDK 또는 HTTP 클라이언트에서 https://api.apisea.ai/v1를 base URL로 사용합니다.

  3. 03

    요청 전송

    "model": "gemini-nano-banana-2.1-ext"와 아래 매개변수를 지정해 POST /v1/images/generations를 호출합니다.

  4. 04

    응답 처리

    응답에 task_id가 포함됩니다. 상태가 completed가 될 때까지 GET /v1/tasks/{task_id}를 폴링한 다음 결과 URL에서 파일을 다운로드합니다.

curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "gemini-nano-banana-2.1-ext",
    "prompt": "An orange cat on a wooden table beside a cup of coffee, soft morning light, realistic photography",
    "size": "16:9",
    "resolution": "2K",
    "n": 1
  }'

매개변수

매개변수유형필수 여부기본값설명
modelstring필수 여부—Model ID: `gemini-nano-banana-2.1` or `gemini-nano-banana-2.1-ext`.
nsfw_checkboolean선택 사항falseWhether to run content moderation before submitting the image task.
promptstring필수 여부—A text description for image generation or editing. Chinese and English are supported.
sizestring선택 사항autoOutput aspect ratio. Supports `1:4`, `4:1`, `1:8`, `8:1`, `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`, and `21:9`. Formats such as `16x9` are also accepted.
resolutionstring선택 사항1KOutput resolution tier: `1K`, `2K`, or `4K`. Lowercase values are accepted. This also affects billing.
ninteger선택 사항1Number of output images: 1–4 for the official version; only 1 for Ext.
image_urlsstring[]선택 사항—Reference image list. Omit for text-to-image; provide for image-to-image or editing. Each item supports:
official_fallbackboolean선택 사항falseOnly applies to `gemini-nano-banana-2.1-ext`. When enabled, attempts to complete the task using the official version if Ext fails.
webhookstring선택 사항—Callback URL notified when the task ends. See [task webhooks](/docs/tasks/webhook).

gemini-nano-banana-2.1-ext으로 만들 수 있는 것

Marketing image workflows

Build a tool that generates campaign images from written briefs, with selectable portrait, square, or landscape aspect ratios.

Reference-based creative editing

Let users upload reference images and describe edits in Chinese or English, then retrieve the completed image through task queries.

Multi-format content production

Submit separate tasks for images intended for different layouts, such as 9:16 vertical placements and 16:9 landscape placements.

Budgeted image generation

Offer resolution-based image generation with per-image cost estimates, keeping official_fallback disabled when predictable Ext pricing is required.

더 나은 결과를 위한 팁

  • 01

    Set resolution explicitly

    Use only 1K, 2K, or 4K for resolution. The default is 1K, and your selection affects billing.

  • 02

    Keep n at one

    Set n to 1 for Ext requests. For multiple images, submit separate Ext tasks or use the official version.

  • 03

    Plan asynchronous retrieval

    Poll task status every 3–5 seconds and allow at least 3 minutes for the overall wait timeout. Alternatively, supply a webhook for notification when the task ends.

  • 04

    Choose fallback deliberately

    Leave official_fallback false to retain Ext per-image billing. Enable it only when you accept a switch to actual token usage if the official version completes the task.

제한 사항 및 알아둘 점

  • Ext supports only one output image per request.

  • Reference images are limited to 40MB each and 60MB total.

  • Resolution values 0.5K and 512 return HTTP 400; actual pixel dimensions are determined by the returned image.

gemini-nano-banana-2.1-ext API FAQ

How much does gemini-nano-banana-2.1-ext cost on APISea?

Default and 1K cost $0.0132 per image, 2K costs $0.0154 per image, and 4K costs $0.0198 per image. The default configuration is about 61% below the provider list price, and APISea bills only for successful requests.

How do I call this model through APISea?

Send an authenticated POST request to https://api.apisea.ai/v1/images/generations with model set to gemini-nano-banana-2.1-ext and a required prompt. The response provides a task_id for asynchronous status and result retrieval.

Can it edit images as well as generate them?

Yes. Provide image_urls containing publicly accessible HTTP(S) image URLs or Base64 Data URLs for image-to-image generation or editing; omit image_urls for text-to-image generation.

Which output settings and input limits apply?

The model supports 1K, 2K, and 4K resolution tiers and 14 aspect ratios, but only one output image per Ext request. Reference images can be up to 40MB each, with a 60MB total limit.

How does Ext compare with the official version?

Both versions offer the same output dimensions and image quality. Ext uses per-image billing and supports one output image, while the official version bills by actual token usage and supports 1–4 images per request.

Can I use generated images commercially?

Commercial use is subject to the provider's terms. Review the applicable terms for your intended use; the supplied model documentation does not specify commercial licensing rights.

관련 모델

모델 250개 이상 · 최소 충전 금액 $50

gemini-nano-banana-2.1-ext으로 개발을 시작하세요

하나의 키로 $50부터 사용한 만큼 결제하며, 성공한 요청에만 요금이 청구됩니다.