SuperAPI AI 工具集

banana-proxy

通用与其它

查看项目

更新于 10-16 09:52

技能介绍

用途:通过 Banana 代理端点调用 Gemini 生图,适合需要以脚本方式批量或指定参数生成图片的场景。

主要能力:支持基础生图、指定比例与质量、使用参考图,以及按 JSONL/JSON 批量并行生图。常用模型为 gemini-3-pro-image-preview 与 gemini-3.1-flash-image-preview。

使用方式:脚本位于本技能的 scripts/ 子目录,先确定 SKILL.md 所在目录为 SKILL_DIR,脚本路径为 ${SKILL_DIR}/scripts/main.ts。示例: npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "A cat" --image out.jpg 指定比例与质量: npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "portrait" --image out.jpg --ar 3:4 --quality 2k 使用参考图: npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "replace subject" --ref a.png b.png --image out.jpg 批量并行: npx -y bun ${SKILL_DIR}/scripts/main.ts --batch jobs.jsonl --concurrency 4

主要选项:--prompt/-p、--promptfiles、--image(必填)、--batch(.json 数组或 .jsonl)、--concurrency(仅 batch 模式,默认 4)、--model/-m、--ar、--quality normal|2k(默认 2k)、--imageSize 1K|2K|4K、--ref、--json。批量字段含 prompt 或 promptFile 二选一、image 必填,可选 model、ar、quality、imageSize、ref。

配置:Base URL 为 https://lnapi.com,需提供 Primary API Key:LNAPI_KEY。

限制:资料未提供收费、价格、平台兼容性、速率或效果保证等信息;实际可用性依赖代理端点与密钥配置。