|
214 | 214 | "icon": "image", |
215 | 215 | "color": "8B5CF6", |
216 | 216 | "triggers": ["logo", "brand", "icon", "favicon", "mascot", "emblem", "create logo", "design logo"], |
217 | | - "dependencies": [], |
| 217 | + "dependencies": ["nanobanana"], |
218 | 218 | "auth": { |
219 | 219 | "required": true, |
220 | 220 | "type": "api_key", |
221 | | - "env_var": "REMOVE_BG_API_KEY, RECRAFT_API_KEY", |
222 | | - "note": "Requires remove.bg API key and Recraft API key for background removal and SVG conversion" |
| 221 | + "env_var": "GEMINI_API_KEY, REMOVE_BG_API_KEY, RECRAFT_API_KEY", |
| 222 | + "note": "Requires Gemini API key for image generation, remove.bg and Recraft API keys for background removal and SVG conversion" |
223 | 223 | }, |
224 | 224 | "install": { |
225 | 225 | "user": { |
|
237 | 237 | } |
238 | 238 | }, |
239 | 239 | "commands": [ |
240 | | - "nano-banana-pro___generate_image(prompt, aspectRatio, fileName)", |
| 240 | + "python3 <nanobanana>/scripts/batch_generate.py \"{prompt}\" -n 20 --ratio 1:1 -d ./logos -p logo", |
241 | 241 | "python3 scripts/crop_logo.py {input.png} {output.png}", |
242 | 242 | "python3 scripts/remove_bg.py {input.png} {output.png}", |
243 | 243 | "python3 scripts/vectorize.py {input.png} {output.svg}" |
|
254 | 254 | "icon": "image", |
255 | 255 | "color": "F59E0B", |
256 | 256 | "triggers": ["banner", "header", "hero image", "cover image", "create banner", "github banner", "twitter header", "readme banner"], |
257 | | - "dependencies": [], |
| 257 | + "dependencies": ["nanobanana"], |
258 | 258 | "auth": { |
259 | | - "required": false, |
260 | | - "type": null, |
261 | | - "note": "Uses nano-banana-pro for image generation (no additional API keys needed)" |
| 259 | + "required": true, |
| 260 | + "type": "api_key", |
| 261 | + "env_var": "GEMINI_API_KEY", |
| 262 | + "note": "Requires Gemini API key for image generation (get from aistudio.google.com/apikey)" |
262 | 263 | }, |
263 | 264 | "install": { |
264 | 265 | "user": { |
|
276 | 277 | } |
277 | 278 | }, |
278 | 279 | "commands": [ |
279 | | - "nano-banana-pro___generate_image(prompt, aspectRatio: '21:9', fileName)", |
| 280 | + "python3 <nanobanana>/scripts/batch_generate.py \"{prompt}\" -n 20 --ratio 21:9 -d ./banners -p banner", |
280 | 281 | "python3 scripts/crop_banner.py {input.png} {output.png} --ratio 2:1 --width 1280" |
281 | 282 | ], |
282 | 283 | "links": { |
283 | 284 | "github": "https://github.com/ReScienceLab/opc-skills/tree/main/skills/banner-creator", |
284 | 285 | "example": "https://github.com/ReScienceLab/opc-skills/blob/main/skills/banner-creator/examples/opc-banner-creation.md" |
285 | 286 | } |
| 287 | + }, |
| 288 | + { |
| 289 | + "name": "nanobanana", |
| 290 | + "version": "1.0.0", |
| 291 | + "description": "Generate and edit images using Google Gemini 3 Pro Image (Nano Banana Pro). Supports text-to-image, image editing, aspect ratios, and 2K/4K output.", |
| 292 | + "icon": "image", |
| 293 | + "color": "FFD700", |
| 294 | + "triggers": ["generate image", "create image", "nano banana", "nanobanana", "gemini image", "AI image"], |
| 295 | + "dependencies": [], |
| 296 | + "auth": { |
| 297 | + "required": true, |
| 298 | + "type": "api_key", |
| 299 | + "env_var": "GEMINI_API_KEY", |
| 300 | + "note": "Get API key from Google AI Studio (aistudio.google.com/apikey)" |
| 301 | + }, |
| 302 | + "install": { |
| 303 | + "user": { |
| 304 | + "claude": "curl -fsSL https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/install.sh | bash -s -- -t claude nanobanana", |
| 305 | + "droid": "curl -fsSL https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/install.sh | bash -s -- -t droid nanobanana", |
| 306 | + "opencode": "curl -fsSL https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/install.sh | bash -s -- -t opencode nanobanana", |
| 307 | + "codex": "curl -fsSL https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/install.sh | bash -s -- -t codex nanobanana" |
| 308 | + }, |
| 309 | + "project": { |
| 310 | + "claude": "curl -fsSL https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/install.sh | bash -s -- -t claude -p nanobanana", |
| 311 | + "droid": "curl -fsSL https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/install.sh | bash -s -- -t droid -p nanobanana", |
| 312 | + "cursor": "curl -fsSL https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/install.sh | bash -s -- -t cursor -p nanobanana", |
| 313 | + "opencode": "curl -fsSL https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/install.sh | bash -s -- -t opencode -p nanobanana", |
| 314 | + "codex": "curl -fsSL https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/install.sh | bash -s -- -t codex -p nanobanana" |
| 315 | + } |
| 316 | + }, |
| 317 | + "commands": [ |
| 318 | + "python3 scripts/generate.py \"{prompt}\" -o {output.png}", |
| 319 | + "python3 scripts/generate.py \"{prompt}\" -i {input.jpg} -o {output.png}", |
| 320 | + "python3 scripts/batch_generate.py \"{prompt}\" -n 20 -d ./images -p image" |
| 321 | + ], |
| 322 | + "links": { |
| 323 | + "github": "https://github.com/ReScienceLab/opc-skills/tree/main/skills/nanobanana", |
| 324 | + "docs": "https://ai.google.dev/gemini-api/docs/image-generation" |
| 325 | + } |
286 | 326 | } |
287 | 327 | ] |
288 | 328 | } |
0 commit comments