{"id":8641,"plugin_id":"plugin_asdk_app_6a8d784b60cc81919aeafbfaeda5fbcf","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T22:53:13.065Z","digest":"024bf17fc278b1d5966c819c72120794e25c74714c8ddcaa9dde1a9ed6ece31e","against":null,"payload":{"name":"sound-effects","description":"Generate sound effects from text descriptions using ElevenLabs. Use when creating sound effects, generating audio textures, producing ambient sounds, cinematic impacts, UI sounds, or any audio that isn't speech. Supports looping, duration control, and prompt influence tuning.","included_files":[{"relative_path":"references/installation.md","size_in_bytes":2004}],"skill_md_contents":"---\nname: sound-effects\ndescription: Generate sound effects from text descriptions using ElevenLabs. Use when creating sound effects, generating audio textures, producing ambient sounds, cinematic impacts, UI sounds, or any audio that isn't speech. Supports looping, duration control, and prompt influence tuning.\nlicense: MIT\ncompatibility: Requires internet access and an ElevenLabs API key (ELEVENLABS_API_KEY).\nmetadata: {\"openclaw\": {\"requires\": {\"env\": [\"ELEVENLABS_API_KEY\"]}, \"primaryEnv\": \"ELEVENLABS_API_KEY\"}}\n---\n\n# ElevenLabs Sound Effects\n\nGenerate sound effects from text descriptions — supports looping, custom duration, and prompt adherence control.\n\n> **Setup:** See [Installation Guide](references/installation.md). For JavaScript, use `@elevenlabs/*` packages only.\n\n## Quick Start\n\n### Python\n\n```python\nfrom elevenlabs import ElevenLabs\n\nclient = ElevenLabs()\n\naudio = client.text_to_sound_effects.convert(\n    text=\"Thunder rumbling in the distance with light rain\",\n)\n\nwith open(\"thunder.mp3\", \"wb\") as f:\n    for chunk in audio:\n        f.write(chunk)\n```\n\n### JavaScript\n\n```javascript\nimport { ElevenLabsClient } from \"@elevenlabs/elevenlabs-js\";\nimport { createWriteStream } from \"fs\";\n\nconst client = new ElevenLabsClient();\nconst audio = await client.textToSoundEffects.convert({\n  text: \"Thunder rumbling in the distance with light rain\",\n});\naudio.pipe(createWriteStream(\"thunder.mp3\"));\n```\n\n### CLI\n\n```bash\nelevenlabs text-to-sound-effects convert \\\n  --text \"Thunder rumbling in the distance with light rain\" \\\n  --output thunder.mp3\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `text` | string (required) | — | Description of the desired sound effect |\n| `model_id` | string | `eleven_text_to_sound_v2` | Model to use |\n| `duration_seconds` | number \\| null | null (auto) | Duration 0.5–30s; auto-calculated if null |\n| `prompt_influence` | number \\| null | 0.3 | How closely to follow the prompt (0–1) |\n| `loop` | boolean | false | Generate a seamlessly looping sound (v2 model only) |\n\n## Examples with Parameters\n\n```python\n# Looping ambient sound, 10 seconds\naudio = client.text_to_sound_effects.convert(\n    text=\"Gentle forest ambiance with birds chirping\",\n    duration_seconds=10.0,\n    prompt_influence=0.5,\n    loop=True,\n)\n\n# Short UI sound, high prompt adherence\naudio = client.text_to_sound_effects.convert(\n    text=\"Soft notification chime\",\n    duration_seconds=1.0,\n    prompt_influence=0.8,\n)\n```\n\n## Output Formats\n\nPass `--output-format` (CLI) or `output_format` as an SDK parameter:\n\n| Format | Description |\n|--------|-------------|\n| `mp3_44100_128` | MP3 44.1kHz 128kbps (default) |\n| `pcm_44100` | Raw uncompressed CD quality |\n| `opus_48000_128` | Opus 48kHz 128kbps — efficient compressed |\n| `ulaw_8000` | μ-law 8kHz — telephony |\n\nFull list: `mp3_22050_32`, `mp3_24000_48`, `mp3_44100_32`, `mp3_44100_64`, `mp3_44100_96`, `mp3_44100_128`, `mp3_44100_192`, `pcm_8000`, `pcm_16000`, `pcm_22050`, `pcm_24000`, `pcm_32000`, `pcm_44100`, `pcm_48000`, `ulaw_8000`, `alaw_8000`, `opus_48000_32`, `opus_48000_64`, `opus_48000_96`, `opus_48000_128`, `opus_48000_192`.\n\n## Prompt Tips\n\n- Be specific: \"Heavy rain on a tin roof\" > \"Rain\"\n- Combine elements: \"Footsteps on gravel with distant traffic\"\n- Specify style: \"Cinematic braam, horror\" or \"8-bit retro jump sound\"\n- Mention mood/context: \"Eerie wind howling through an abandoned building\"\n\n## Error Handling\n\n```python\ntry:\n    audio = client.text_to_sound_effects.convert(text=\"Explosion\")\nexcept Exception as e:\n    print(f\"API error: {e}\")\n```\n\nCommon errors:\n- **401**: Invalid API key\n- **422**: Invalid parameters (check duration range, prompt_influence range)\n- **429**: Rate limit exceeded\n\n## References\n\n- [Installation Guide](references/installation.md)\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}