audio_isolation
Isolate vocals or speech from an audio file. Returns audio/mpeg bytes; use output_path to save them.
Instructions
Audio Isolation Spends ElevenLabs credits. Returns audio/mpeg bytes; pass output_path to save them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_path | No | The audio file from which vocals/speech will be isolated from. Local path. Required for this call. | |
| file_format | No | The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform. | |
| output_path | No | Where to write the returned bytes. Relative paths resolve against ELEVENLABS_OUTPUT_DIR. Omit it to get the data inline as base64 (small files only). | |
| preview_b64 | No | Optional preview image base64 for tracking this generation. | |
| audio_base64 | No | Base64 contents for "audio". Use this when the server cannot read your local disk. | |
| audio_filename | No | Filename to send for "audio". Some endpoints infer the audio format from it. |