POST
/
v1
/
audio-isolation
/
stream
from elevenlabs.client import ElevenLabs
from elevenlabs import stream
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_stream(audio=audio_data)

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

Pricing

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

from elevenlabs.client import ElevenLabs
from elevenlabs import stream
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_stream(audio=audio_data)

stream(audio_stream)

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

Response

200
audio/mpeg

Successful Response

The response is of type file.