elevenlabs-voice-isolator
Isolate voice, remove background noise from audio. Use for: clean audio, vocal extraction
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Isolate voice, remove background noise from audio. Use for: clean audio, vocal extraction
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create multi-speaker dialogue audio. Use for: podcasts, conversations, audiobook scenes
Translate and dub audio/video to another language. Use for: localization, multilingual
Generate music from text description. Use for: background music, jingles, soundtracks
Generate sound effects from description. Use for: SFX, game audio, video soundscape
Transcribe audio to text, speech recognition. Use for: transcription, subtitles, dictation
Convert text to speech, narrate, voiceover. 32 languages, 22+ voices. Use for: TTS, audio
| name | elevenlabs-voice-isolator |
| description | Isolate voice, remove background noise from audio. Use for: clean audio, vocal extraction |
| allowed-tools | Bash(curl *) |
| disable-model-invocation | true |
Remove background noise and isolate the voice from an audio file using ElevenLabs audio isolation API.
Ask the user for:
Then run the following steps:
Step 1 - Check API key and file:
if [ -z "$ELEVENLABS_API_KEY" ]; then
echo "ERROR: ELEVENLABS_API_KEY not set."
echo "Run /pocket-knife:setup to configure your API keys."
exit 1
fi
AUDIO_FILE="[ABSOLUTE_PATH_TO_AUDIO_FILE]"
OUTPUT_FILE="${OUTPUT_FILE:-$HOME/Downloads/isolated_$(date +%Y%m%d_%H%M%S).mp3}"
if [ ! -f "$AUDIO_FILE" ]; then
echo "ERROR: Audio file not found: $AUDIO_FILE"
echo "Provide an absolute path to an existing audio file."
exit 1
fi
Step 2 - Isolate voice:
# Source: https://elevenlabs.io/blog/voice-isolator-api-launch
# Endpoint: POST /v1/audio-isolation
# Use -f (NOT --fail-with-body) for binary output - error body corrupts the audio file
# Field name is "audio" (not "file" - different from STT endpoint)
curl -f -s \
-X POST "https://api.elevenlabs.io/v1/audio-isolation" \
-H "xi-api-key: $ELEVENLABS_API_KEY" \
-F "audio=@${AUDIO_FILE}" \
--output "$OUTPUT_FILE"
if [ $? -ne 0 ]; then
echo "ERROR: ElevenLabs Voice Isolator API call failed."
echo "Check that ELEVENLABS_API_KEY is correct in ~/.claude/.env"
echo "Run /pocket-knife:setup to reconfigure."
exit 1
fi
if [ ! -s "$OUTPUT_FILE" ]; then
echo "ERROR: Output audio file is empty."
echo "Possible causes: unsupported audio format, no speech detected in file."
rm -f "$OUTPUT_FILE"
exit 1
fi
echo "Voice isolated successfully: $OUTPUT_FILE"
Report to the user: