agentleFS
gaoguangjungaoguangjun/glm-claude/skills/image-generation/SKILL.md

image-generation

Skill0 starsChanged 13 months agoMITView on GitHub

自动为文章生成配图,支持AI生成图片、公共领域图片、免费图库图片,并上传到ImgBB图床生成Markdown链接。当用户提到"配图"、"插图"、"图片"、"生成图片"、"文章配图"时使用此技能。

41 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use gift-evaluator, Podcast Generate and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jjyaoaoSkill

    gift-evaluator

    The PRIMARY tool for Spring Festival gift analysis and social interaction generation. Use this skill when users upload photos of gifts (alcohol, tea, supplements, etc.) to inquire about their value, authenticity, or how to respond socially. Integrates visual perception, market valuation, and HTML card generation.

    Also in 4 projects that use this

  • jjyaoaoSkill

    Podcast Generate

    Generate podcast episodes from user-provided content or by searching the web for specified topics. If user uploads a text file/article, creates a dual-host dialogue podcast (or single-host upon request). If no content is provided, searches the web for information about the user-specified topic and generates a podcast. Duration scales with content size (3-20 minutes, ~240 chars/min). Uses z-ai-web-dev-sdk for LLM script generation and TTS audio synthesis. Outputs both a podcast script (Markdown) and a complete audio file (WAV).

    Also in 4 projects that use this

  • michaelboedingSkill

    music-generation

    Use this skill for AI music generation. Triggers include: "generate music", "create a song", "make music", "compose", "create a beat", "generate audio", "make a soundtrack", "create a jingle", "instrumental music", "background music", "lo-fi beats", "electronic music" Supports vocals (Suno/Udio) and instrumental-only (Google Lyria).

    Also in 4 projects that use this

  • michaelboedingSkill

    video-generation

    Use this skill for AI video generation. Triggers include: "generate video", "create video", "make video", "animate", "text to video", "video from image", "video of", "animate image", "bring to life", "make it move", "add motion", "video with audio", "video with dialogue" Supports text-to-video, image-to-video, video with dialogue/audio using Google Veo 3.1 (default) or OpenAI Sora.

    Also in 10 projects that use this

  • MindrallySkill

    llm

    Large Language Model development, training, fine-tuning, and deployment best practices.

    Also in 4 projects that use this

  • SuperInstanceSkill

    aminer-data-search

    使用 AMiner 开放平台 API 进行学术数据查询与分析。当用户需要查询学者信息、论文详情、机构数据、期刊内容或专利信息时使用此 skill。 触发场景:提到 AMiner、学术数据查询、查论文/学者/机构/期刊/专利、学术问答搜索、引用分析、科研机构分析、学者画像、论文引用链、期刊投稿分析等。 支持 6 大组合工作流(学者全景分析、论文深度挖掘、机构研究力分析、期刊论文监控、学术智能问答、专利链分析)以及 28 个独立 API 的直接调用。 即使用户只说"帮我查一下 XXX 学者"或"找找关于 XXX 的论文",也应主动使用此 skill。

    Also in 3 projects that use this

  • +2 more from jjyaoao

The file

Files
SKILL.md

图片配图与上传

何时使用此Skill

当用户出现以下任一需求时,使用此技能:

  • 要求给文章"配图"、"加插图"、"生成图片"
  • 需要"文章配图"、"内容配图"、"封面图"
  • 提到"找图片"、"要个图"、"来张图"
  • 希望文章"更生动"、"有图有真相"

核心目标

为文章快速生成合适的配图,并自动上传到图床,直接生成可用的Markdown图片链接,让用户无需手动处理图片。

执行流程

第一步:理解图片需求

目标:确定图片的主题、风格和用途

分析要点:

  1. 文章主题理解
    • 提取文章的核心概念和关键词
    • 确定配图要表达的主要信息
    • 分析目标读者的审美偏好
  2. 图片用途判断
    • 文章主图/封面图
    • 章节分隔图
    • 概念示意图
    • 装饰性插图
  3. 风格偏好确认
    • 专业商务风 vs 轻松生活风
    • 现代简约风 vs 复古怀旧风
    • 手绘插画风 vs 真实照片风

第二步:选择图片来源

目标:根据需求选择最合适的图片来源

选择优先级:

  1. 公共领域图片 (首选)
    • 来源:Unsplash, Pexels, Pixabay
    • 优势:免费、高质量、商用友好
    • 适用:通用主题、风景、人物、场景
  2. AI生成图片 (次选)
    • 工具:DALL-E, Midjourney, Stable Diffusion
    • 优势:完全定制、无版权问题
    • 适用:抽象概念、特定场景、创意表达
  3. 免费图库图片 (备选)
    • 来源:Freepik, Canva免费资源
    • 优势:设计感强、风格统一
    • 适用:商业主题、信息图表

第三步:生成或搜索图片

目标:获取高质量的图片文件

操作步骤:

  1. 关键词优化
    • 生成3-5个不同的搜索关键词
    • 包含英文和中文关键词
    • 添加风格修饰词(如:minimalist, professional)
  2. 图片筛选标准
    • 分辨率:最低1920x1080
    • 构图:主体突出,画面简洁
    • 色彩:与文章风格协调
    • 内容:无明显水印,画面清晰
  3. 批量获取
    • 一次获取3-5张候选图片
    • 让用户有选择余地

第四步:上传到图床

目标:将图片上传到可靠的图床服务

使用 ImgBB 图床:

  1. 上传准备
    • 图片重命名为描述性名称
    • 检查文件大小(建议<5MB)
    • 确认图片格式(JPG/PNG)
  2. 上传操作
    • 使用 ImgBB API 或网页上传
    • 设置适当的标题和描述
    • 选择公开访问权限
  3. 链接处理
    • 获取直链URL
    • 备份多个链接以防失效
    • 记录上传时间和信息

第五步:生成Markdown内容

目标:为用户提供可直接使用的Markdown代码

输出格式:

![图片描述](图片链接)

附加信息:

  • 图片尺寸建议
  • 替代文本优化建议
  • 版权信息(如适用)

特殊处理场景

1. 概念类文章

配图策略:

  • 使用抽象图形或隐喻图片
  • 选择简洁的几何图形
  • 避免具体人物或场景

2. 教程类文章

配图策略:

  • 使用步骤示意图
  • 选择相关的工具或场景
  • 保持图片的专业性

3. 观点类文章

配图策略:

  • 使用思考或讨论场景
  • 选择表达情感的人物图片
  • 增加图片的情感共鸣

质量标准

  • 图片清晰度 >= 1920x1080
  • 图床链接稳定可靠
  • Markdown格式正确
  • 图片内容与文章主题相关度 > 80%

注意事项

  • 确保图片版权合规
  • 避免使用有争议的内容
  • 考虑不同设备的显示效果
  • 为图片添加合适的alt文本

最后更新:2024年

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.