Sound FX (ElevenLabs) for Openclaw

A high-performance utility for generating custom sound effects from text prompts using the ElevenLabs API.

javicasper
v0.1.1
Jan 29, 2026
1
3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install sound-fx

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install sound-fx using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Sound FX (ElevenLabs)?

The Sound FX skill enables AI agents to generate high-quality audio clips—such as applause, laughter, or ambient noise—directly from text descriptions. By leveraging the ElevenLabs SFX API, this Openclaw Skills integration allows developers to programmatically create soundscapes or UI feedback sounds for various applications. It provides a robust interface for text-to-sound conversion, ensuring that AI-driven workflows can include rich auditory elements.

This skill is designed to bridge the gap between AI text generation and multimedia production. It supports custom durations and provides an easy path for converting audio files into formats optimized for mobile platforms like WhatsApp using standard libraries like ffmpeg.

Sound FX (ElevenLabs) Use Cases

  • Adding audience reactions like canned laughter or applause to digital media content.
  • Generating environmental ambience for storytelling, gaming, or background audio.
  • Creating UI sounds like whooshes or stingers for software interfaces and notifications.
  • Automating sound effect delivery to mobile devices via WhatsApp-friendly .ogg formats.

How Sound FX (ElevenLabs) Works

  1. The user or agent provides a text description of the desired sound effect via the command line script.
  2. The script calls the ElevenLabs sound-generation API using the provided text prompt and optional duration parameters.
  3. The API processes the request and returns an MP3 file, which is saved to the specified local output path.
  4. If required for mobile compatibility, the user can run an ffmpeg command to convert the MP3 to a WhatsApp-friendly .ogg/opus file.
  5. Upon successful generation, the skill emits a specific MEDIA tag to allow the host agent to automatically identify and attach the resulting file.

Sound FX (ElevenLabs) Setup

First, configure your API key by exporting it to your environment or adding it to your configuration file:

export ELEVENLABS_API_KEY="your_api_key_here"

Alternatively, you can set it within your global configuration at ~/.clawdbot/clawdbot.json:

{
  "skills": {
    "sound-fx": {
      "env": {
        "ELEVENLABS_API_KEY": "your_api_key_here"
      }
    }
  }
}

To generate a sound effect, use the provided script:

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

Sound FX (ElevenLabs) Data Schema & Taxonomy

The skill manages audio generation through specific command-line flags and outputs structured media paths.

Parameter Type Description
--text String The descriptive prompt for the sound effect (e.g., 'fast whoosh').
--out Path The destination file path for the generated .mp3 file.
--duration Float Optional duration in seconds (ranges from 0.5 to 30s).

All generated files are stored locally at the path specified by the --out parameter. The script returns a MEDIA: <path> string to the standard output to facilitate automated file handling by Openclaw Skills compatible agents.

Sound FX (ElevenLabs) Advanced Features

  • Automatic duration inference: When the duration parameter is omitted, the API intelligently determines the optimal length for the sound.
  • Mobile-ready conversion: Easy-to-use ffmpeg workflow for converting standard MP3 outputs into WhatsApp-compliant OGG/Opus files.
  • Multi-agent support: The standard media output format allows different agents within the ecosystem to consume and share the generated audio seamlessly.
  • High-fidelity generation: Access to the latest ElevenLabs SFX models for professional-grade audio quality.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*