From edu-vid-gen
Extend an image in any direction to create space for text overlays. Adds a flat color, gradient, or blurred extension suitable for legible text placement. Use when the user says "extend image for text", "add text space", "make room for title", "extend left/right/top/bottom", "image text overlay", "create text area on image", or wants to prepare images for social media posts, thumbnails, or print layouts with text.
How this skill is triggered — by the user, by Claude, or both
Slash command
/edu-vid-gen:extend-imageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Extend any image in a chosen direction to create clean space for text placement.
Extend any image in a chosen direction to create clean space for text placement.
Ask the user:
Single image:
GEMINI_API_KEY="$GEMINI_API_KEY" node __PLUGIN_DIR__/scripts/extend-image.mjs \
--input "{image_path}" \
--output "{output_path}" \
--direction "{direction}" \
--extend-by {percentage} \
--style "{style}"
Batch:
for f in {OUTPUT_DIR}/images/frame-*.jpg; do
[[ "$f" == *-small.jpg ]] && continue
name=$(basename "$f" .jpg)
GEMINI_API_KEY="$GEMINI_API_KEY" node __PLUGIN_DIR__/scripts/extend-image.mjs \
--input "$f" \
--output "{OUTPUT_DIR}/images/${name}-extended.jpg" \
--direction "{direction}" \
--extend-by {percentage} \
--style "{style}"
sleep 35
done
Display each extended image. If AI outpainting adds unwanted details, try switching style to flat or reducing --extend-by.
| Style | Best for | Look |
|---|---|---|
gradient | Social media, thumbnails | Smooth professional fade |
flat | Print layouts, clean designs | Solid color block |
blur | Cinematic feel, stories | Soft depth-of-field effect |
Wait 35 seconds between Gemini calls.
npx claudepluginhub designcraveyard/edu-vid-gen-plugin --plugin edu-vid-genCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.