---
name: Music Generation
slug: elevenlabs-music-generator
category: Automation
description: Generates instrumental music beds for video ads using ElevenLabs Music, routed through a proxy for billing. Trims intros, normalizes loudness, and fades tails according to a template recipe.
github: "https://github.com/gooseworks-ai/goose-skills/tree/main/skills/ads/capabilities/create-music-elevenlabs"
language: Python
stars: 1066
forks: 194
install: "git clone https://github.com/gooseworks-ai/goose-skills"
added: 2026-07-20T06:49:24.207Z
last_synced: 2026-07-29T06:37:30.427Z
canonical_url: "https://dirskills.com/skills/elevenlabs-music-generator"
---

# Music Generation

Generates instrumental music beds for video ads using ElevenLabs Music, routed through a proxy for billing. Trims intros, normalizes loudness, and fades tails according to a template recipe.

**Install:** `git clone https://github.com/gooseworks-ai/goose-skills`

## README

# create-music-elevenlabs

Generate an instrumental music bed via ElevenLabs Music, ROUTED THROUGH THE elevenlabs-proxy so it bills the Ads agent. Trims any sparse intro, loudnorm, fades the tail. Prompt + length from the template recipe. Use for the music layer of any video-ad format.

## Run
gen_music.py --prompt '...' --duration 10 --out music.m4a — bills the agent; writes a duration-clamped, loudnorm'd bed.

## Contract
- Paid calls route through the GooseWorks proxies (bills the Ads agent) via the
  bundled `media_proxy.py` — never a provider SDK's default host.
- The template recipe (DB) supplies the model + params; this capability is generic.
