Ace Banana2 Image Generation for Openclaw

An advanced AI imaging skill utilizing the AceData Nano Banana API for high-resolution image creation and transformation.

xiyunnet
v1.0.3
Mar 11, 2026
1
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ace-banana

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ace-banana using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Ace Banana2 Image Generation?

Ace Banana2 is a versatile image generation and editing tool integrated into the Openclaw Skills ecosystem. It leverages the powerful AceData Nano Banana API to provide developers and creators with a seamless interface for text-to-image and image-to-image workflows. By utilizing models like nano-banana-2, users can generate professional-grade visuals at up to 4K resolution.

This skill is designed for high-performance creative tasks, offering deep customization for aspect ratios and resolutions. Whether you need to generate a series of marketing assets or transform existing local photos into art, Ace Banana2 within Openclaw Skills ensures a streamlined, automated process that saves output directly to your local workspace.

Ace Banana2 Image Generation Use Cases

  • Rapidly generating high-quality marketing assets from simple text descriptions.
  • Transforming existing local images using AI-powered edit modes like watercolor or cyberpunk styles.
  • Automating batch image generation for creative projects requiring multiple variations.
  • Producing ultra-high-definition 4K visuals for desktop backgrounds or professional presentations.
  • Integrating high-speed image generation into AI-assisted coding workflows using Openclaw Skills.

How Ace Banana2 Image Generation Works

  1. The user provides a text prompt or an image path via the command line or as part of an Openclaw Skills workflow.
  2. The skill validates input parameters such as resolution, model selection, and aspect ratio.
  3. If local images are provided, the script automatically resizes and converts them to Base64 to meet API constraints.
  4. A secure request is sent to the AceData Nano Banana API using the stored Bearer Token.
  5. Upon completion, the script downloads the generated images from the CDN and saves them to a timestamped folder on the user's desktop.

Ace Banana2 Image Generation Setup

To begin using this tool within Openclaw Skills, ensure Python 3.7+ is installed and follow these steps:

  1. Install the required libraries:
pip install requests pillow
  1. Obtain an API key from the AceData registration page.
  2. Run the script once to configure your Bearer Token:
python scripts/generate_images.py

The token will be securely stored in a .env file for all future Openclaw Skills sessions.

Ace Banana2 Image Generation Data Schema & Taxonomy

Component Data Type Description
Output Folder File System Dated folders located on the Desktop (e.g., Desktop/2023-10-27/)
Image Format .png / .jpg High-resolution outputs up to 4K
Metadata JSON Full API response logs including timestamps and unique IDs
Configuration .env Local environment file storing the Bearer Token

All generated files are organized by timestamp to ensure easy retrieval within the Openclaw Skills environment.

Ace Banana2 Image Generation Advanced Features

  • Image-to-Image (Edit) Mode: Support for up to 4 local image uploads for complex transformations.
  • Automated Image Pre-processing: Smart resizing for files larger than 1MB to prevent API timeout errors.
  • High-Speed Batching: Simultaneous generation of multiple image variants in a single API call.
  • Multi-Model Support: Access to nano-banana-2, nano-banana-pro, and legacy models for varied output styles.
  • Extensive CLI Controls: Fine-grained control over 16:9, 1:1, and 4:3 aspect ratios for professional output through Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*