Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
Google · Nano Banana

gemini-3.1-flash-lite-image-ext API

Generate low-cost 1K images from text or reference images with Google's Nano Banana Lite model on APISea.

إنشاء الصورالصورمهمة غير متزامنة
معرّف النموذج
gemini-3.1-flash-lite-image-ext

تسعير API لنموذج gemini-3.1-flash-lite-image-ext

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

الخيارAPISeaرسميوفّر
افتراضيافتراضي$0.0088$0.0336−74%

الأسعار لكل صورة.

ما هو gemini-3.1-flash-lite-image-ext؟

Google's gemini-3.1-flash-lite-image-ext is part of the Nano Banana family, designed for large-scale, low-cost image generation. On APISea, it supports text-to-image prompts and image-to-image generation with up to 14 reference images. Outputs are limited to 1K resolution, with selectable aspect ratios for square assets, vertical covers, widescreen images, and ultra-wide banners. You can also call it using the interchangeable alias nano-banana-2-lite-ext.

Submit requests to POST /v1/images/generations using your APISea key and the OpenAI-compatible base URL https://api.apisea.ai/v1. Generation is asynchronous and task-based, with an optional webhook callback. APISea Default pricing is $0.0088 per image versus the provider list price of $0.0336 per image—about 74% below list price. APISea bills only successful requests; multi-image requests are charged by the actual number of successful images. Channel billing depends on backend configuration.

أبرز مزايا gemini-3.1-flash-lite-image-ext

Text and reference inputs

Generate images from a text prompt or supply up to 14 reference images for image-to-image generation. References can be public image URLs or full Base64 Data URIs.

Selectable aspect ratios

Choose square, portrait, landscape, or ultra-wide ratios through the size parameter. All outputs use the supported 1K resolution tier.

Low default image price

APISea Default costs $0.0088 per image, about 74% below the provider list price of $0.0336 per image.

Asynchronous task callbacks

Generation runs as an asynchronous task. Supply a webhook base URL to receive success or failure notifications at that URL plus /callback.

كيفية استدعاء API الخاص بـ gemini-3.1-flash-lite-image-ext في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/images/generations مع "model": "gemini-3.1-flash-lite-image-ext" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.

# model can be "gemini-3.1-flash-lite-image-ext", the alias "nano-banana-2-lite" also works
curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "gemini-3.1-flash-lite-image-ext",
    "prompt": "赛博朋克风格的城市夜景,霓虹灯闪烁",
    "size": "16:9",
    "resolution": "1K",
    "n": 1
  }'

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
modelstringمطلوبgemini-3.1-flash-lite-imageImage generation model name
nsfw_checkbooleanاختياريfalseWhether to run content moderation before submitting the image task.
promptstringمطلوب—Text description for image generation
sizestringاختياري—Image aspect ratio
resolutionstringاختياري1KOutput image resolution
nintegerاختياري1Number of images to generate
image_urlsarrayاختياري—Reference image URL list for image-to-image generation
webhookstringاختياري—Task callback URL (base)

ما الذي يمكنك إنشاؤه باستخدام gemini-3.1-flash-lite-image-ext

Social asset generation

Build a tool that turns campaign prompts into square posts, portrait images, or widescreen covers using explicit aspect ratios.

Reference-based creative workflows

Let users upload product or character references alongside a prompt to guide image-to-image generation.

Large-scale concept exploration

Generate 1K visual concepts for review workflows where low per-image cost matters more than higher-resolution output.

Image generation dashboards

Build a task-based interface that updates when webhook notifications report completion or failure, with one image requested at a time.

نصائح للحصول على نتائج أفضل

  • 01

    Set the ratio explicitly

    Specify size instead of 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

    Keep resolution at 1K

    Set resolution to 1K or use the default. Requests for 2K, 4K, or 0.5K silently fall back to 1K rather than returning an error.

  • 03

    Request one image

    Send n as the plain integer 1, not a quoted string. The documentation recommends this for image-by-image progress and clearer billing; supported values range from 1 to 4.

  • 04

    Validate reference inputs

    Use jpeg, png, or webp references, each no larger than 10MB. Public URLs must be accessible, and Base64 inputs must include the full Data URI prefix.

القيود ومعلومات مهمة

  • Only 1K output is supported; other documented resolution values silently downgrade to 1K.

  • Image-to-image requests accept at most 14 references, each no larger than 10MB.

  • google_search and official_fallback are unsupported, and this model has no -official variant.

الأسئلة الشائعة حول API الخاص بـ gemini-3.1-flash-lite-image-ext

How much does gemini-3.1-flash-lite-image-ext cost on APISea?

APISea Default pricing is $0.0088 per image, compared with the provider list price of $0.0336 per image—about 74% below list price. Multi-image requests are billed by the actual number of successful images; billing is subject to each channel's backend configuration.

How do I call this model through APISea?

Send a Bearer-authenticated POST request to https://api.apisea.ai/v1/images/generations with model set to gemini-3.1-flash-lite-image-ext and a required prompt. Generation is asynchronous; you can supply a webhook base URL for task notifications.

Is nano-banana-2-lite-ext the same model?

Yes. nano-banana-2-lite-ext is an equivalent, interchangeable alias for gemini-3.1-flash-lite-image-ext.

What parameters can I control?

Supported parameters include prompt, size, resolution, n, image_urls, nsfw_check, and webhook. Resolution is limited to 1K, and n accepts plain integers from 1 to 4.

Does it support image-to-image generation and higher resolutions?

It supports image-to-image generation with up to 14 reference images in jpeg, png, or webp format, each no larger than 10MB. Higher resolutions are not supported: 2K, 4K, and 0.5K requests silently downgrade to 1K.

Can I use generated images commercially?

Commercial use is subject to the provider's terms and applicable content policies. The supplied documentation does not specify commercial licensing rights, so review those terms before using outputs commercially.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام gemini-3.1-flash-lite-image-ext

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.