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 خطوات
- 01
احصل على API key
سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.
- 02
اضبط عنوان URL الأساسي
استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.
- 03
أرسل الطلب
استدعِ POST /v1/images/generations مع "model": "gemini-3-pro-image-preview" والمعلمات أدناه.
- 04
تعامل مع الاستجابة
تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.
أمثلة على الطلبات
الوثائق: 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"
}'المعلمات
| المعلمة | النوع | مطلوب | افتراضي | الوصف |
|---|---|---|---|---|
model | string | مطلوب | gemini-3-pro-image-preview | Image generation model name |
nsfw_check | boolean | اختياري | false | Whether to run content moderation before submitting the image task. |
prompt | string | مطلوب | — | Text description for image generation |
size | string | اختياري | — | Image generation size |
n | integer | اختياري | — | Number of images to generate |
resolution | string | اختياري | — | Output image resolution |
official_fallback | boolean | اختياري | false | Whether to use the official channel fallback |
image_urls | array | اختياري | — | 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.
نماذج ذات صلة
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.1ابدأ التطوير باستخدام Nano Banana Pro
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.