File contents carousel-gen
Multi-image carousel pipeline for {{PERSONA_NAME}} — generates on-brand carousel slides promoting Samoa tourism via {{BRAND_NAME}}.
How It Works
Content Ideation — Gemini generates a carousel concept: topic, slide count (6-10), per-slide caption text, and per-slide image prompts based on {{PERSONA_NAME}}'s content pillars.
Image Generation — FAL nano-banana-2 generates each slide image using {{PERSONA_NAME}}'s reference face for character consistency.
Text Overlay — ffmpeg drawtext burns clean, bold slide text onto each image.
Output — Images + sidecar JSON saved to ~/{{PersonaDir}}/carousels/{date}-{slug}/
Usage
node skills/carousel-gen/scripts/carousel-gen.js [options]
Options:
--topic "Samoa's Best Beaches" # Override auto-topic selection
--slides 8 # Override slide count (default: Gemini decides, 6-10)
--dry-run # Print carousel plan, skip image generation
Output
Slide images: ~/{{PersonaDir}}/carousels/{date}-{slug}/slide-01.png through slide-N.png
Metadata sidecar: ~/{{PersonaDir}}/carousels/{date}-{slug}/carousel.json
Prerequisites
GEMINI_API_KEY in .env
FAL_KEY in .env
ffmpeg installed
Reference image: brand-content/persona/reference.png
Content Pillars (auto-rotated)
Hidden Samoa
Local Life
Adventure
Business Spotlight
Travel Tips
Culture Education
1 --- 2 name: carousel-gen 3 description: carousel-gen 4 --- 5 # carousel-gen 6 7 Multi-image carousel pipeline for {{PERSONA_NAME}} — generates on-brand carousel slides promoting Samoa tourism via {{BRAND_NAME}}. 8 9 ## How It Works 10 11 1. **Content Ideation** — Gemini generates a carousel concept: topic, slide count (6-10), per-slide caption text, and per-slide image prompts based on {{PERSONA_NAME}}'s content pillars. 12 2. **Image Generation** — FAL nano-banana-2 generates each slide image using {{PERSONA_NAME}}'s reference face for character consistency. 13 3. **Text Overlay** — ffmpeg `drawtext` burns clean, bold slide text onto each image. 14 4. **Output** — Images + sidecar JSON saved to `~/{{PersonaDir}}/carousels/{date}-{slug}/` 15 16 ## Usage 17 18 ```bash 19 node skills/carousel-gen/scripts/carousel-gen.js [options] 20 21 Options: 22 --topic "Samoa's Best Beaches" # Override auto-topic selection 23 --slides 8 # Override slide count (default: Gemini decides, 6-10) 24 --dry-run # Print carousel plan, skip image generation 25 ``` 26 27 ## Output 28 29 - Slide images: `~/{{PersonaDir}}/carousels/{date}-{slug}/slide-01.png` through `slide-N.png` 30 - Metadata sidecar: `~/{{PersonaDir}}/carousels/{date}-{slug}/carousel.json` 31 32 ## Prerequisites 33 34 - `GEMINI_API_KEY` in `.env` 35 - `FAL_KEY` in `.env` 36 - ffmpeg installed 37 - Reference image: `brand-content/persona/reference.png` 38 39 ## Content Pillars (auto-rotated) 40 41 1. Hidden Samoa 42 2. Local Life 43 3. Adventure 44 4. Business Spotlight 45 5. Travel Tips 46 6. Culture Education
kevinbadi/ai-os-skills/tree/main/carousel-gen commit c5f5ce8db4
Frequently asked questions How do I install the Carousel Gen skill? Run npx skillmds@latest add kevinbadi/carousel-gen in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Carousel Gen skill do? carousel-gen It is listed under Coding & Dev Tools on SkillMD.
Is Carousel Gen safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Carousel Gen? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Carousel Gen free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Carousel Gen? kevinbadi (@kevinbadi) published this skill. Their other Agent Skills are listed on their SkillMD profile.