Claude Code plugin & CLI
Topic2Reel turns one line of text into a ready-to-post 9:16 Instagram Reel: animated scenes, Hindi voiceover, music and a caption with hashtags. It runs on your machine, with no API key and no upload.
Free · about 2 minutes to render a 35 s reel · 7 scene typesDemo
Both reels below were rendered from a short JSON spec and a Hindi Piper voice (Pratham). Press play, sound on.
The voice is synthetic (Piper, Hindi). English loanwords can be mispronounced, so listen before you post your own reels.
Prompt builder
Choose a topic and a few options. The prompt updates as you go. Paste it into Claude Code (with the plugin), or open it in Claude in the cloud, and the reel gets made.
Templates
Every template uses the plugin's own scene types. Press Use in builder to tweak it, or copy the prompt as it is (it follows the tab you chose above).
How it works
“Study tips for exams”, for an audience you name. In Claude Code: /topic2reel:reel study tips for exams.
Six scenes as JSON, following one prompt. A validator checks shape, length and script before anything renders.
A locked-down headless browser draws every frame, Piper speaks each line, ffmpeg mixes voice and music into one MP4 plus a caption file.
Scene length follows the length of the voice line, so you never retime anything by hand.
{
"type": "hook",
"headline": ["Raat bhar ratta", "mat maaro!"],
"highlight": ["ratta", "mat"],
"emoji": "ЁЯУЪ", "stamp": "no",
"badge": "Ratta system",
"voice": "рдкрд░реАрдХреНрд╖рд╛ рд╕реЗ рдкрд╣рд▓реЗ рдкреВрд░реА рд░рд╛рдд рдЬрд╛рдЧрдХрд░ рд░рдЯрдирд╛ рдмрдВрдж рдХрд░реЛред"
}
Scene types
Visuals are emoji and shapes drawn in code, so they fit any topic. Stills below are real frames from the demo reels.







Install
/plugin marketplace add sahibsingh/Instagram-topic2Reel
/plugin install topic2reel@topic2reel
/topic2reel:reel study tips for examsWritten from Claude Code’s plugin docs; not yet tried against this repository. Local test: claude --plugin-dir ./Instagram-topic2Reel.
pip install -r requirements.txt
npm ci && npx playwright install chromium
scripts/get_voice.sh hi_IN-pratham-medium
python3 engine/topic2reel.py --doctor
python3 engine/topic2reel.py examples/study_tips.json \
-o out/study.mp4 --voice piper \
--piper-model "$TOPIC2REEL_PIPER_MODEL"Honest limits
piper-tts is GPL-3.0-or-later and each voice has its own licence. See SECURITY.md in the repository for the full review.