article-batch-illustration

Analyze article structure and batch generate illustrations via Gemini API.

48|16|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/zephyrwang6/write-skill --skill article-batch-illustration-zephyrwang6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: article-batch-illustration
Source: https://github.com/zephyrwang6/write-skill/tree/main/article-batch-illustration
Command: npx skills add https://github.com/zephyrwang6/write-skill --skill article-batch-illustration-zephyrwang6

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

分析文章结构并为每个段落批量生成专业插图,自动将图片保存到 Obsidian 图片目录并在文档中嵌入引用,显著提升创作效率与内容可读性。

Core Features & Use Cases

  • 文章结构分析:按 H2/H3 段落拆分并提取核心观点
  • 提示词生成与 Gemini API 调用:为每段落生成图片提示并批量生成图像
  • 自动存储与嵌入:将图片保存到 obsidian/09image/MMDD-主题名称/,并在段落后插入图片引用
  • 风格切换:支持简约手绘风格与建筑蓝图编辑风格
  • 应用场景:博客、长文、课程材料等内容创作

Quick Start

打开要处理的文章,执行批量配图即可为每个段落生成图片并插入文档。

Frequently Asked Questions about article-batch-illustration

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

FAQPage Schema
How do I batch generate illustrations for article sections and embed them in Obsidian?

To batch generate illustrations for Obsidian articles, this skill analyzes your article's H2/H3 structure, creates Gemini API prompts for each section, generates images, saves them to your Obsidian image directories, and automatically embeds the references into your document.

Can I use the Gemini API to automatically add images to my long-form blog posts?

Yes, you can use the Gemini API to automatically add images to long-form blog posts by having the skill extract core viewpoints from each paragraph, generate matching visual prompts, and insert the created batch images directly after the corresponding text sections.

Does batch image generation for Obsidian require manual prompt engineering for each paragraph?

Batch image generation for Obsidian does not require manual prompt engineering because the skill automatically analyzes your article structure, extracts core viewpoints from each section, and produces the necessary image generation prompts for the Gemini API on its own.

What illustration styles are available when generating article images with the Gemini API?

When generating article images with the Gemini API, the available illustration styles include a minimalist hand-drawn style and an architectural blueprint editing style, allowing you to match the visual tone to your educational materials or blog content.

Where are the automatically generated batch images stored in Obsidian?

The automatically generated batch images are stored in a specific Obsidian directory path formatted as obsidian/09image/MMDD-topic-name, ensuring your article visuals are organized by date and subject matter before being embedded back into the document.

What should I do if batch illustration generation fails to insert images into my educational materials?

If batch illustration generation fails to insert images into your educational materials, verify your Gemini API connectivity and ensure your article has valid H2/H3 headings for structural analysis, as the skill applies basic validation before embedding image references.