nano-banana-image-generator
SKILL.md
Nano Banana Image Generator
Overview
This skill enables AI-powered image generation using Nano Banana Pro (powered by Gemini). Generated images are automatically saved to the user's public images folder for easy access.
When to Use
- User asks to "generate an image of..."
- User asks to "create a picture of..."
- User asks to "make an illustration of..."
- User wants visual content created from a text description
- User mentions "Nano Banana" for image generation
Workflow
Step 1: Generate the Image
Use the Composio/Rube MCP tools to generate the image:
- Call
RUBE_SEARCH_TOOLSwith the query "generate images using nano banana" to get session ID - Call
RUBE_MULTI_EXECUTE_TOOLwith tool_slugGEMINI_GENERATE_IMAGE
Tool Parameters:
prompt(required): The text description of the image to generatemodel: Usegemini-3-pro-image-previewfor Nano Banana Pro (default, best quality with 4K support)aspect_ratio: Options include1:1,16:9,9:16,4:3,3:4, etc.image_size: For Nano Banana Pro, options are1K,2K, or4K
Example execution:
RUBE_MULTI_EXECUTE_TOOL with:
tool_slug: "GEMINI_GENERATE_IMAGE"
arguments: {
"prompt": "A cute cat wearing sunglasses on a beach",
"model": "gemini-3-pro-image-preview",
"aspect_ratio": "16:9",
"image_size": "2K"
}
The tool returns a public S3 URL with the generated image.
Step 2: Download and Save to Public Folder
After receiving the image URL from the generation tool:
- Download the image using
curlorwget - Save it to the public images folder:
/Users/mac/Public/images/ - Use a descriptive filename based on the prompt (e.g.,
cat-sunglasses-beach.png)
Example:
curl -o "/Users/mac/Public/images/cat-sunglasses-beach.png" "<generated-image-url>"
Step 3: Confirm to User
After saving:
- Confirm the image was generated and saved
- Provide the local file path
- Optionally display the image if in a supported environment
Important Notes
- Always set
sync_response_to_workbench: falsewhen callingRUBE_MULTI_EXECUTE_TOOLfor image generation - The public images folder is
/Users/mac/Public/images/- create it if it doesn't exist - Use descriptive, kebab-case filenames derived from the prompt
- The Gemini connection is already active and ready to use
Weekly Installs
1
Repository
run6270/skillGitHub Stars
1
First Seen
14 days ago
Security Audits
Installed on
amp1
cline1
openclaw1
trae1
opencode1
cursor1