Nano Banana Pro Image Generation and Editing: Integrating Direct APIs for Text-to-Image and E-commerce Design in Agents

Preface

Implementing image generation within an Agent typically involves manually writing HTTP requests, assembling prompts and parameters, and then handling the returned binary data or URLs. Capabilities like Nano Banana Pro often correspond to multiple names (NanoBanana Pro, Banana Pro, Gemini Image, etc.). When API documentation is scattered, the cost of repeated integration is high. This article introduces @infimind/nano-banana-pro on SkillHub, which packages the “raw API” image capabilities into a standardized Skill, enabling direct triggering of text-to-image, image-to-image, and editing tasks within conversations.

What is this

Nano Banana Pro Image Generation and Editing (Coordinate: @infimind/nano-banana-pro, Version: 1.0.0) is an Agent Skill targeted at the design-media category. The source is marked as enterprise, and it is published by Jirui Technology - AI Expert.

One-sentence positioning: An AI image generation and editing Skill based on Nano Banana Pro capabilities, covering the raw API image functionalities referenced by keywords such as Nano Banana Pro, NanoBanana Pro, NanoBananaPro, Banana Pro, and Gemini Image. After installation and API Key configuration, when a conversation involves the aforementioned product names or intents such as text-to-image, image-to-image, image editing, e-commerce images, advertising images, detail pages, product promotion, or “seeding” (recommendations), the Agent can follow the Skill’s instructions to call the backend, rather than starting from scratch to check the API every time.

Official Entrances:

  • API Page: https://api.skillhub.cn/infimind/nano-banana-pro
  • SkillHub Display Page: https://www.skillhub.cn/skills/infimind/nano-banana-pro

Core Functions

The following capabilities are derived from the official Skill description; specific details not expanded upon on the page are not fabricated.

  1. Text-to-Image: Generate images based on text descriptions.
  2. Image-to-Image: Transform or extend existing images based on prompts.
  3. Image Editing: Perform editing operations on existing materials (specific parameters depend on the instructions and API within the Skill).
  4. E-commerce and Marketing Scenarios: The official description explicitly lists use cases such as e-commerce images, advertising images, detail pages, product promotion, and “seeding,” making it suitable for completing design requests within the same conversation turn.

The Skill tag indicates requires_api_key=true. You must prepare and configure the corresponding API Key before use; otherwise, actual calls cannot be completed.

Installation and Activation

1. Install SkillHub CLI (if not already installed)

First, check if skillhub exists on your local machine:

command -v skillhub && skillhub --version

If it is not installed, follow the SkillHub installation documentation to execute the full installation (CLI + Default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If only the CLI is needed:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

For the installation process and priority source strategy, see: https://skillhub.cn/install/skillhub.md.

2. Install this Skill

The installation instructions provided on the SkillHub page are: Follow the installation documentation mentioned above to install @infimind/nano-banana-pro.

During actual installation, you must use --dir to point to the current Agent’s skills directory. Otherwise, it will default to ./skills/, which the Agent may not be able to load. Example:

skillhub install @infimind/nano-banana-pro --dir <your Agent skills directory>

Common client skills paths (excerpted from SkillHub installation documentation):

  • Claude Code: ~/.claude/skills/
  • Cursor: ~/.cursor/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Alternatively, you can provide the installation instructions as a prompt to an AI and have it complete the installation following https://skillhub.cn/install/skillhub.md.

3. Configure API Key

This Skill requires an API Key. The specific environment variable names and configuration file fields should be based on the SKILL.md and referenced documentation within the Skill directory after installation. Complete the Key configuration on the Agent side before initiating text-to-image or editing requests.

Typical Usage

The public page does not provide independent REST example code. The typical usage is Install Skill + Configure Key + Describe Requirements in Conversation. The following expressions are consistent with the trigger scenarios in the official introduction, facilitating the Agent to select this Skill:

  • “Use Nano Banana Pro / Banana Pro / Gemini Image to create a text-to-image, the theme is…”
  • “Based on this product image, perform image-to-image, keep the subject, and switch to a detail page style”
  • “Generate an e-commerce main image / advertising image for product promotion and recommendation copy”

Following the steps above, the Agent should read the process and API conventions defined within the Skill to complete the call. If parameters need to be verified, refer to the instructions for this Skill under the local ~/.cursor/skills/ (or your specified --dir).

Scenarios and Notes

Who it is for

  • Developers or operations personnel already using clients that support Skills (like Cursor, Claude Code, Codex) and wish to uniformly integrate Nano Banana Pro series raw APIs.
  • Teams that need to quickly produce e-commerce images, advertising images, and detail page materials within conversations without writing HTTP requests manually every time.

Limitations and Notes

  • API Key Required (requires_api_key=true); without configuration, usage remains at the descriptive level only.
  • SkillHub Statistics (at time of scraping): Rating 100000, Downloads 21230, Installations shown as 0 on the page; sourced from enterprise. Please evaluate compliance and account permissions yourself before use.
  • Different clients have different skills directories. Ensure --dir matches the current environment during installation; some environments may require a restart or refresh of the Agent to load the new Skill after installation.
  • If the page does not disclose a field-by-field API manual, do not assume it is completely consistent with third-party Gemini console documentation. The documentation within the Skill package prevails.

Conclusion

Nano Banana Pro Image Generation and Editing consolidates raw API capabilities like Nano Banana Pro / Gemini Image into an installable Agent Skill, suitable for text-to-image, image-to-image, image editing, and e-commerce/recommendation image design needs. Installation and priority source configuration are subject to SkillHub. The Skill coordinate is @infimind/nano-banana-pro. See SkillHub Skill Page for display and instructions.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye