techstackbro avatar
@techstackbro
resource · comment ALFAAZ

Claude se lyric video kaise banaye

Ek gaana do, Claude Code har line ke liye scene code mein draw karta hai aur har shabd beat pe aata hai. Na After Effects, na CapCut. Neeche ek prompt hai jo setup se lekar reel, cover aur caption tak sab karta hai.

syahi, kaagaz aur code ✍️

Follow @techstackbro
output

Ye style banega

Six frames from the lyric video: gold handwriting on dark red paper, an ink rose on teal, a gold script beat word, a paper city at dusk, a hand-drawn map, a couple at sunset on a torn page

Ye prompt ka lyric video wala hissa hai (54 sec, 540p, bina awaaz, gaana uske artist ka hai). Reel mein yahi phone frame ke andar chalta hai aur tap pe fullscreen hota hai.

pehle ye

Setup, 2 minute

Bas Claude Code chahiye. Baaki sab (Node.js, ffmpeg, Python, Whisper, Remotion) prompt khud install karwata hai.

1Ek khali folder banao, jaise lyric-video.
2Apna gaana usme daalo, naam song.mp3 (mp4 bhi chalega). Gaane ka cover art cover.jpg naam se. Cover na ho toh Claude mp4 se nikal lega.
3Us folder mein terminal kholo aur claude chalao. Neeche wala prompt paste karo.

Mac pe Homebrew, Windows pe winget, Linux pe apt use hoga. Password maange toh tum khud daalna.

1 prompt

Poora prompt

Ek prompt, 4 kaam: lyric video, reel (phone frame jo tap pe fullscreen hota hai), cover image aur caption + hashtags. Upar INPUTS mein gaane ka naam, hissa (seconds mein), apna handle aur comment word bharo. PART khali chhodoge toh Claude khud best 30 second chunega.

claude code
Make me a finished Instagram lyric reel for my song in one go: a cinematic lyric video drawn entirely in code, framed inside a phone that taps to fullscreen, plus a cover image and a caption. Use Remotion. No images except the song cover, no stock footage, no image or video AI.

