关于 elevenlabs-music
通过 inference.sh CLI 的 belt 根据文本提示生成原创音乐,面向视频、播客、游戏及广告制作人员。可指定曲目时长,并通过提示描述音乐风格、情绪、乐器和节奏。
主要功能
- 01根据文本提示生成音乐
- 02可设置 5 至 600 秒时长
- 03提示可描述风格、情绪与乐器
- 04适用于多种音乐类型
适用场景
- 01制作视频背景配乐
- 02创作播客片头和片尾音乐
- 03为游戏制作主题曲或战斗音乐
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ magentosh/ 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 | 字符串 | 必填 | 对所需音乐的描述(最多 2000 个字符) |
duration_seconds | 数字 | 30 | 时长,单位为秒(5-600,最长 10 分钟) |
示例
背景音乐
# 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
}'
提示词技巧
流派:流行、摇滚、电子、爵士、古典、嘻哈、lo-fi、氛围音乐、管弦乐、民谣、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>"]
}'
使用场景
- 视频制作:背景配乐、转场
- 播客:片头/片尾、段落间隔
- 游戏:原声音乐、菜单音乐、战斗主题曲
- 广告:广告短曲、商业背景音乐
- 社交媒体:适用于短视频内容的热门音频
- 演示文稿:专业背景音乐
- 电影:配乐、营造氛围
相关技能
# 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