🚀 快速安装
复制以下命令并运行,立即安装此 Skill:
npx skills add https://skills.sh/inferen-sh/skills/elevenlabs-sound-effects
💡 提示:需要 Node.js 和 NPM
快速开始
需要 inference.sh CLI (
infsh)。安装说明
infsh login
# 生成音效infsh app run elevenlabs/sound-effects --input '{"text": "远处雷声隆隆"}'
参数
| 参数 | 类型 | 描述 |
|---|---|---|
text |
字符串 | 音效描述(最多 1000 字符) |
duration_seconds |
数字 | 时长 0.5-22 秒(可选,省略则自动) |
prompt_influence |
数字 | 0-1,提示词的解读程度(默认:0.3) |
示例
电影感音效
# 史诗预告片重击infsh app run elevenlabs/sound-effects --input '{"text": "电影感重低音,深沉低音冲击"}'
# 悬疑氛围音infsh app run elevenlabs/sound-effects --input '{
"text": "黑暗氛围持续音,紧张感增强,恐怖",
"duration_seconds": 10
}'
# 呼啸转场infsh app run elevenlabs/sound-effects --input '{
"text": "快速电影感呼啸转场",
"duration_seconds": 1.5
}'
自然与环境
# 雨声infsh app run elevenlabs/sound-effects --input '{
"text": "铁皮屋顶上的大雨,伴有偶尔的雷声",
"duration_seconds": 15
}'
# 森林氛围infsh app run elevenlabs/sound-effects --input '{
"text": "森林氛围,鸟鸣和微风",
"duration_seconds": 20
}'
# 海浪声infsh app run elevenlabs/sound-effects --input '{
"text": "海浪拍打海滩,平静舒缓",
"duration_seconds": 15
}'
游戏音频
# 能量提升infsh app run elevenlabs/sound-effects --input '{
"text": "复古游戏能量提升音,音调上升",
"duration_seconds": 1
}'
# 爆炸声infsh app run elevenlabs/sound-effects --input '{
"text": "科幻激光爆炸,未来感",
"duration_seconds": 3
}'
# 界面点击infsh app run elevenlabs/sound-effects --input '{
"text": "柔和界面按钮点击,细微干净",
"duration_seconds": 0.5
}'
日常声音
# 门铃infsh app run elevenlabs/sound-effects --input '{"text": "经典门铃声"}'
# 打字声infsh app run elevenlabs/sound-effects --input '{
"text": "机械键盘打字,快速,咔哒声",
"duration_seconds": 5
}'
# 通知声infsh app run elevenlabs/sound-effects --input '{
"text": "悦耳通知铃声,积极向上",
"duration_seconds": 1
}'
提示词影响度
控制模型对描述的解读程度:
| 数值 | 效果 | 最佳用途 |
|---|---|---|
| 0.0 | 非常宽松的解读 | 创意、令人惊喜的效果 |
| 0.3 | 平衡(默认) | 通用目的 |
| 0.7 | 接近描述 | 特定的声音需求 |
| 1.0 | 非常字面化 | 精确的声音再现 |
# 宽松解读 - 创意结果infsh app run elevenlabs/sound-effects --input '{
"text": "神奇仙尘闪耀",
"prompt_influence": 0.1
}'
# 字面化解读 - 精确结果infsh app run elevenlabs/sound-effects --input '{
"text": "单次枪声,手枪,室内靶场",
"prompt_influence": 0.8
}'
提示词技巧
具体描述:“金属屋顶上的大雨” > “雨声”
包含背景:“碎石上的脚步声,缓慢行走” > “脚步声”
描述情绪:“废弃建筑中诡异的呼啸风声” > “风声”
指定材质:“玻璃在水泥地上碎裂” > “玻璃破碎”
工作流:为视频添加音效
# 1. 生成音效infsh app run elevenlabs/sound-effects --input '{
"text": "戏剧性揭示嗖声加低音下沉",
"duration_seconds": 2
}' > sfx.json
# 2. 与视频合并infsh app run infsh/media-merger --input '{
"media": ["video.mp4", "<音效-url>"]
}'
应用场景
- 视频制作:转场、冲击、氛围
- 游戏开发:界面音、效果、环境音
- 播客:强调音、转场、氛围
- 电影/动画:拟音、环境、配乐元素
- 演示文稿:吸引注意力的声音提示
- 社交媒体:短视频音频
相关技能
# ElevenLabs 音乐生成npx skills add inference-sh/skills@elevenlabs-music
# ElevenLabs 文本转语音(将人声与效果结合)npx skills add inference-sh/skills@elevenlabs-tts
# AI 音乐生成(Diffrythm, Tencent)npx skills add inference-sh/skills@ai-music-generation
# 完整平台技能(150+ 个应用)npx skills add inference-sh/skills@infsh-cli
浏览所有音频应用:infsh app list --category audio


评论(0)