nano-banana-2-lite API
استخدم nano-banana-2-lite من عائلة Nano Banana عبر RunAPI. تسعير لكل طلب، بدون اشتراك، والعمليات الفاشلة لا تُحتسب.
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
يستهدف nano-banana-2-lite نقطة التوازن المثالية بين الجودة والتكلفة ضمن عائلة Nano Banana.
- تسعير لكل طلب بالدولار الأمريكي
- لا تُحتسب المحاولات الفاشلة
- البث المباشر عند دعمه من النموذج
- إعداد model skill
التسعير
التفاصيل الفنية
| معرّف النموذج | nano-banana-2-lite |
| المزوّد | |
| الوسيط | image |
| نوع المهمة | asynchronous |
| وحدة الفوترة | call |
| API endpoint | /api/v1/nano_banana/edit_image |
| ترخيص تجاري | نعم — مشمول عبر API |
| حالة الكتالوج | جاهز للتشغيل |
البدء السريع — nano-banana-2-lite
نفس البنية · الإصدار مثبت في النموذج
# Install the model skill for app development workflows
npx skills add runapi-ai/nano-banana -g
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 في أربع خطوات
التثبيت
ثبّت SDK الخاص بالنموذج أو مهارة الوكيل لهذا الخط من النماذج.
التهيئة
اضبط حقل model على معرّف النموذج الكامل الظاهر في هذه الصفحة.
الاستدعاء
أرسِل طلبًا مُهيكلًا يتضمن الـ prompt والمدخلات وإعدادات callback.
الاستلام
اقرأ استجابة المهمة أو callback webhook أو عنوان URL للإخراج المخزّن مؤقتًا من RunAPI.
ما المختلف في nano-banana-2-lite؟
Fastest, lowest-cost Nano Banana image model for rapid creation and iteration
1K resolution; fast and cheap baseline (Aug 2025)
Fastest, lowest-cost Nano Banana image model for rapid creation and iteration
Built on Gemini 3.1 Flash; best multi-character consistency, 4–8s
Fastest, lowest-cost Nano Banana image model for rapid creation and iteration
Prompt-driven image editing from an existing image
الأفضل لـ
تصوير المنتجات
أنشئ تلقائيًا صور منتجات بأسلوب lifestyle لكتالوجات التجارة الإلكترونية التي تفتقر إلى تصوير استوديو.
ألعاب وفن المفاهيم
ابتكر سريعًا مفاهيم للعوالم والشخصيات قبل الانتقال إلى العمل الفني النهائي.
رسوم تحريرية
أنشئ أعمال غلاف ورسومًا توضيحية فريدة للمدونات والمقالات على نطاق واسع.
الأسئلة الشائعة حول nano-banana-2-lite
هل معرّف النموذج ثابت عبر الإصدارات؟
يحافظ RunAPI على ثبات معرّف النموذج ويتعامل مع تحديثات الإصدارات المتوافقة دون تغيير شكل طلبك.
ما حد المعدل لهذا المتغير؟
تتدرج حدود المعدل لكل مفتاح بحسب مستوى الاستخدام. راجع صفحة التسعير للاطلاع على الحدود الحالية.
هل يمكنني التبديل إلى متغيرات أخرى لاحقًا؟
نعم — المتغير مجرد خيار. بدّل عبر تغيير معامل model.
هل يدعم البث المباشر؟
حيثما يتوفر البث، يقدّم RunAPI البث من البداية إلى النهاية.
أين أبلغ عن مشاكل الجودة؟
افتح issue في مستودع GitHub العام أو راسل الدعم عبر البريد الإلكتروني.