← 返回
数据分析 Key 中文

Sound FX

Generate short sound effects via ElevenLabs SFX (text-to-sound). Use when you need SFX clips like applause, canned laughter, whooshes, ambience, or short stingers, and optionally convert to WhatsApp-friendly .ogg/opus.
使用 ElevenLabs SFX(文本生成声音)生成短音效。适用于制作掌声、罐头笑声、呼啸声、环境音或短促转场音等片段,可选转换为 WhatsApp 兼容的 .ogg/opus 格式。
javicasper
数据分析 clawhub v0.1.1 1 版本 99731 Key: 需要
★ 1
Stars
📥 2,575
下载
💾 117
安装
1
版本
#latest

概述

Sound FX (ElevenLabs)

Overview

Generate a sound effect from a text prompt using the ElevenLabs SFX API. Output is MP3 by default; convert to .ogg/opus for WhatsApp mobile playback.

Quick start

1) Set API key:

  • ELEVENLABS_API_KEY (preferred) or XI_API_KEY
  • Or set skills."sound-fx".env.ELEVENLABS_API_KEY in ~/.clawdbot/clawdbot.json

2) Generate SFX (MP3):

scripts/generate_sfx.sh --text "short audience applause" --out "/tmp/applause.mp3" --duration 1.2

3) Convert to WhatsApp-friendly .ogg/opus (if needed):

ffmpeg -y -i /tmp/applause.mp3 -c:a libopus -b:a 48k /tmp/applause.ogg

Script: scripts/generate_sfx.sh

Usage

scripts/generate_sfx.sh --text "canned laughter" --out "/tmp/laugh.mp3" --duration 1.5

Notes

  • Uses POST https://api.elevenlabs.io/v1/sound-generation
  • Supports optional --duration (0.5–30s). When omitted, duration is auto.
  • Prints MEDIA: on success for auto-attach.

Examples

  • Applause: "short audience applause"
  • Laughter: "canned audience laughter"
  • Whoosh: "fast whoosh"
  • Ambience: "soft rain ambience"

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-03-28 14:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Transcribe

javicasper
使用本地 Whisper (Docker) 将音频转录为文本。适用于接收语音消息、音频文件(.mp3、.m4a、.ogg、.wav、.webm)或要求转录音频时。
★ 2 📥 3,903
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 163 📥 59,774
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 367 📥 140,104