Skip to content
Halaman ini belum tersedia dalam bahasa Anda, jadi ditampilkan dalam bahasa Inggris.
Google · Nano Banana

gemini-3-pro-image-preview-official API

Generate and edit images up to 4K with Google's Nano Banana Pro official route on APISea.

Pembuatan gambarGambarTugas asinkronCaching prompt
ID model
gemini-3-pro-image-preview-official

Harga API gemini-3-pro-image-preview-official

Semua harga dalam USD. Bandingkan tarif APISea dengan harga resmi untuk satuan yang sama.

Jenis tokenAPISeaResmiHemat
Input teks per 1 juta token$1.76$2.00−12%
Input teks dari cache per 1 juta token$0$0—
Input gambar per 1 juta token$1.76$2.00−12%
Input gambar dari cache per 1 juta token$0$0—
Output teks per 1 juta token$10.56$12.00−12%
Output gambar per 1 juta token$106$120−12%

Perkiraan biaya per output

OpsiAPISeaResmi
4K≈ $0.2112$0.24

Apa itu gemini-3-pro-image-preview-official?

Google's gemini-3-pro-image-preview-official is an image generation and editing model in the Nano Banana family, available through APISea's official provider route. Use it to create images from text descriptions or transform reference images supplied as public URLs or complete base64 Data URIs. The endpoint supports explicit aspect ratios and 1K, 2K, or 4K output resolution, with one image per request. Processing is asynchronous: submit a request, receive a task ID, and query for the result.

APISea provides access with one API key and the OpenAI-compatible base URL https://api.apisea.ai/v1. Billing is pay-as-you-go and applies only to successful requests. This model is token-billed, with an estimated per-image cost at 4K of about $0.2112, versus provider list about $0.24. The default configuration is about 12% below the provider list price, and prompt-cache reads are supported.

Keunggulan gemini-3-pro-image-preview-official

Text and reference inputs

Generate images from a text prompt or supply reference images for image-to-image and editing workflows. Reference inputs accept public image URLs or complete base64 Data URIs.

Resolution and ratio controls

Choose 1K, 2K, or 4K output resolution. Supported aspect ratios include square, portrait, landscape, and 21:9 formats.

Asynchronous task handling

POST to /v1/images/generations returns a task ID for subsequent queries. Build task tracking into your application rather than expecting an immediate image result.

Optional content moderation

Enable nsfw_check to review prompts and input images with omni-moderation-latest before submission. It defaults to false, which adds no moderation cost or latency.

Cara memanggil API gemini-3-pro-image-preview-official dalam 4 langkah

  1. 01

    Dapatkan API key

    Masuk ke APISea, isi saldo mulai dari $50, lalu buat key sk-sea di konsol.

  2. 02

    Atur base URL

    Gunakan https://api.apisea.ai/v1 sebagai base URL di SDK atau klien HTTP Anda.

  3. 03

    Kirim permintaan

    Panggil POST /v1/images/generations dengan "model": "gemini-3-pro-image-preview-official" dan parameter berikut.

  4. 04

    Tangani respons

    Respons berisi task_id. Lakukan polling ke GET /v1/tasks/{task_id} sampai statusnya completed, lalu unduh URL hasilnya.

# model can be "gemini-3-pro-image-preview-official", 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-official",
    "prompt": "A bamboo forest path under moonlight",
    "size": "1:1",
    "n": 1,
    "resolution": "1K"
  }'

Parameter

ParameterJenisWajibDefaultDeskripsi
modelstringWajibgemini-3-pro-image-previewImage generation model name
nsfw_checkbooleanOpsionalfalseWhether to run content moderation before submitting the image task.
promptstringWajib—Text description for image generation
sizestringOpsional—Image generation size
nintegerOpsional—Number of images to generate
resolutionstringOpsional—Output image resolution
official_fallbackbooleanOpsionalfalseWhether to use the official channel fallback
image_urlsarrayOpsional—List of reference image URLs for image-to-image or image editing

Yang bisa Anda buat dengan gemini-3-pro-image-preview-official

Marketing asset generation

Build a tool that turns campaign briefs into images with explicit aspect ratios for different placements.

Reference-based image editing

Let users submit reference images and a text description of the desired changes in an editing workflow.

Creative concept exploration

Generate individual visual concepts from art-direction prompts, then submit additional requests to explore alternatives.

Queued image production

Integrate image generation into a background-job pipeline that tracks task IDs and saves completed assets.

Tips untuk hasil yang lebih baik

  • 01

    Set the aspect ratio

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

  • 02

    Choose resolution explicitly

    Set resolution to 1K, 2K, or 4K; 1K is the default. Generating 4K images with base64 format takes longer processing time.

  • 03

    Validate reference inputs

    Supply no more than 14 reference images, each no larger than 30MB. For base64 inputs, include the full Data URI prefix and use JPEG, PNG, or WebP.

  • 04

    Handle tasks and storage

    Keep the returned task_id for subsequent status queries. Download completed images promptly because generated links remain valid for only 24 hours.

Batasan dan hal yang perlu diketahui

  • Each request supports exactly one generated image; n must be the number 1, not a quoted string.

  • Reference inputs are limited to 14 images, with a maximum size of 30MB per image.

  • The official_fallback parameter cannot be used with this official-route model.

FAQ API gemini-3-pro-image-preview-official

How much does Nano Banana Pro cost on APISea?

The estimated per-image cost at 4K is about $0.2112, token-billed, versus provider list about $0.24. Per 1M tokens, rates are text input $1.76, cached text input $0, image input $1.76, cached image input $0, text output $10.56, and image output $105.60. The default configuration is about 12% below the provider list price.

How do I call gemini-3-pro-image-preview-official?

Send a Bearer-authenticated POST request to https://api.apisea.ai/v1/images/generations with model set to gemini-3-pro-image-preview-official and a required prompt. The alias nano-banana-pro is also accepted; the response returns a task ID for subsequent queries.

Which image generation parameters are supported?

You can set size for aspect ratio, resolution to 1K, 2K, or 4K, and image_urls for reference-based generation or editing. Set n to the number 1 and optionally enable nsfw_check; do not use official_fallback with this model.

What are the input and output limits?

The listed limits are 1,000,000 input tokens and 128,000 output tokens. Reference inputs support up to 14 JPEG, JPG, PNG, or WebP images, each no larger than 30MB, and each request generates one image.

Can I use generated 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.

How does the official model differ from the standard version?

gemini-3-pro-image-preview-official uses the official provider route and accepts the alias nano-banana-pro. The standard version is gemini-3-pro-image-preview, with alias nano-banana-pro-ext; the supplied facts do not establish a quality or speed difference between the routes.

Model terkait

Pilihan: 250+ model · Minimum isi saldo $50

Mulai berkarya dengan gemini-3-pro-image-preview-official

Satu API key, bayar sesuai penggunaan mulai dari $50, dan hanya dikenai biaya untuk permintaan yang berhasil.