npx claudepluginhub maragudk/fabrik --plugin fabrikThis skill uses the workspace's default tool permissions.
This is a guide for generating and editing images using the nanobanana CLI tool.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Processes PDFs: extracts text/tables/images, merges/splits/rotates pages, adds watermarks, creates/fills forms, encrypts/decrypts, OCRs scans. Activates on PDF mentions or output requests.
Share bugs, ideas, or general feedback.
This is a guide for generating and editing images using the nanobanana CLI tool.
Nanobanana is a command-line interface for the Nano Banana image generation API, which uses Google's generative AI models.
If the nanobanana CLI is not already installed, install it using:
go install maragu.dev/nanobanana@latest
The GOOGLE_API_KEY environment variable must be set, or a .env file with the key must be present in the working directory.
To generate a single image:
nanobanana generate output.png "a beautiful sunset over mountains"
The output can be either a .png or .jpg file.
Always use the -v2 flag unless the user specifically requests the pro model. Version 2 offers improved quality and aspect ratio support:
nanobanana generate -v2 output.png "a beautiful sunset over mountains"
To use the highest-quality pro model (only when explicitly requested):
nanobanana generate -pro output.png "a beautiful sunset over mountains"
To edit or modify an existing image using a text prompt:
nanobanana generate -i input.png output.png "make the sky purple and add stars"
This is useful for making specific changes to existing images based on natural language instructions.
Generate a logo:
nanobanana generate logo.png "minimalist tech company logo with geometric shapes in blue and white"
Create concept art:
nanobanana generate concept.png "futuristic city skyline at night with neon lights and flying vehicles, cyberpunk style"
Edit an existing photo:
nanobanana generate -i photo.png enhanced.png "enhance the colors and make it look like golden hour"