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-previewCennik API Nano Banana Pro
Wszystkie ceny podano w USD. Porównanie stawek APISea z oficjalną ceną za tę samą jednostkę.
| Opcja | APISea | Oficjalna cena | Oszczędzasz |
|---|---|---|---|
| DomyślnieDomyślnie | $0.022 | $0.134 | −84% |
| 4K | $0.033 | $0.24 | −86% |
Ceny podano za za obraz.
Czym jest 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.
Najważniejsze informacje o 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.
Jak wywołać API Nano Banana Pro w 4 krokach
- 01
Uzyskaj klucz API
Zaloguj się do APISea, doładuj konto kwotą co najmniej $50 i utwórz klucz sk-sea w konsoli.
- 02
Ustaw bazowy URL
Użyj https://api.apisea.ai/v1 jako bazowego URL w swoim SDK lub kliencie HTTP.
- 03
Wyślij żądanie
Wywołaj POST /v1/images/generations, podając "model": "gemini-3-pro-image-preview" oraz parametry wymienione poniżej.
- 04
Obsłuż odpowiedź
Odpowiedź zawiera task_id. Wysyłaj zapytania GET /v1/tasks/{task_id}, aż status zmieni się na completed, a następnie pobierz pliki z podanych adresów URL.
Przykłady żądań
Dokumentacja: Nano banana Pro Image Generation# 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"
}'Parametry
| Parametr | Typ | Wymagane | Domyślnie | Opis |
|---|---|---|---|---|
model | string | Wymagane | gemini-3-pro-image-preview | Image generation model name |
nsfw_check | boolean | Opcjonalne | false | Whether to run content moderation before submitting the image task. |
prompt | string | Wymagane | — | Text description for image generation |
size | string | Opcjonalne | — | Image generation size |
n | integer | Opcjonalne | — | Number of images to generate |
resolution | string | Opcjonalne | — | Output image resolution |
official_fallback | boolean | Opcjonalne | false | Whether to use the official channel fallback |
image_urls | array | Opcjonalne | — | List of reference image URLs for image-to-image or image editing |
Co możesz zbudować z 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.
Wskazówki, jak uzyskać lepsze wyniki
- 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.
Limity i ważne informacje
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.
FAQ 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.
Powiązane modele
Nano Banana
gemini-2.5-flash-image-previewgemini-2.5-flash-image-preview-official
gemini-3-pro-image-preview-official
Nano Banana 2
gemini-3.1-flash-image-previewgemini-3.1-flash-image-preview-official
Nano-Banana-2-Lite
gemini-3.1-flash-lite-imagegemini-3.1-flash-lite-image-ext
Nano Banana 2.1
gemini-nano-banana-2.1Zacznij tworzyć z Nano Banana Pro
Jeden klucz, płatność za użycie już od $50; opłaty naliczane tylko za udane żądania.