/remotion-superpowers:add-musicfrom remotion-superpowers
Generates background music via ElevenLabs Eleven Music and wires it into a Remotion composition with fade in/out. Describe mood/genre and get a commercially licensed track.
Ships in remotion-superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are helping the user add background music to their Remotion project.
Load the remotion-production skill for the music-scoring and audio-integration rules, and the official ElevenLabs music skill (npx skills add elevenlabs/skills) for the API details.
If not already described, ask the user:
Generate with Eleven Music (music_v2_5). It's cleared for commercial use on paid ElevenLabs plans, and the Music API needs one.
ELEVENLABS_API_KEY isn't set for the project, run npx -y @elevenlabs/cli@latest onboard init from the project root and follow what it prints. Never ask for the key in chat.npm i @elevenlabs/elevenlabs-js, then add a music entry to scripts/generate-audio.ts (create it from the audio-integration rule if it doesn't exist):const music = [
{ name: "music-bg", prompt: "[genre] background music, [mood], [tempo], [additional descriptors]", lengthMs: 30_000 },
];
lengthMs to the video length plus a few seconds (measure the voiceover first if there is one). The script forces instrumental output; for a track with vocals, set forceInstrumental: false.node scripts/generate-audio.ts from the project root. The track lands at public/music-bg.mp3. To regenerate it, delete the file and run the script again.Good prompt examples:
Don't name artists, bands or song lyrics in the prompt; Eleven Music rejects them and suggests a rewording.
Alternatives:
compose_music tool is deprecated (archived upstream) but still ships for quick interactive one-offs. It writes into public/; rename its output to music-bg.mp3.generate_music (remotion-media, Suno) for cheap drafts: prompt, output_name: music-bg, instrumental: true. Suno and the other KIE-resold models aren't licensed by their owners through KIE. Use KIE audio for drafts and internal work, and generate final commercial audio with ElevenLabs.Place it with <Audio> from @remotion/media (install with npx remotion add @remotion/media), following the official remotion-markup skill (audio.md), with fade in/out:
import { Audio } from "@remotion/media";
import { interpolate, staticFile, useCurrentFrame, useVideoConfig } from "remotion";
const frame = useCurrentFrame();
const { durationInFrames, fps } = useVideoConfig();
<Audio
src={staticFile("music-bg.mp3")}
volume={interpolate(
frame,
[0, fps, durationInFrames - 2 * fps, durationInFrames],
[0, 0.25, 0.25, 0],
{ extrapolateLeft: "clamp", extrapolateRight: "clamp" },
)}
/>
If the project has a voiceover, implement volume ducking — lower music to 0.1 during narration, 0.3 during silent parts. See audio-integration rule for the pattern.
If Studio isn't running, start it with npx remotion studio (or --no-open with an in-app browser, then open the URL it prints). Ask the user to listen there. Don't render unless they ask for an MP4.
Offer adjustments:
public/music-bg.mp3 and run the script again.lengthMs, or add loop to the <Audio>.music entries (music-intro, music-main, …) and give each <Audio> its own from and durationInFrames, or use a composition plan (official music skill) for one track with sections.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dojocodinglabs/remotion-superpowers --plugin remotion-superpowers15 skills in this plugin
/add-captionsAdd TikTok-style, karaoke, YouTube or minimal captions to your Remotion video. Gets word-level captions through the official remotion-captions flow (whisper-webgpu, or ElevenLabs Scribe via @remotion/elevenlabs when there's no GPU), or imports the user's SRT with parseSrt, places one official caption element per clip, and applies a style preset with platform-safe placement./add-transitionsAdd professional scene transitions to your Remotion video. Choose from fade, slide, wipe, flip, clock-wipe and light-leak overlays — with spring or linear timing./add-voiceoverGenerate a voiceover narration and add it to your Remotion project. Provide a script or describe what the narration should say, and this will generate per-scene ElevenLabs TTS audio (official ElevenLabs text-to-speech skill) and wire it into your composition./analyze-footageAnalyze existing video files with TwelveLabs AI. Get a timestamped scene map of your footage, ask questions about it, find specific moments across a library, and get the best clips with timestamps for Remotion./create-shortCreate a short-form vertical video (TikTok, Instagram Reels, YouTube Shorts). Optimized 9:16 pipeline with a live Studio preview, auto-captions, hook-first structure, and background music mood selection; renders to MP4 only when you ask./create-videoFull video production pipeline — from a text prompt to a live Studio preview with voiceover, music, sound effects, stock footage, and motion graphics, rendered to MP4 when you ask. The flagship command of Remotion Superpowers.Other plugins' skills for the same job