blog-image

Generate and edit blog images with Gemini via MCP using structured prompt engineering.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/captaindevv/SEO-ajaypipes --skill blog-image-captaindevv
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: blog-image
Source: https://github.com/captaindevv/SEO-ajaypipes/tree/main/skills/blog-image
Command: npx skills add https://github.com/captaindevv/SEO-ajaypipes --skill blog-image-captaindevv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @ycse/nanobanana-mcp, and includes scripts (resource) and references (resource) components.

What problem does it solve? Creating on-topic, well-composed images for blog posts requires prompt engineering skill and manual resizing, and raw prompts sent directly to an image API produce generic results. This Skill interprets intent, builds optimized 6-component prompts, and orchestrates Gemini through an MCP server to produce hero images, inline illustrations, and OG cards. ## Core Features & Use Cases - Structured Prompt Engineering: Builds 6-component Reasoning Briefs (Subject, Action, Context, Composition, Lighting, Style) across 6 domain modes including Editorial, Product, and Infographic. - Generation and Editing: Creates new images with gemini_generate_image and refines existing ones with gemini_edit_image or multi-turn gemini_chat sessions. - Blog-Ready Output: Sets correct aspect ratios, provides ImageMagick post-processing commands for WebP/AVIF conversion, and delivers alt text plus frontmatter snippets. - Use Case: While writing a blog post about AI search trends, invoke the skill to generate a 16:9 hero image, receive the file path, alt text, and a coverImage frontmatter snippet ready to paste into the article. ## Quick Start Ask the assistant to generate a hero image for your blog post about a specific topic, and run /blog image setup first if the MCP server is not yet configured.

Frequently Asked Questions about blog-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a blog hero image with Gemini?▼

Run /blog image generate with a description of your idea. The skill builds a 6-component prompt covering subject, action, context, composition, lighting, and style, sets the aspect ratio to 16:9, and calls gemini_generate_image through the MCP server.

How do I set up the nanobanana-mcp server for image generation?▼

Run python3 scripts/setup_image_mcp.py with your Google AI API key, or use /blog image setup. It requires Node.js 18+ and a free key from Google AI Studio, then verify with scripts/validate_image_setup.py.

Which Gemini model should I use for blog images with text?▼

Use Nano Banana Pro (gemini-3-pro-image-preview) for hero images with text overlays since it achieves 94% text accuracy. For standard blog images, NB2 Flash is faster and cheaper at about $0.067 per image.

Why does Gemini image generation return IMAGE_SAFETY errors?▼

IMAGE_SAFETY comes from a non-configurable server-side output filter that sometimes blocks benign prompts. The skill auto-rephrases with positive framing and retries up to three times, which usually succeeds.

Can I edit an existing blog image instead of regenerating it?▼

Yes, use /blog image edit with the image path and instructions. The skill enhances your instruction and calls gemini_edit_image, or uses gemini_chat for iterative edits that preserve session style consistency.

What happens if the MCP server is not configured during blog writing?▼

When called internally from blog-write or blog-rewrite, the skill returns silently without an error. The calling workflow continues using stock photos instead of generated images.