Blog Image Embedder
Analyzes polished zh-CN markdown, generates consistent image prompts (hero + 1 per section), embeds [image:x] placeholders, saves illustrated version.
When to Use
Use after blog-polish-zhcn completes. Input is polishedPath from first skill. Triggers: "add images to my polished blog", "generate image prompts for sections".
Defaults
style:clean flat vector illustration, minimal isometric, software-engineering diagram vibebackground: default:white background with subtle gridaspectRatioHero:16:9 horizontalaspectRatioSection:16:9
Workflow Summary
- Read polished markdown from
input.polishedPath - Parse structure: Extract title + ## section headings (expect 3-4 sections)
- Generate prompts:
- Hero:
[Hero of {title}]: {topic summary}, {style}, {background}, 16:9 - Section N:
[Section {N} of {title}]: {section summary}, {style}, {background}, 16:9
- Hero:
- Embed placeholders: Insert
\n\n[image:0]\n\nafter title,\n\n[image:1]\n\nafter first section, etc. - Save:
${outputDir}/${ts}-illustrated.md - Return:
{ illustratedPath, imagePrompts: [...], imagePaths: [...] }
Output Format
{
"illustratedPath": "/home/jeff/.openclaw/workspace/contentPolished/2603142145-illustrated.md",
"imagePrompts": ["Hero prompt...", "Section 1 prompt...", "Section 2 prompt..."],
"imagePaths": ["2603142145-main.png", "2603142145-section1.png", "2603142145-section2.png"]
}