跳到正文
Skillpedia
图片与图标26k · #9990

seo-image-gen

它能做什么

这项技能帮助你的智能体制作用于搜索和社交分享的图片,例如预览卡片、博客头图和信息图。适合需要为页面准备视觉素材的网站所有者和营销人员。

适用场景

  • ✓当你需要一张页面的 Open Graph 图片,用于在社交媒体分享时显示的时候。
  • ✓当你想为一篇新文章制作博客头图的时候。
  • ✓当你想为网页生成信息图或产品图片的时候。

技能链接

https://github.com/AgriciDaniel/claude-seo/blob/main/extensions/banana/skills/seo-image-gen/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/AgriciDaniel/claude-seo/blob/main/extensions/banana/skills/seo-image-gen/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我关于健康早餐的新博客文章制作一张 1200 乘 630 的社交预览图。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能为 SEO 用途选择合适的图片尺寸和风格,然后通过 banana 扩展把请求发送给 Gemini 图像工具。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

SEO Image Gen: AI Image Generation for SEO Assets (Extension)

Generate production-ready images for SEO use cases using Gemini's image generation via the banana Creative Director pipeline. Maps SEO needs to optimized domain modes, aspect ratios, and resolution defaults.

Architecture Note

This extension is built on Claude Banana, the standalone AI image generation skill for Claude Code.

This skill has two components with distinct roles:

  • SKILL.md (this file): Handles interactive /seo image-gen commands for generating images
  • Agent (agents/seo-image-gen.md): Audit-only analyst spawned during /seo audit to assess existing OG/social images and produce a generation plan (never auto-generates)

Prerequisites

This skill requires the banana extension to be installed:

./extensions/banana/install.sh

Check availability: Before using any image generation tool, verify the MCP server is connected by checking if gemini_generate_image or set_aspect_ratio tools are available. If tools are not available, inform the user the extension is not installed and provide install instructions.

Quick Reference

Command What it does
/seo image-gen og <description> Generate OG/social preview image (1200x630 feel)
/seo image-gen hero <description> Blog hero image (widescreen, dramatic)
/seo image-gen product <description> Product photography (clean, white BG)
/seo image-gen infographic <description> Infographic visual (vertical, data-heavy)
/seo image-gen custom <description> Custom image with full Creative Director pipeline
/seo image-gen batch <description> [N] Generate N variations (default: 3)

SEO Image Use Cases

Each use case maps to pre-configured banana parameters:

Use Case Aspect Ratio Resolution Domain Mode Notes
OG/Social Preview 16:9 1K Product or UI/Web Clean, professional, text-friendly
Blog Hero 16:9 2K Cinema or Editorial Dramatic, atmospheric, editorial quality
Schema Image 4:3 1K Product Clean, descriptive, schema ImageObject
Social Square 1:1 1K UI/Web Platform-optimized square
Product Photo 4:3 2K Product White background, studio lighting
Infographic 2:3 4K Infographic Data-heavy, vertical layout
Favicon/Icon 1:1 512 Logo Minimal, scalable, recognizable
Pinterest Pin 2:3 2K Editorial Tall vertical card

Generation Pipeline

For every generation request:

  1. Identify use case from command or context (og, hero, product, etc.)
  2. Apply SEO defaults from the use cases table above
  3. Set aspect ratio via set_aspect_ratio MCP tool
  4. Construct Reasoning Brief using the banana Creative Director pipeline:
    • Use ${CLAUDE_SKILL_DIR} as the installed skill root
    • Load ${CLAUDE_SKILL_DIR}/references/prompt-engineering.md for the 6-component system
    • Apply domain mode emphasis (Subject 30%, Style 25%, Context 15%, etc.)
    • Be SPECIFIC and VISCERAL: describe what the camera sees
  5. Generate via gemini_generate_image MCP tool
  6. Post-generation SEO checklist (see below)

Check for Presets

If the user mentions a brand or has SEO presets configured:

"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run --extension banana presets.py list

Load matching preset and apply as defaults. Also check ${CLAUDE_SKILL_DIR}/references/seo-image-presets.md for SEO-specific preset templates.

Post-Generation SEO Checklist

After every successful generation, guide the user on:

  1. Alt text: Write descriptive alt text that names the subject of the generated image
  2. File naming: Rename to SEO-friendly format: keyword-description-widthxheight.webp
  3. WebP conversion: Convert to WebP for optimal page speed:
    magick output.png -quality 85 output.webp
    
  4. File size: Target under 200KB for hero images, under 100KB for thumbnails
  5. Schema markup: Suggest ImageObject schema for the generated image:
    {
      "@type": "ImageObject",
      "url": "https://example.com/images/keyword-description.webp",
      "width": 1200,
      "height": 630,
      "caption": "Descriptive caption with target keyword"
    }
    
  6. OG meta tags: For social previe
常见问题

我需要先安装什么吗?

需要。必须安装 banana 扩展;如果其图像工具不可用,该技能会告诉你如何安装。

它也能检查现有的社交图片吗?

只能在审计步骤中。一个单独的分析助手会审查现有图片并制定计划,但不会自动生成它们。

它能制作哪些类型的图片?

它能制作 OG 和社交预览图、博客头图、结构化数据图片、产品照片和信息图。

详情

作者的原始描述

AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product photography, infographics. Powered by Gemini via nanobanana-mcp. Requires banana extension installed. Use when the user wants an SEO asset and says \"OG image\", \"social preview\", \"hero image\", \"blog image\", \"product photo\", \"infographic\", \"seo image\", \"image-gen\", \"favicon\", \"schema image\", or \"pinterest pin\". Not for general artwork, banners, or thumbnails unrelated to SEO.

repo: AgriciDaniel/claude-seo

热度

GitHub 星标
26k
排名
#9990
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能