INPUTS (fill these):
SONG: ./song.mp3 (an mp4 also works)
NAME: "<song name>"  ARTIST: "<artist>"
PART: <start>s to <end>s (if blank, pick the strongest ~30 s that starts right on a strong line)
COVER: ./cover.jpg (the song's cover art; if missing, grab one frame from the mp4 with ffmpeg)
HANDLE: @<my instagram>  CTA WORD: <word people comment, e.g. LYRICS>

STEP 1 - SETUP (do it all yourself, verify each step, ask me only for passwords)
1. Check Node 20+, ffmpeg and Python 3.10+. Install anything missing (Homebrew on Mac, winget on Windows, apt on Linux).
2. Create a Blank Remotion project here (npx create-video@latest), 1080x1920, 30 fps. Add @remotion/google-fonts. Copy the song and cover into public/.
3. Extract the full song audio to public/song.wav (48 kHz stereo) with ffmpeg.
4. Make a Python venv, pip install faster-whisper, transcribe the whole song with the "medium" model, word_timestamps=True, language = the song's language. Save src/lyrics.json as lines -> words with start/end in song seconds. Whisper is sloppy on singing: fix misheard words, merge broken lines, keep every word's start time. All scene timing uses song seconds, so trimming later never breaks sync.

STEP 2 - THE LYRIC VIDEO (composition "Lyric", 9:16)
Style "Khat": a love letter written in glowing ink on deep-dyed handmade paper.
- Every scene is paper with fibre texture (SVG feTurbulence) and one soft glow of light, each in its own deep colour: oxblood with candle glow, deep teal, plum/indigo night, midnight navy, crimson, saffron, magenta, violet dusk. Never flat black, never pastel, never plain cream paper.
- Ink is cream, gold (#e3b04b, highlights #ffd98a) and soft pink, with a gentle glow. Fonts: Homemade Apple for big script words, Caveat for handwritten lines, Instrument Serif for small labels, Fraunces 900 only for one rare huge word. If the song has a non-Latin script (Urdu, Hindi, Punjabi), add a matching Google font and write the title once in that script.
- Transitions are ink-bleed blots: a noisy, growing SVG clip-path floods the next scene in. No hard cuts, no slides.
- One global grade on top: screen-blend light leaks, slow glowing dust motes, soft vignette.
- Scenes: give every lyric line its own drawn image that acts out the words: a letter that writes itself, a rose painted in brush ink, stars that join into a heart, ink-splat fireworks, origami birds, a paper-cut city skyline, footsteps across a hand-drawn map with the line written along the path, a page that tears in two for the last line. People are simple ink silhouettes, never detailed faces.
- Hook: frame 0 is already mid-action on the most striking visual (e.g. a gold ink drop that blooms into the first word). If the reel starts mid-song, the first scene must appear instantly, never grow in from a small blob or fade from black.
- Sync: every word writes on at its sung time from lyrics.json. Drive all scenes from one clock (song time in seconds).
- Beat hits: pick the 3-4 strongest single words. On each, a full-screen moment: the word written large in gold Homemade Apple with a feathered write-on, a small Instrument Serif label above, gold ripple rings and an ink splat behind, a brush underline, the rest of the line handwritten below. Classy and one colour: no stamps, no stickers, no boxes, no HUD/editorial chrome (no frames, crosshairs, timecodes or progress bars).
- Portrait layout: split long lines into two rows, stack big words vertically, 120 px safe space top and bottom, nothing important in the bottom 300 px.
- Top tile for the first seconds: a small rounded card with the real cover art "x" a Claude-style starburst mark, "<NAME> x Claude".

STEP 3 - THE REEL WRAPPER (composition "Reel", 9:16, plays the Lyric comp inside it)
- Background: light dotted canvas (#EEF0F6, dot grid), Baloo 2 + Kalam fonts.
- Open on a phone mockup centred on the canvas, playing the Lyric video inside its screen, with the "<NAME> x Claude" tile above it and a small speech bubble "Claude Code se bana. poora gaana." (no "1 prompt" claim unless it really was one prompt).
- Leave the bottom-left corner clear for a presenter I add later; if I give you ./presenter.png, place it there static: no bounce, no idle bob, no springy motion. Any movement uses an overdamped ease.
- At the first beat hit (around 5 s in): a tap indicator on the screen, a small press dip, then the phone screen grows smoothly to full frame (12 frames, ease in-out, corners go to 0) right on the beat. The bubble fades out, the tile moves to the top corner.
- The lyric video then plays fullscreen until the final line.
- Outro (last ~3 s): freeze the last lyric frame, shrink it back into the phone, show a bubble "prompt chahiye?" and "comment <CTA WORD> ↓". Fade the song out by the last frame.

STEP 4 - COVER + CAPTION
- Composition "Cover", 1080x1920, one frame: same light dotted canvas, title "Claude ne banaya" with "lyric video" in hot pink below, a pill "song x Claude", a handwritten series line, and a framed card showing the strongest hook frame from the lyric video with the small real cover in its corner. Render out/cover.png. Keep text away from the bottom 300 px and inside the centre 1080x1350 so the grid crop still reads.
- Write out/post.md: a short Hinglish caption (what it is, scene list as 4-5 short emoji lines, "Comment <CTA WORD>" CTA, song credit line), 8-12 hashtags, SEO keywords and alt text. No money words, no fake claims, no "1 prompt" unless true.

QUALITY RULES (apply everywhere)
- Text must never get clipped. Never reveal text with a hard clip-path; use a feathered mask-image gradient, and give italic and script text extra horizontal padding so swashes aren't cut.
- white-space: nowrap and fit font size to the frame width, so nothing wraps or overflows (bubbles and notes included).
- Gradient text fill goes on each letter span, not the parent.
- Before each full render, render 6 stills spread across the video, look at them yourself, and fix clipped text, empty frames, off-beat words, overflow, and anything that looks cheap or plain. Repeat until clean.

RENDER
- out/lyric-video.mp4 (Lyric comp, trimmed to PART), out/reel.mp4 (Reel comp), out/cover.png. h264, crf 18, with audio.
- If rendering hangs on the bundled browser (common on Mac), use system Chrome via browserExecutable and chromiumOptions gl "angle".
- When done, tell me the files, their lengths, which beat words you picked and when the fullscreen tap happens.

Ye prompt English mein hai kyunki Claude English instructions sabse saaf follow karta hai. Gaana kisi bhi bhasha ka chalega.

agar atke

Chhote fix prompts

Pehli video aane ke baad ye lines kaam aayengi:

shabd late aa rahe
Words are late against the vocal. Re-check lyrics.json against the audio and shift each line so the first word lands on the sung syllable.
plain lag raha
This looks plain. Make every scene's paper colour deeper and richer, add more glow to the ink, and make the scene image fill more of the frame.
sirf ek scene badlo
Only redo the scene for the line "". Keep everything else exactly as it is. Render stills of that scene first.
zaroor padho

Limits, seedhi baat

Reel mein "Alfaaz" (Hamza Malik × Zain Zohaib) use hua. Gaane ke saare haq unke paas hain. Idea aansh.ai ke ek lyric reel se aaya, unka koi clip use nahi kiya.

series

AI se video kaise banaye

Ye guide AI se video kaise banaye series ka hissa hai. Poori series yahan hai:

  1. 1Poora setup: Claude Code + exact prompt + free voice clone
  2. 2Apna 2D character kaise banaye
  3. 3Animation kaise kaam karta hai (code se video)
  4. 4Captions perfectly sync kaise hote hain

Poora video setup chahiye? Part 1 se shuru karo.

follow karo @techstackbro 👀