POST
/
v1
/
audio-isolation
from elevenlabs.client import ElevenLabs
from elevenlabs import play
import requests
from io import BytesIO

client = ElevenLabs()

audio_url = "https://storage.googleapis.com/eleven-public-cdn/audio/marketing/fin.mp3"
response = requests.get(audio_url)
audio_data = BytesIO(response.content)

audio_stream = client.audio_isolation.audio_isolation(audio=audio_data)

play(audio_stream)
This response does not have an example.

Pricing

The API is charged at 1000 characters per minute of audio.

Headers

xi-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Body

multipart/form-data
audio
file
required

The audio file from which vocals/speech will be isolated from.

Response

200
audio/mpeg
Successful Response

The response is of type file.