Nano Banana Pro Image Generation & Editing
Paste the following prompt into your AI chat to install this skill:
Follow https://skillhub.cn/install/skillhub.md to install @user_68c7e960/banana.
About this skill
Problem
When generating images, the friction is not just getting an image, but vague first prompts, drifting edits, and spending too much effort or quota before reaching a usable result. This skill turns image generation and editing into a repeatable script workflow for producing PNG files in a local directory.
How it works
- Generate images: pass the description to
--prompt; start with the default1Koutput for a quick draft. - Edit images: pass
--input-imageand use a prompt that states what to change and what to preserve, such as sky, style, people, or background. - Iterate: use
1Kfor fast feedback, then move to2Kor4Konly after composition and subject are locked. - Naming: outputs follow
yyyy-mm-dd-hh-mm-ss-name.png, making each attempt easy to trace. - Prompt templates: use style, composition, lighting, background, and color palette for vague generation; for edits, explicitly keep subject, crop, lighting, background, text, and overall style.
Notes
- Working directory: run from the user's current directory so the PNG is saved there, not in the skill directory.
- Credentials: use
--api-keyorGEMINI_API_KEY; missing credentials cause an immediate error. - Input path: verify that the image path exists and is readable before editing.
- Scope: the skill generates a file and returns its saved path; it does not read image contents or handle quota, permission, or account issues.
Use Cases
- Generate a 1K draft image from a product description in a local project directory, then refine the prompt until the composition works.
- Edit an existing PNG by passing the input path to remove a person, replace the background, and keep the subject and layout stable.
- Turn a vague hero-image brief into style, composition, lighting, and color prompts, then generate local PNG candidates for review.
- After the prompt is locked, move the same image task from 1K to 4K and output a high-resolution PNG into the current directory.
Best For
- Independent developers who need to turn product copy into candidate images quickly
- Visual designers who need to edit existing artwork locally while keeping layout intact
- Automation engineers who need timestamped PNG outputs inside a local script workflow
- Creative technologists who need Gemini image API workflows for iterative image drafts
Related Skills
Generate an interactive HTML product detail page from images and copy, with multi-product carousel, inline text editing, design controls, and PDF/JPG/PSD export support.
Enter a material name to get preview and download links for free, commercially usable video assets, with paid platform options, pricing, and search suggestions when results are limited.
A local CLI for Dreamina image and video generation, including credit checks, async submission, result queries, and task history review.
Generate and validate JianYing drafts from storyboard JSON with narrated commentary, original-sound preservation, timing checks, and draft inspection.