← Back to Skills Marketplace
xiyunnet

Nano Banana Cut 图片生成切割,用于短视频创作,解决角色一致性问题和故事叙事

by 小潴 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
150
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install nano-banana-cut
Description
AI图片生成与智能切割工具,基于AceData Nano Banana模型,支持多分辨率多尺寸生成,自动切割为2/4/6/9宫格,自带瀑布流作品管理、批量下载功能。使用场景:(1) 输入prompt生成AI图片并自动切割成九宫格等多宫格 (2) 上传图片进行智能多宫格切割 (3) 管理生成的图片作品,支持打包下载
Usage Guidance
What to consider before installing: - The skill requires an API_KEY (mandatory) and optionally a PLATFORM_TOKEN (for uploads). The registry metadata did not declare these; expect to provide them and the skill will save them into a local .env file in the skill folder. Do not use high-privilege or long-lived credentials without confirming the remote service and the token scope. - The package runs a local Flask web server on port 697, writes files (images, thumbnails, a SQLite DB) and may upload files to platform.acedata.cloud. If you host sensitive images, review upload behavior and the remote endpoint policy. - Inspect the code yourself (server.py, task.py, upload.py, cut.py) before running. Pay attention to any hard-coded paths (set.json contains a user-specific save_path) and to logging that may echo request/response bodies to the console. - The pre-scan flagged a potential base64 prompt-injection pattern in the SKILL.md; search the docs/files for embedded or obfuscated data blocks before trusting the skill. - If you want to try it: run it in an isolated environment (container or VM), provide a scoped API key, and monitor outgoing network traffic. If you can't audit the code or do not trust the external AceData endpoints, do not provide real credentials or avoid installing it. - If you need higher confidence, ask the publisher for: (1) the canonical upstream source/homepage for the project, (2) confirmation of what exact token scopes are needed, and (3) a version of set.json without user-specific paths and without trailing/invalid JSON syntax so the code's config-loading behavior can be validated.
Capability Analysis
Type: OpenClaw Skill Name: nano-banana-cut Version: 1.0.0 The skill bundle provides a functional AI image generation and processing tool, but contains significant security vulnerabilities. Specifically, the `serve_file` route in `server.py` is vulnerable to path traversal, potentially allowing arbitrary file reads from the host system by joining user-provided paths with the root directory. Additionally, the `open_folder` endpoint in `server.py` uses `os.startfile` on paths retrieved from the database without sufficient validation, and the configuration in `set.json` includes hardcoded local file paths specific to the developer's environment (e.g., `C:/Users/86137/Desktop/banana`). While these appear to be unintentional security flaws rather than deliberate malware, they pose a risk to the host environment.
Capability Assessment
Purpose & Capability
The skill's name/description (AI image generation + multi-grid cutting + gallery management) aligns with the provided code: server.py, task.py, cut.py and upload.py implement a local Flask web UI, polling the AceData Nano-Banana endpoints, downloading generated images, cutting them, storing results and supporting uploads. The external endpoints used (api.acedata.cloud, platform.acedata.cloud) are consistent with the stated AceData model integration.
Instruction Scope
SKILL.md instructs running a local server and populating API_KEY and PLATFORM_TOKEN; the code follows those instructions. The code reads/writes files (.env, set.json, a local SQLite DB, and image output directories), downloads images from remote model endpoints, and will upload images when PLATFORM_TOKEN is set. This stays within the stated purpose, but the skill will persist credentials to disk and transmit image files to platform.acedata.cloud (upload), so users should be aware that generated/uploads may leave the local host.
Install Mechanism
No install spec (instruction-only) is provided; risk is low from package-install mechanisms. The repository includes Python scripts that will run under the user's Python environment. The skill invokes subprocesses (task.py calls cut.py via subprocess), which is expected for a local tool but means code will execute on the host. No remote archive downloads or opaque installers were observed.
Credentials
The registry metadata declared no required env vars, but SKILL.md and the code require API_KEY (mandatory for generation) and an optional PLATFORM_TOKEN (for uploads). The skill creates/uses a local .env file and may fall back to an apikey in set.json. Requiring bearer tokens is proportionate to the functionality, but the omission from manifest is an incoherence. Also set.json contains a hard-coded save_path (C:/Users/86137/Desktop/banana) — an unexpected, user-specific default path. Users should not provide high-privilege tokens without verifying the remote service and token scope.
Persistence & Privilege
The skill does not request always:true and is user-invocable. It runs a local Flask server (default port 697) and persists files (database, images, .env). It exposes admin endpoints (task management, shutdown) — appropriate for a local web app but worth noting: running this skill opens a local HTTP service and writes credentials to disk, increasing the attack surface if the environment is untrusted or network-exposed.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install nano-banana-cut
  3. After installation, invoke the skill by name or use /nano-banana-cut
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Nano-Banana-Cut v1.0.0 - Initial release of the AI image generation and intelligent slicing tool, powered by AceData Nano Banana models. - Supports prompt-based image generation with multiple resolutions and qualities, including square, landscape, and portrait formats. - Enables smart grid (2/4/6/9) slicing of generated or uploaded images, with auto-orientation detection. - Provides a web interface with waterfall-style gallery, bulk ZIP download, and image management features. - Includes multi-task concurrent polling, real-time preview, config persistence, and both light/dark modes. - Offers independent CLI/API tools for image generation, slicing, upload, and task management.
Metadata
Slug nano-banana-cut
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Nano Banana Cut 图片生成切割,用于短视频创作,解决角色一致性问题和故事叙事?

AI图片生成与智能切割工具,基于AceData Nano Banana模型,支持多分辨率多尺寸生成,自动切割为2/4/6/9宫格,自带瀑布流作品管理、批量下载功能。使用场景:(1) 输入prompt生成AI图片并自动切割成九宫格等多宫格 (2) 上传图片进行智能多宫格切割 (3) 管理生成的图片作品,支持打包下载. It is an AI Agent Skill for Claude Code / OpenClaw, with 150 downloads so far.

How do I install Nano Banana Cut 图片生成切割,用于短视频创作,解决角色一致性问题和故事叙事?

Run "/install nano-banana-cut" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Nano Banana Cut 图片生成切割,用于短视频创作,解决角色一致性问题和故事叙事 free?

Yes, Nano Banana Cut 图片生成切割,用于短视频创作,解决角色一致性问题和故事叙事 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Nano Banana Cut 图片生成切割,用于短视频创作,解决角色一致性问题和故事叙事 support?

Nano Banana Cut 图片生成切割,用于短视频创作,解决角色一致性问题和故事叙事 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Nano Banana Cut 图片生成切割,用于短视频创作,解决角色一致性问题和故事叙事?

It is built and maintained by 小潴 (@xiyunnet); the current version is v1.0.0.

💬 Comments