elevenlabs-music について
elevenlabs-music は、inference.sh CLI でテキストプロンプトから音楽を生成するスキルです。音楽が必要な映像・音声制作者向けで、生成時間を設定でき、背景音楽や映画音楽、ゲーム音楽の例を扱います。
主な機能
- 01テキストプロンプトから音楽を生成
- 02生成時間の設定
- 03プロンプトでジャンル・ムード・楽器を指定
- 04音楽とナレーションのワークフロー例
活用シーン
- 01動画の背景音楽の制作
- 02ポッドキャストのオープニング・エンディング制作
- 03ゲームテーマの制作
- 04プレゼンテーションへの背景音楽追加
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ inference-sh/ skills --skill elevenlabs-musicインストール後、Claude Code で/elevenlabs-musicを入力して読み込まれたか確認します。
詳細
belt CLI スキルをインストールする:
npx skills add belt-sh/cli
ElevenLabs の音楽生成
inference.sh CLI を使用して、テキストプロンプトからオリジナルの音楽を生成します。

クイックスタート
inference.sh CLI(
belt)が必要です。インストール手順
belt login
# Generate music
belt app run elevenlabs/music --input '{"prompt": "Upbeat electronic dance track with driving synths"}'
パラメーター
| パラメーター | 型 | デフォルト | 説明 |
|---|---|---|---|
prompt | string | 必須 | 生成する音楽の説明(最大 2000 文字) |
duration_seconds | number | 30 | 長さ(秒)(5~600 秒、最大 10 分) |
例
BGM
# Lo-fi study beats
belt app run elevenlabs/music --input '{
"prompt": "Lo-fi hip hop beat, chill study music, vinyl crackle, mellow piano",
"duration_seconds": 120
}'
# Corporate background
belt app run elevenlabs/music --input '{
"prompt": "Light corporate background music, positive, motivational, clean",
"duration_seconds": 60
}'
映画音楽
# Epic trailer
belt app run elevenlabs/music --input '{
"prompt": "Epic cinematic orchestral score, dramatic build-up, brass and strings, trailer music",
"duration_seconds": 45
}'
# Suspense
belt app run elevenlabs/music --input '{
"prompt": "Dark suspenseful score, tension building, minimal piano, horror atmosphere",
"duration_seconds": 60
}'
ジャンル別
# Jazz
belt app run elevenlabs/music --input '{
"prompt": "Smooth jazz quartet, saxophone lead, walking bass, brushed drums",
"duration_seconds": 90
}'
# Electronic
belt app run elevenlabs/music --input '{
"prompt": "Techno beat, 128 BPM, driving bass, atmospheric synths, club music",
"duration_seconds": 120
}'
# Acoustic
belt app run elevenlabs/music --input '{
"prompt": "Acoustic guitar folk song, fingerpicking, warm and intimate",
"duration_seconds": 60
}'
ショートフォームコンテンツ
# Podcast intro (10 seconds)
belt app run elevenlabs/music --input '{
"prompt": "Podcast intro jingle, professional, tech-themed, catchy",
"duration_seconds": 10
}'
# Social media clip
belt app run elevenlabs/music --input '{
"prompt": "Trendy upbeat pop, social media vibe, energetic, youthful",
"duration_seconds": 15
}'
# Notification sound
belt app run elevenlabs/music --input '{
"prompt": "Short positive notification melody, clean, satisfying",
"duration_seconds": 5
}'
ゲームオーディオ
# Battle theme
belt app run elevenlabs/music --input '{
"prompt": "Intense battle music, fast tempo, orchestral with electric guitar, boss fight",
"duration_seconds": 120
}'
# Exploration theme
belt app run elevenlabs/music --input '{
"prompt": "Peaceful exploration music, fantasy RPG, harp and flute, magical atmosphere",
"duration_seconds": 180
}'
# Menu music
belt app run elevenlabs/music --input '{
"prompt": "Ambient menu screen music, sci-fi, ethereal synths, space theme",
"duration_seconds": 60
}'
プロンプトのヒント
ジャンル:ポップ、ロック、エレクトロニック、ジャズ、クラシック、ヒップホップ、ローファイ、アンビエント、オーケストラ、フォーク、R&B、メタル、カントリー
雰囲気:楽しい、悲しい、エネルギッシュ、穏やか、ドラマチック、壮大、ミステリアス、高揚感のある、暗い、ロマンチック、緊張感のある
楽器:ピアノ、ギター、シンセ、ドラム、ベース、ストリングス、金管楽器、合唱、サクソフォン、バイオリン、フルート、ハープ
テンポ:遅い、普通、速い、80 BPM、120 BPM、140 BPM
スタイル:映画音楽風、ミニマル、レイヤー感のある、雰囲気のある、リズミカル、メロディック、アンビエント
ワークフロー:音楽+ナレーション
# 1. Generate background music
belt app run elevenlabs/music --input '{
"prompt": "Soft ambient background music for narration, non-intrusive",
"duration_seconds": 60
}' > music.json
# 2. Generate voiceover
belt app run elevenlabs/tts --input '{
"text": "Welcome to our product tour. Let me show you what we have built.",
"voice": "george"
}' > voice.json
# 3. Mix together (no inference.sh app mixes audio; use ffmpeg locally)
curl -L -o music.mp3 "<music-url>"
curl -L -o voice.mp3 "<voice-url>"
ffmpeg -i voice.mp3 -i music.mp3 -filter_complex \
"[1]volume=0.2[bg];[0][bg]amix=inputs=2:duration=first" mixed.mp3
ユースケース
- 動画制作:BGM、トランジション
- ポッドキャスト:イントロ/アウトロ、セグメント間の区切り
- ゲーム:サウンドトラック、メニュー音楽、バトルテーマ
- 広告:ジングル、CM の背景音楽
- ソーシャルメディア:ショートフォームコンテンツ向けのトレンド音源
- プレゼンテーション:プロフェッショナルなBGM
- 映画:スコア制作、雰囲気づくり
関連スキル
# ElevenLabs sound effects (combine with music)
npx skills add inference-sh/skills@elevenlabs-sound-effects
# ElevenLabs TTS (add voice over music)
npx skills add inference-sh/skills@elevenlabs-tts
# Other music models (Diffrythm, Tencent)
npx skills add inference-sh/skills@ai-music-generation
# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli
すべてのオーディオアプリを閲覧する:belt app list --category audio
コメント
Markdown 対応