Generate one sound effect with ElevenLabs (spends credits)
audio_generate_soundGenerate a sound effect or ambience from a prompt, save the original response and a PCM16 WAV, and inspect the result; requires your own ElevenLabs API key.
Instructions
SPENDS PROVIDER CREDITS. Generate one sound effect or ambience from a prompt using the user's own ELEVENLABS_API_KEY, save the original response and a PCM16 WAV, and inspect the result automatically. Requires that key in the server environment; without it this tool fails and you should tell the user to set their own. Describe source, action, material, distance and timing in the prompt. Generate once, inspect, revise the specific property that failed, then explicitly generate again — never loop. Reusing a requestId returns the saved result instead of charging again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"requestId": "<requestId>",
"prompt": "<prompt>"
},
"name": "audio_generate_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | ||
| prompt | Yes | ||
| requestId | Yes | A UUID you choose. Reusing it returns the saved result instead of generating and charging again. | |
| inspection | No | ||
| durationSeconds | No | ||
| promptInfluence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| wavPath | Yes | ||
| provider | Yes | ||
| replayed | Yes | ||
| requestId | Yes | ||
| wavSha256 | Yes | ||
| generation | Yes | ||
| inspection | Yes | ||
| sourcePath | Yes | ||
| generatedAt | Yes | ||
| receiptPath | Yes | ||
| billingUnits | No | ||
| sourceSha256 | Yes | ||
| wavSizeBytes | Yes | ||
| commercialUse | Yes | ||
| sourceSizeBytes | Yes | ||
| providerTermsUrl | Yes | ||
| normalizedRequest | Yes | ||
| providerRequestId | No |