elevenlabs-sound-effects
Generate sound effects from description. Use for: SFX, game audio, video soundscape
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate sound effects from description. Use for: SFX, game audio, video soundscape
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
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
Change voice in audio file to another voice. Use for: voice swap, dubbing, anonymization
| name | elevenlabs-sound-effects |
| description | Generate sound effects from description. Use for: SFX, game audio, video soundscape |
| allowed-tools | Bash(curl *) |
| disable-model-invocation | true |
Generate sound effects audio from a text description using ElevenLabs sound-generation API.
Ask the user for:
Then run the following steps:
Step 1 — Check API key:
(bash) 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
TEXT="[USER_DESCRIPTION_HERE]" DURATION="${DURATION:-5.0}" PROMPT_INFLUENCE="${PROMPT_INFLUENCE:-0.3}" OUTPUT_FILE="${OUTPUT_FILE:-$HOME/Downloads/sfx_$(date +%Y%m%d_%H%M%S).mp3}" (end bash)
Step 2 — Generate sound effect:
(bash)
curl -f -s
-X POST "https://api.elevenlabs.io/v1/sound-generation"
-H "xi-api-key: $ELEVENLABS_API_KEY"
-H "Content-Type: application/json"
-d "{"text": "${TEXT}", "duration_seconds": ${DURATION}, "prompt_influence": ${PROMPT_INFLUENCE}}"
--output "$OUTPUT_FILE"
if [ $? -ne 0 ]; then echo "ERROR: ElevenLabs Sound Effects 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: Audio file is empty. Possible causes:" echo " - Text description too vague or too short" echo " - duration_seconds out of range (must be 1.0-22.0)" echo " - API returned error without proper HTTP status code" rm -f "$OUTPUT_FILE" exit 1 fi
echo "Sound effect generated successfully: $OUTPUT_FILE" echo "Duration: ${DURATION}s | Prompt influence: ${PROMPT_INFLUENCE}" (end bash)
Report to the user: