SuperAPI AI 工具集

nano-banana

通用与其它

查看项目

更新于 10-16 06:16

技能介绍

用途:该技能用于通过 inference.sh 命令行工具 belt 调用 Google Gemini 原生图像模型,完成文生图与图像编辑。

主要能力:支持两个模型——Gemini 3 Pro Image(google/gemini-3-pro-image-preview,较慢但质量最佳)与 Gemini 2.5 Flash Image(google/gemini-2-5-flash-image,速度快、质量优秀)。可生成多张图片、设置宽高比(1:1、16:9、9:16、4:3、3:4、auto)、输出分辨率(1K/2K/4K,仅 Gemini 3 Pro)、输出格式,并可通过 enable_google_search 启用实时信息接地。图像编辑支持传入最多 14 张输入图片。

使用方式:先安装技能 npx skills add belt-sh/cli,并安装 inference.sh CLI(belt),执行 belt login 登录。基本调用为 belt app run google/gemini-3-pro-image-preview --input '{"prompt": "a banana in space, photorealistic"}'。可用 belt app search "gemini image" 搜索应用,用 belt app sample google/gemini-3-pro-image-preview --save input.json 生成示例输入后编辑再运行。

输入参数:prompt(必填)、images(编辑用输入图,最多 14 张)、num_images、aspect_ratio、resolution、output_format、enable_google_search。

适用场景:文生图、批量出图、指定比例或高分辨率出图、基于已有图片的编辑、需要实时信息接地的图像生成。

限制:依赖 inference.sh CLI 与登录账号;4K 分辨率仅 Gemini 3 Pro 支持;资料未提供具体收费、价格与配额信息。