| name | gemini-nano-banana |
| description | Auto-generated skill for gemini tools via OneKey Agent Router. |
OneKey Agent Router
Use One Access Key to connect to various commercial APIs. Please visit the OneKey Router Keys and read the docs OneKey MCP Router Doc and OneKey Agent Router Doc.
gemini Skill
Use the OneKey Agent Router to access tools for this server via a unified access key.
Quick Start
Set your OneKey access key:
export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY
If no key is provided, the scripts fall back to the demo key BETA_TEST_KEY_MARCH_2026.
Common settings:
unique_id: gemini/gemini
api_id: one of the tools listed below
Tools
generate_image_gemini
Generates an image using the Gemini Image API.
Supported Models (aliases are internal):
The model parameter allows selection between available image generation models.
- "gemini-2.5-flash-image" (recommended default for stable, fast response).
- "gemini-3-pro-image-preview".
- "gemini-3-flash"
Aliases for these models are 'nano-banana 2.5' and 'nano-banana 3 Pro' respectively.
Please use 'gemini-2.5-flash-image' unless the user specifically requests the Gemini 3 model.
Args:
model: The image generation model to use (see supported models above). Defaults to "gemini-2.5-flash-image". Supports: 'gemini-3-flash', 'gemini-3-pro-image-preview', 'gemini-2.5-flash-image'
prompt: A detailed text description for the image to be generated.
image_name: The filename for the output image, can be a relative path. Defaults to "gemini_output_images.png".
output_folder: The optional folder path where the image will be saved (use the user's personal directory). If None, uses a server default.
aspect_ratio: The aspect ratio of the generated image (e.g., '16:9', '1:1', '4:3'). Defaults to '16:9'.
image_size: The size/resolution of the generated image (e.g., '1K', '2K', '4K'). Defaults to '1K'.
Return:
Dict: Result dictionary containing image path, message, and success status.
output_result["image_path"]: str
output_result["image_url"]: str
output_result["message"]: str
output_result["success"]: bool
Parameters:
model (string, optional):
prompt (string, optional):
image_name (string, optional):
output_folder (object, optional):
aspect_ratio (string, optional):
image_size (string, optional):
generate_image_nano_banana
Get Public Available Stock Symbols from Global Marketplace
Args:
model: The image generation model to use. Defaults to "gemini-2.5-flash-image". Supported Models such as follows Google Gemini Doc, such as 'gemini-3-flash', "gemini-3-pro-image-preview", "gemini-2.5-flash-image", note that nano-banana is the alias name of the Gemini Image Model. Nano banana 3 Pro refers to Gemini 3 pro preview, and Nono Banana 2.5 refers to Gemini 2.5. Unless specified by user to use Gemini 3 model preview, general 'Neno Banana' image models, please use 'gemini-2.5-flash-image' for more stable and fast response.
prompt: A detailed text description for the image to be generated.
image_name: The filename for the output image, can be a relative path, such as "./new_gemini_image.png", etc. Defaults to "gemini_output_images.png".
output_folder: The optional folder path where the image will be saved. Please use the users' personal directory for this path. If None, uses a default location to the root folder of the server/image
aspect_ratio: The aspect ratio of the generated image (e.g., '16:9', '1:1', '4:3'), defaults to '16:9'.
image_size: The size/resolution of the generated image (e.g., '1K', '2K', '4K'), defaults to '1K'.
Return:
Dict: output_result is the result dict of MCP returned
output_result["image_path"] = full_path: str
output_result["message"] = output_message: str
output_result["success"] = success: bool
Parameters:
model (string, optional):
prompt (string, optional):
image_name (string, optional):
output_folder (object, optional):
aspect_ratio (string, optional):
image_size (string, optional):
Scripts
Each tool has a dedicated script in this folder:
skills/gemini/scripts/generate_image_gemini.py
skills/gemini/scripts/generate_image_nano_banana.py
Example
python3 scripts/<tool_name>.py --data '{"key": "value"}'
Related DeepNLP OneKey Router Documents
AI Agent Marketplace
Skills Marketplace
AI Agent A2Z Deployment
PH AI Agent Router
PH AI Agent A2Z Infra
GitHub AI Agent Marketplace