Labsco
pexoai logo

videoagent-audio-studio

โ˜… 742

by pexoai ยท part of pexoai/pexo-skills

Tired of juggling multiple audio APIs? This skill gives you one-command access to TTS, music generation, sound effects, and voice cloning. Use when you want to generate any audio without managing multiple API keys.

๐Ÿงฉ One of 7 skills in the pexoai/pexo-skills package โ€” works on its own, and pairs well with its siblings.

This is the playbook your agent receives when the skill activates โ€” you don't need to read it to use the skill, but it's here to audit before installing.

๐ŸŽ™๏ธ VideoAgent Audio Studio

Use when: User asks to generate speech, narrate text, create a voice-over, compose music, or produce a sound effect.

VideoAgent Audio Studio is a smart audio dispatcher. It analyzes your request and routes it to the best available model โ€” ElevenLabs for speech and music, fal.ai for fast SFX โ€” and returns a ready-to-use audio URL.


Quick Reference

Request TypeBest ModelLatency
Narrate text / Voice-overelevenlabs-tts-v3~3s
Low-latency TTS (real-time)elevenlabs-tts-turbo<1s
Background musiccassetteai-music~15s
Sound effectelevenlabs-sfx~5s
Clone a voice from audioelevenlabs-voice-clone~10s

Example Conversations

User: "Voice this text for me: Welcome to our product launch"

โ†’ Route to: text_to_speech
  text: "Welcome to our product launch"
  voice_id: "JBFqnCBsd6RMkjVDRZzb"
  model_id: "eleven_multilingual_v2"

๐ŸŽ™๏ธ Voiceover done! Listen here


User: "Generate 60 seconds of relaxing background music for a podcast"

โ†’ Route to: cassetteai-music (fal.ai)
  prompt: "relaxing lo-fi background music for a podcast, gentle piano and soft beats, 60 seconds"
  duration_seconds: 60

๐ŸŽต Background music ready! Listen here


User: "Generate a sci-fi style door opening sound effect"

โ†’ Route to: text_to_sound_effects
  text: "a futuristic sci-fi door sliding open with a hydraulic hiss"
  duration_seconds: 3

Self-Hosting the Proxy

The cli.js connects to a hosted proxy by default. If you want full control โ€” or need to serve users in regions where vercel.app is blocked โ€” you can deploy your own instance from the proxy/ directory.

Quick Deploy (Vercel)

cd proxy
npm install
vercel --prod

Environment Variables

Set these in your Vercel project (Dashboard โ†’ Settings โ†’ Environment Variables):

VariableRequired ForWhere to Get
ELEVENLABS_API_KEYTTS, SFX, Voice Cloneelevenlabs.io/app/settings/api-keys
FAL_KEYMusic generationfal.ai/dashboard/keys
VALID_PRO_KEYS(Optional) Restrict accessComma-separated list of allowed client keys

Point cli.js to Your Proxy

export AUDIOMIND_PROXY_URL="https://your-domain.com/api/audio"

Or set it in ~/.openclaw/openclaw.json:

{
  "skills": {
    "entries": {
      "videoagent-audio-studio": {
        "env": {
          "AUDIOMIND_PROXY_URL": "https://your-domain.com/api/audio"
        }
      }
    }
  }
}

If your users are in mainland China, bind a custom domain in Vercel Dashboard โ†’ Settings โ†’ Domains to avoid DNS issues with vercel.app.


Model Reference

Model IDTypeProviderNotes
eleven_multilingual_v2TTSElevenLabsBest quality, supports 29 languages
eleven_turbo_v2_5TTSElevenLabsUltra-low latency, ideal for real-time
eleven_monolingual_v1TTSElevenLabsEnglish only, fastest
cassetteai-musicMusicfal.aiReliable, fast music generation
elevenlabs-sfxSFXElevenLabsHigh-quality sound effects (up to 22s)
elevenlabs-voice-cloneCloneElevenLabsClone any voice from a short audio sample

Changelog

v3.0.0

  • Simplified routing table: Removed unstable/offline models from the main reference. The skill now only surfaces models that reliably work.
  • Clearer use-case triggers: Added "Use when" section so the agent activates this skill at the right moment.
  • Unified setup: Single ELEVENLABS_API_KEY is all you need to get started. FAL_KEY is now optional.
  • Removed polling complexity: Music generation now uses cassetteai-music by default, which completes synchronously.

v2.1.0

  • Added async workflow for long-running music generation tasks.
  • Added cassetteai-music as a stable alternative for music generation.

v2.0.0

  • Migrated to ElevenLabs MCP server architecture.
  • Added voice cloning support.

v1.0.0

  • Initial release with TTS, music, and SFX routing.