name: thumbnail-generator
Pollinations.ai 背景生成 + ffmpeg drawtext オーバーレイのハイブリッド方式。
1200x630 の .jpgpublic/thumbnails/{slug}.jpgcontents.hero_image_url を /thumbnails/{slug}.jpg に更新scripts/generate-thumbnail.mjs --no-aiscripts/thumbnail-variants-v2.mjsslug、タイトル、公開日、記事テーマのキーワード1-3個を確認。
bash ~/.openclaw/skills/thumbnail-generator/scripts/generate-background.sh \
public/thumbnails/[SLUG]-bg.jpg \
"abstract editorial background for AI news about [TOPIC]"
プロンプトのコツ:
purple coral tones for Anthropic)cinematic lighting, layered composition, premium magazine art, no text を自動追加するbash ~/.openclaw/skills/thumbnail-generator/scripts/overlay-text.sh \
public/thumbnails/[SLUG]-bg.jpg \
public/thumbnails/[SLUG].jpg \
"[CATEGORY]" \
"[TITLE]" \
"[SUBTITLE]"
rm -f public/thumbnails/[SLUG]-bg.jpg
bash ~/.openclaw/skills/thumbnail-generator/scripts/update-db.sh [SLUG]
generate-background.sh が自動検証するが、エラー時はプロンプトを変えて再試行するhero_image_url 更新忘れ: 画像を配置しても DB を更新しないと表示されない。Step 5 を必ず実行-bg.jpg の削除忘れ: git commit に含まれてしまう