elevenlabs-music について
elevenlabs-music は、inference.sh のコマンドラインから ElevenLabs Music を使い、テキストプロンプトでオリジナル音楽を生成する方法を紹介します。プロンプトと長さの指定に加え、ジャンルや用途別の例を掲載しています。
主な機能
- 01テキストプロンプトから音楽を生成
- 025〜600秒の長さを設定
- 03ジャンル、ムード、楽器、テンポ、スタイルを指定
- 04映画、ゲーム、ポッドキャスト、短尺動画の例
活用シーン
- 01動画のBGM制作
- 02ポッドキャストのオープニングやつなぎの作成
- 03ゲーム用テーマ曲の生成
- 04広告やプレゼン用の音楽制作
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ qu-skills/ superpowers --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. Merge together
belt app run infsh/media-merger --input '{
"media": ["<music-url>", "<voice-url>"]
}'
ユースケース
- 動画制作: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 対応