generate-nanobanana
ما الذي تفعله
تنشئ هذه المهارة الصور والفيديوهات وتعدّلها باستخدام نماذج Google Gemini المتقدمة. يمكنك استخدام صور مرجعية لتوجيه الإنشاء، ويُسجَّل كل شيء مع تفاصيل عن التكلفة والأمر المستخدم.
متى تستخدمها
- ✓عندما تريد إنشاء صورة أو فيديو من وصف.
- ✓عندما تريد استخدام صورة موجودة كمصدر إلهام أو قالب.
- ✓عندما تريد أن يتبع الإنشاء أسلوباً أو هوية بصرية محددة.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/generate-nanobanana/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ صورة لقطة رائدة فضاء باستخدام الصورة المرجعية «my_cat.jpg» وأسلوب الهوية «company_logo.png».”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تختار المهارة أفضل نموذج من Google Gemini لمهمتك، سواء للصور أو الفيديو. تستخدم تعليماتك، وإن وُجدت، الصور المرجعية لإنشاء الناتج. وقبل كل استخدام مدفوع تطلب إذنك وتخبرك بالتكلفة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Generate Nanobanana
Overview
generate-nanobanana calls Google's Gemini media models directly through the Gemini API — no third-party routing layer — to generate and edit images and video. It routes each request to the right model tier (draft, standard, quality, or video), loads real reference images instead of relying on text descriptions, gates every paid call behind explicit user approval, and writes a JSON sidecar next to every output recording the exact prompt, model, and cost. It registers a single /generate command.
This skill adapts the workflow (model routing, reference-image handling, sidecar logging) from AntonioCardenas/generate-nanobanana. The actual request shapes in references/ were independently verified against the live Gemini API docs rather than copied from that upstream repo, whose examples predate Google's migration to the Interactions API and use stale, non-functional request methods. Model IDs, request contracts, and pricing all change on Google's own schedule — re-verify against the docs linked from each reference file before relying on this skill in a new session.
When to Use This Skill
- Use when the user asks to generate, create, or make an image or video, or wants a thumbnail.
- Use when the user wants to animate a still image, or says "generate on brand" or "generate from reference".
- Use when the user wants to link or import a folder of reference images (logos, faces, product shots) for reuse across generations.
- Use when the user invokes
/generateor/generate frf <set>, even without naming a specific model.
How It Works
Step 1: Route to a model
Pick the model for the job and read its reference file under references/ before calling anything — each file holds the current, verified request shape for that model.
| Task | Model | Model ID | Reference |
|---|---|---|---|
| Image (draft) | Nano Banana 2 Lite | gemini-3.1-flash-lite-image |
references/gemini-3.1-flash-lite-image.md |
| Image (standard) | Nano Banana 2 | gemini-3.1-flash-image |
references/gemini-3.1-flash-image.md |
| Image (quality, multi-image fusion) | Nano Banana Pro | gemini-3-pro-image |
references/gemini-3-pro-image.md |
| Video | Gemini Omni Flash | gemini-omni-flash-preview |
references/gemini-omni-flash-preview.md |
All four models are called through the Interactions API (client.interactions.create(...), REST POST /v1beta/interactions) — see each reference file for the exact shape, including reference-image input and, for video, large-output retrieval. Every call is billable; see Step 3.
Draft on Nano Banana 2 Lite first and rerun the picked favorite on Nano Banana 2 or Pro; reserve Pro for heavy multi-image fusion, character-consistent series, or dense on-image text.
Step 2: Load references
Pull real reference images from generations/refs/, or from a named reference set when the request says "on brand" or invokes /generate frf <set>. Never substitute a text description for a reference image (logo, face, brand mark) that already exists — stop and ask if a named reference is missing instead of approximating it.
Reference sets are registered by importing (copying files into generations/refs/<set>/, a snapshot) or linking (recording the source path in generations/refs/sets.json, read live at generation time). A set may carry a style.md whose contents are prepended verbatim to every prompt generated from that set.
Step 3: Generate
Call the Gemini API per the model's reference file. Every generation — image or video — is billable and requires an explicit approval gate: quote the current per-unit price from the live pricing page for the selected model and get explicit user go-ahead before that specific call. One approval covers exactly one call; a rerun needs its own. Run generations one at a time, never in parallel, so approval and cost tracking stay accurate.
…
الأسئلة الشائعة
هل يمكنني إنشاء فيديوهات؟
نعم، يمكن للمهارة إنشاء فيديوهات باستخدام نماذج مثل Gemini Omni Flash.
كيف تعمل الصور المرجعية؟
يمكنك تزويد المهارة بصور موجودة (مثل الشعارات أو الصور الفوتوغرافية) ليستخدمها الذكاء الاصطناعي كأساس أو إلهام لإبداعات جديدة.
هل لكل إنشاء تكلفة؟
نعم، كل إنشاء صورة أو فيديو مدفوع. تعرض المهارة التكلفة دائماً وتطلب موافقتك قبل المتابعة.
التفاصيل
الوصف الأصلي من المؤلف
Generate and edit images/video with Google's Gemini media models (Nano Banana 2/Pro, Gemini Omni Flash), with cost-approval gates, reference-image support, and a prompt/output log per call.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #4712
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
taste-application
280kيساعد وكيلك على إنشاء فيديوهات بأسلوب محدد. يمكنه نسخ إيقاع المونتاج من فيديو مرجعي، وإنشاء مشاهد جديدة، وضبط الألوان، ومونتاج كل شيء مع لقطات أخرى.
taste-distillation
280kيتيح لوكيلك تحليل الفيديوهات لإنشاء حزمة أسلوب. تتضمن الألوان وإيقاع القطع والعناصر البصرية التي يمكن إعادة استخدامها لإنشاء فيديوهات جديدة بالمظهر نفسه.
ui-demo
280kيجعل وكيلك يسجل فيديوهات عرض احترافية لواجهات المستخدم. مفيد لإنشاء الشروحات أو إظهار طريقة عمل تطبيق ويب.