Loading...
Loading...
Generate illustration images for articles and documentation using Gemini Nano Banana 2 API. Produces clean, minimal-style diagrams and concept illustrations.
npx skill4agent add zc277584121/marketing-skills image-generationGEMINI_API_KEYUse a clean, modern color palette with soft tones. Minimalist flat illustration style with clear visual hierarchy. Professional and polished look suitable for technical blog articles. No photorealistic rendering. No excessive gradients or shadows.
A system architecture diagram showing: User sends query to an API Gateway,
which routes to a Vector Database (labeled "Milvus") and an LLM service.
The Vector Database returns relevant documents, which are combined with the
original query and sent to the LLM for final response generation.
Arrows show data flow direction. Each component is a rounded rectangle with
an icon and label.A visual comparison of keyword search vs semantic search. Left side shows
keyword search with exact word matching (highlighted matching words).
Right side shows semantic search with a brain icon understanding meaning
and connecting related concepts with dotted lines. A dividing line separates
the two approaches.python ${CLAUDE_SKILL_ROOT}/scripts/generate_image.py \
--prompt "your prompt here" \
--output "/path/to/save/image.png"| Parameter | Default | Notes |
|---|---|---|
| Model | | Fastest with good quality |
| Aspect ratio | | Landscape (width:height = 3:2), ideal for article illustrations |
| Image size | | Good balance of quality and cost |
| Style | Minimal, clean, soft tones | Auto-prepended to prompt |
| Language | English | Prompt and in-image text |
--model Model ID (gemini-3.1-flash-image-preview, gemini-3-pro-image-preview, gemini-2.5-flash-image)
--aspect-ratio 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, etc.
--image-size 512, 1K, 2K, 4K
--style-prefix Custom style prefix (replaces the default)
--no-style Skip default style prefix entirely| Scenario | Change |
|---|---|
| User wants higher quality | |
| User wants best quality | |
| Social media banner | |
| Portrait/vertical image | |
| Square image (icon, avatar) | |
| User has their own style | |
| Non-English content | Write prompt in target language, no parameter change needed |
images/images/assets/static/img/figures/images/concept-name-illustration.pngvector-search-architecture.pngrag-pipeline-overview.pngimage1.png