Poyo Nano Banana 2 Lite
简介
Poyo Nano Banana 2 Lite
原始描述
Nano Banana 2 Lite image generation and editing on PoYo / poyo.ai via `https://api.poyo.ai/api/generate/submit`; use for `nano-banana-2-lite`, `nano-banana-2...
通过你的 Agent 添加
安装目录:poyo-nano-banana-2-lite/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
PoYo Nano Banana 2 Lite Skill 是一款面向服务端部署的轻量级图像生成工具,专为需要快速视觉草稿和高频概念迭代的场景设计。该Skill通过纯Bash脚本实现,核心功能是向PoYo官方API提交异步图像生成任务,支持两种工作模式:nano-banana-2-lite用于纯文本到图像生成,nano-banana-2-lite-edit用于基于参考图像的轻量化编辑。用户需配置POYO_API_KEY环境变量,准备符合规范的JSON payload文件,通过scripts/submit_nano_banana_2_lite.sh脚本提交任务,系统返回task_id后可通过轮询或webhook获取最终结果。
显著优点
该Skill的最大优势在于极致轻量与部署便捷。纯Bash实现零依赖(仅需系统自带curl),可在任何Linux/macOS服务器或CI/CD流水线中直接运行,无需Docker或Python环境。安全设计规范到位:API密钥强制通过环境变量注入,代码中无硬编码敏感信息;输入参数经过基础验证,配合set -euo pipefail严格模式,有效防范常见脚本注入风险。PoYo作为可信AI服务商,其Nano Banana 2 Lite模型专门针对快速草稿场景优化,生成速度显著优于完整版模型,特别适合产品早期验证、营销素材批量生成等需要"先量后质"的业务场景。
潜在缺点与局限性
作为轻量级解决方案,该Skill存在明确的功能边界。首先,它仅负责任务提交,不包含状态轮询、结果下载或图像后处理功能,用户需自行实现完整的异步工作流。其次,payload文件内容缺乏严格的JSON Schema校验,格式错误可能导致API返回难以调试的400错误。网络层面,单一PoYo API依赖意味着服务可用性完全受制于第三方;且图像生成任务的数据(prompt、参考图片URL)必须上传至PoYo服务器处理,对数据隐私敏感的企业场景需要额外评估。此外,纯Bash架构虽轻但扩展性有限,复杂业务逻辑(如自动重试、指数退避、多队列管理)难以优雅实现。
适合的目标群体
该Skill特别适合三类用户:一是DevOps与SRE工程师,需要在CI/CD流水线中自动化生成预览图或测试素材;二是快速原型开发团队,产品经理或设计师可通过命令行批量生成概念图进行A/B测试决策;三是教育科研场景,研究者利用免费额度进行图像生成算法的效果对比实验。不适合需要端到端图像编辑能力、严格数据本地化合规要求,或期望开箱即用Web界面的终端用户。
使用风险
常规技术风险包括:curl超时未配置可能导致脚本挂起,建议生产环境添加--max-time参数;PoYo API的速率限制(429错误)和间歇性故障需要客户端实现重试逻辑。安全风险集中在API密钥管理——虽然Skill本身安全,但用户若误将密钥写入日志或提交至Git仓库则会造成泄露。合规风险方面,生成图像的版权归属、商业使用授权需遵循PoYo服务条款;prompt内容若涉及版权人物或敏感主题可能触发平台审核机制。建议企业用户在正式部署前完成PoYo隐私政策评审,并建立独立的API密钥轮换机制。
技能正文
name: poyo-nano-banana-2-lite
description: Nano Banana 2 Lite image generation and editing on PoYo / poyo.ai via https://api.poyo.ai/api/generate/submit; use for nano-banana-2-lite, nano-banana-2-lite-edit, fast text-to-image drafts, lightweight image editing, image-to-image workflows, and server-side async task submission.
metadata: {"openclaw":{"homepage":"https://poyo.ai/models/nano-banana-2-lite","requires":{"bins":["curl"],"env":["POYO_API_KEY"]},"primaryEnv":"POYO_API_KEY"}}
PoYo Nano Banana 2 Lite Image Generation and Editing
PoYo Links
- Model page: https://poyo.ai/models/nano-banana-2-lite
- API docs: https://docs.poyo.ai/api-manual/image-series/nano-banana-2-lite
- API key page: https://poyo.ai/dashboard/api-key
PoYo Links
Use this skill for Nano Banana 2 Lite jobs on PoYo. It helps agents prepare lightweight image generation and edit payloads, submit async tasks, and describe safe server-side integration.
Use When
- The user mentions Nano Banana 2 Lite,
nano-banana-2-lite, or nano-banana-2-lite-edit.
- The task is fast visual drafting, text-to-image, image-to-image, lightweight image editing, or high-volume concept iteration.
- The workflow needs a server-side curl example, webhook callback guidance, or task polling notes for PoYo.
Model Selection
nano-banana-2-lite: use for fast text-to-image generation and prompt-only image drafts.
nano-banana-2-lite-edit: use when the user supplies source images and wants lightweight image transformation.
Key Inputs
prompt is required inside input.
image_urls is required for nano-banana-2-lite-edit; use it only when source or reference images are part of the request.
size controls aspect ratio when supported by the current PoYo docs.
callback_url is optional and useful for production queues.
- Save the returned
task_id immediately for status checks.
Security Rules
- Treat
POYO_API_KEY as a secret.
- Keep PoYo API keys in server-side environment variables or a backend secret manager.
- Never place an API key in browser code, frontend bundles, public repositories, logs, screenshots, or chat output.
- Do not log private prompts, source image URLs, callback URLs, generated outputs, or raw authorization headers unless the user or product policy explicitly allows it.
- Do not make live API calls unless the user explicitly asks and provides a safe server-side environment.
Execution
- Read
references/api.md for endpoint details, model ids, common fields, examples, and polling notes.
- Use
scripts/submit_nano_banana_2_lite.sh only when the user wants to submit a prepared JSON payload from a trusted shell.
- If the user only needs a curl example, adapt one from
references/api.md.
- After submission, report the returned
task_id clearly so follow-up polling is easy.
Output Expectations
nano-banana-2-lite, or nano-banana-2-lite-edit.nano-banana-2-lite: use for fast text-to-image generation and prompt-only image drafts.nano-banana-2-lite-edit: use when the user supplies source images and wants lightweight image transformation.
Key Inputs
prompt is required inside input.
image_urls is required for nano-banana-2-lite-edit; use it only when source or reference images are part of the request.
size controls aspect ratio when supported by the current PoYo docs.
callback_url is optional and useful for production queues.
- Save the returned
task_id immediately for status checks.
Security Rules
- Treat
POYO_API_KEY as a secret.
- Keep PoYo API keys in server-side environment variables or a backend secret manager.
- Never place an API key in browser code, frontend bundles, public repositories, logs, screenshots, or chat output.
- Do not log private prompts, source image URLs, callback URLs, generated outputs, or raw authorization headers unless the user or product policy explicitly allows it.
- Do not make live API calls unless the user explicitly asks and provides a safe server-side environment.
Execution
- Read
references/api.md for endpoint details, model ids, common fields, examples, and polling notes.
- Use
scripts/submit_nano_banana_2_lite.sh only when the user wants to submit a prepared JSON payload from a trusted shell.
- If the user only needs a curl example, adapt one from
references/api.md.
- After submission, report the returned
task_id clearly so follow-up polling is easy.
Output Expectations
prompt is required inside input.image_urls is required for nano-banana-2-lite-edit; use it only when source or reference images are part of the request.size controls aspect ratio when supported by the current PoYo docs.callback_url is optional and useful for production queues.task_id immediately for status checks.- Treat
POYO_API_KEYas a secret. - Keep PoYo API keys in server-side environment variables or a backend secret manager.
- Never place an API key in browser code, frontend bundles, public repositories, logs, screenshots, or chat output.
- Do not log private prompts, source image URLs, callback URLs, generated outputs, or raw authorization headers unless the user or product policy explicitly allows it.
- Do not make live API calls unless the user explicitly asks and provides a safe server-side environment.
Execution
- Read
references/api.md for endpoint details, model ids, common fields, examples, and polling notes.
- Use
scripts/submit_nano_banana_2_lite.sh only when the user wants to submit a prepared JSON payload from a trusted shell.
- If the user only needs a curl example, adapt one from
references/api.md.
- After submission, report the returned
task_id clearly so follow-up polling is easy.
Output Expectations
references/api.md for endpoint details, model ids, common fields, examples, and polling notes.scripts/submit_nano_banana_2_lite.sh only when the user wants to submit a prepared JSON payload from a trusted shell.references/api.md.task_id clearly so follow-up polling is easy.When helping with Nano Banana 2 Lite, include:
- chosen model id
- whether the request is generation or edit
- final payload or concise parameter summary
- whether source or reference images are involved
- returned
task_idif a request was actually submitted - next step: poll status or wait for webhook
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。