VARIANT · Google / Nano Banana

nano-banana-2-lite API

Google / Nano Banana

استخدم nano-banana-2-lite من عائلة Nano Banana عبر RunAPI. تسعير لكل طلب، بدون اشتراك، والعمليات الفاشلة لا تُحتسب.

جاهز للتشغيل · image · مسموح للاستخدام التجاري
runapi.ai
curl -X POST https://runapi.ai/api/v1/nano_banana/edit_image \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "nano-banana-2-lite",
  "image_url": "https://cdn.runapi.ai/public/samples/image.jpg",
  "prompt": "Create a motivational poster with the text 'Never Give Up' in bold serif, sunset mountains in the background."
}'
import { NanoBananaClient } from "@runapi.ai/nano-banana";

const client = new NanoBananaClient();
const result = await client.editImage.run({
    model: "nano-banana-2-lite",
    image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
    prompt: "Create a motivational poster with the text 'Never Give Up' in bold serif, sunset mountains in the background.",
});
<?php

require __DIR__ . "/vendor/autoload.php";

use RunApi\NanoBanana\NanoBananaClient;

$client = new NanoBananaClient();
$result = $client->editImage->run([
        'model' => 'nano-banana-2-lite',
        'image_url' => 'https://cdn.runapi.ai/public/samples/image.jpg',
        'prompt' => 'Create a motivational poster with the text \'Never Give Up\' in bold serif, sunset mountains in the background.',
]);
require "runapi/nano_banana"

client = RunApi::NanoBanana::Client.new
result = client.edit_image.run(
    model: "nano-banana-2-lite",
    image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
    prompt: "Create a motivational poster with the text 'Never Give Up' in bold serif, sunset mountains in the background."
)
npx skills add runapi-ai/nano-banana -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp

# Codex
codex plugin install runapi-mcp@agents

# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
@runapi.ai/nano-banana v1
تبديل الإصدار
OVERVIEW

يستهدف nano-banana-2-lite نقطة التوازن المثالية بين الجودة والتكلفة ضمن عائلة Nano Banana.

  • تسعير لكل طلب بالدولار الأمريكي
  • لا تُحتسب المحاولات الفاشلة
  • البث المباشر عند دعمه من النموذج
  • إعداد model skill
PRICING

التسعير

العمليات الفاشلة لا تُحتسب
Edit image
$0.03 / image
Text to image
$0.03 / image
ورقة المواصفات

التفاصيل الفنية

معرّف النموذج nano-banana-2-lite
المزوّد Google
الوسيط image
نوع المهمة asynchronous
وحدة الفوترة call
API endpoint /api/v1/nano_banana/edit_image
ترخيص تجاري نعم — مشمول عبر API
حالة الكتالوج جاهز للتشغيل
SKILLS

البدء السريع — nano-banana-2-lite

نفس البنية · الإصدار مثبت في النموذج

# Install the model skill for app development workflows
npx skills add runapi-ai/nano-banana -g
Installs docs, schemas, pricing context, and setup notes into your developer workspace.
Or use this setup request in your coding tool:
Install the Nano Banana skill for this app:

1. Add runapi-ai/nano-banana with the skills installer.
2. Load SKILL.md in this workspace.
3. Use its docs, schemas, pricing notes, and setup steps when adding model features.
4. Confirm the install path when done.
كيف يعمل

استخدم nano-banana-2-lite في أربع خطوات

01

التثبيت

ثبّت SDK الخاص بالنموذج أو مهارة الوكيل لهذا الخط من النماذج.

02

التهيئة

اضبط حقل model على معرّف النموذج الكامل الظاهر في هذه الصفحة.

03

الاستدعاء

أرسِل طلبًا مُهيكلًا يتضمن الـ prompt والمدخلات وإعدادات callback.

04

الاستلام

اقرأ استجابة المهمة أو callback webhook أو عنوان URL للإخراج المخزّن مؤقتًا من RunAPI.

DIFFERENCES

ما المختلف في nano-banana-2-lite؟

VS NANO-BANANA

Fastest, lowest-cost Nano Banana image model for rapid creation and iteration

1K resolution; fast and cheap baseline (Aug 2025)

VS NANO-BANANA-2

Fastest, lowest-cost Nano Banana image model for rapid creation and iteration

Built on Gemini 3.1 Flash; best multi-character consistency, 4–8s

VS NANO-BANANA-EDIT

Fastest, lowest-cost Nano Banana image model for rapid creation and iteration

Prompt-driven image editing from an existing image

حالات الاستخدام

الأفضل لـ

تصوير المنتجات

أنشئ تلقائيًا صور منتجات بأسلوب lifestyle لكتالوجات التجارة الإلكترونية التي تفتقر إلى تصوير استوديو.

ألعاب وفن المفاهيم

ابتكر سريعًا مفاهيم للعوالم والشخصيات قبل الانتقال إلى العمل الفني النهائي.

رسوم تحريرية

أنشئ أعمال غلاف ورسومًا توضيحية فريدة للمدونات والمقالات على نطاق واسع.

FAQ

الأسئلة الشائعة حول nano-banana-2-lite

هل معرّف النموذج ثابت عبر الإصدارات؟

يحافظ RunAPI على ثبات معرّف النموذج ويتعامل مع تحديثات الإصدارات المتوافقة دون تغيير شكل طلبك.

ما حد المعدل لهذا المتغير؟

تتدرج حدود المعدل لكل مفتاح بحسب مستوى الاستخدام. راجع صفحة التسعير للاطلاع على الحدود الحالية.

هل يمكنني التبديل إلى متغيرات أخرى لاحقًا؟

نعم — المتغير مجرد خيار. بدّل عبر تغيير معامل model.

هل يدعم البث المباشر؟

حيثما يتوفر البث، يقدّم RunAPI البث من البداية إلى النهاية.

أين أبلغ عن مشاكل الجودة؟

افتح issue في مستودع GitHub العام أو راسل الدعم عبر البريد الإلكتروني.

ابدأ الآن

ابدأ البناء باستخدام Nano Banana.