Skip to content
Agentmart
Submit a tool

video-audio-design

Use this skill when adding audio to programmatic videos - generating narration with ElevenLabs TTS, sourcing royalty-free background music, creating SFX with…

Skill by mkurman

IndexedMIT★ 325
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mkurman-video-audio-design

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use this skill when adding audio to programmatic videos - generating narration with ElevenLabs TTS, sourcing royalty-free background music, creating SFX with FFmpeg, implementing audio ducking, or mixing multiple audio layers in Remotion. Triggers on ElevenLabs, text-to-speech, voice generation, background music, sound effects, audio mixing, and volume ducking.

Use cases: design

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/video-audio-design

What's inside

Skill name
video-audio-design
Description
Use this skill when adding audio to programmatic videos - generating narration with ElevenLabs TTS, sourcing royalty-free background music, creating SFX with FFmpeg, implementing audio ducking, or mixing multiple audio layers in Remotion. Triggers on ElevenLabs, text-to-speech, voice generation, background music, sound effects, audio mixing, and volume ducking.
License
MIT
Instructions
392 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (6)

  • README.md
  • SKILL.md
  • evals.json
  • audio-mixing-patterns.md · references/
  • elevenlabs-api.md · references/
  • sfx-generation.md · references/

SKILL.md (first lines)

## Key principles

1. **Layered audio architecture** - Every video has three audio layers:
   narration on top (loudest), SFX in the middle (accent volume), and
   background music at the base (lowest).

2. **Narration drives timing** - Generate narration first, measure its
   duration, then set scene timing to match. Never fit narration into
   arbitrary scene lengths.

3. **Duck music during speech** - Background music must drop 50-60% when
   narration plays. Use smooth ramps (10-15 frames) to avoid jarring jumps.

4. **SFX as accents, not distractions** - Keep SFX short (under 0.5s),
   subtle in volume, and relevant to on-screen action.

5. **Test audio in context** - Always preview the full mix with all layers
   together. Listen for muddy speech, volume spikes, or dead silence.

---

## Core concepts

### 3-layer audio architecture

| Layer | Role | Base Volume | During Narration |
|---|---|---|---|
| Narration | Conveys information, drives pacing | 0.8-1.0 | N/A (top layer) |
| SFX | Accents transitions and actions | 0.3-0.5 | 0.3-0.5 (unchanged) |
| Background Music | Sets emotional tone, fills silence | 0.3-0.5 | 0.15-0.25 (ducked) |

### ElevenLabs API model

ElevenLabs provides neural TTS via a REST API. The core flow:
1. Pick a voice (pre-made or cloned) - each has a `voice_id`
2. Send text + voice settings to `/v1/text-to-speech/{voice_id}`
3. Receive raw audio bytes (mp3 by default)
4. Write to file and measure duration for scene timing

Voice settings:

| Setting | Range | Low | High | Recommended |
|---|---|---|---|---|
| stability | 0-1 | More expressive, variable | More consistent, monotone | 0.4-0.6 |
| similarity_boost | 0-1 | More creative | Closer to original voice | 0.6-0.8 |
| style | 0-1 | Neutral delivery | Exaggerated style | 0.3-0.6 |

### Audio ducking concept

Audio ducking reduces background music volume when narration starts and
restores it when narration ends. In Remotion, use `interpolate()`:

```
Music volume:  0.4 ---\              /--- 0.4
                       \            /
               0.15     \__________/
                     narration start → end
```

Ramps should take 10-15 frames (~0.3-0.5s at 30fps).

### Frame-based audio sync in Remotion

- `useCurrentFrame()` returns the current frame number
- `interpolate()` maps frame ranges to value ranges (e.g., volume)
- `<Sequence from={frame}>` places audio at a specific frame
- `<Audio volume={fn}>` accepts a static number or a per-frame function

Convert seconds to frames: `frames = seconds * fps`.

---

## Common tasks

### 1. Set up ElevenLabs API key and generate narration

```typescript
import fs from 'fs';

const ELEVENLABS_API_URL = 'https://api.elevenlabs.io/v1';

async function generateNarration(
  text: string,
  voiceId: string,
  outputPath: string
): Promise<void> {
  const response = await fetch(
    `${ELEVENLABS_API_URL}/text-to-speech/${voiceId}`,
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
        'xi-api-key': process.env.ELEVEN_LABS_API_KEY!,
      },
      body: JSON.stringify({
        text,
        model_id: 'eleven_multilingual_v2',
        voice_settings: {
          stability: 0.5,
          similarity_boost: 0.75,
          style: 0.5,
          use_speaker_boost: true,
        },
      }),
    }
  );

  if (!response.ok) {
    const error = await response.text();
    throw new Error(`ElevenLabs API error ${response.status}: ${error}`);
  }

  const buffer = Buffer.from(await response.arrayBuffer());
  fs.writeFileSync(outputPath, buffer);
}
```

### 2. Select and configure voice settings

From mkurman/zorai, MIT.

More from mkurman/zorai

Signals

Stars
325
Forks
24
Open issues
0
Last commit (this folder)
May 5, 2026 (5 months ago)
Last release
Oct 23, 2026 (4 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
Website
zorai.app/
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mkurman

Cite this page

video-audio-design skill. Agent Mart. https://agentmart.dev/skills/mkurman-video-audio-design (last updated 2026-10-24)