gemini-3-pro-image-preview-official API
Generate and edit images up to 4K with Google's Nano Banana Pro official route on APISea.
gemini-3-pro-image-preview-officialتسعير API لنموذج gemini-3-pro-image-preview-official
جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.
| نوع الـ token | APISea | رسمي | وفّر |
|---|---|---|---|
| إدخال نصي لكل 1M رمز | $1.76 | $2.00 | −12% |
| إدخال نصي مخزّن مؤقتًا لكل 1M رمز | $0 | $0 | — |
| إدخال صورة لكل 1M رمز | $1.76 | $2.00 | −12% |
| إدخال صورة مخزّنة مؤقتًا لكل 1M رمز | $0 | $0 | — |
| إخراج نصي لكل 1M رمز | $10.56 | $12.00 | −12% |
| إخراج صورة لكل 1M رمز | $106 | $120 | −12% |
التكلفة التقريبية لكل مخرج
| الخيار | APISea | رسمي |
|---|---|---|
| 4K | ≈ $0.2112 | $0.24 |
ما هو 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.
أبرز مزايا 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.
كيفية استدعاء API الخاص بـ gemini-3-pro-image-preview-official في 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-official" والمعلمات أدناه.
- 04
تعامل مع الاستجابة
تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.
أمثلة على الطلبات
الوثائق: Nano banana Pro Image Generation# 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"
}'المعلمات
| المعلمة | النوع | مطلوب | افتراضي | الوصف |
|---|---|---|---|---|
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 |
ما الذي يمكنك إنشاؤه باستخدام 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.
نصائح للحصول على نتائج أفضل
- 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.
القيود ومعلومات مهمة
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.
الأسئلة الشائعة حول 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.
نماذج ذات صلة
Nano Banana
gemini-2.5-flash-image-previewgemini-2.5-flash-image-preview-official
Nano Banana Pro
gemini-3-pro-image-previewNano 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ابدأ التطوير باستخدام gemini-3-pro-image-preview-official
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.