Skip to main content
POST
POST /v1/audio/isolation removes background noise, music, and ambience from a recording and returns the isolated voice as an MP3 file in the response body. The recording must be at least 4.6 seconds long.
string
required
Set to eleven-voice-isolator.
file
The recording, in a multipart field named file, up to 50 MB. Send file or audio_url, not both.
string
Public http or https URL of the recording. The gateway downloads it, up to 50 MB. Send audio_url or file, not both.
This endpoint takes no other fields. In a multipart upload, send one model field and one file in file. The gateway accepts WAV, AIFF, MP3, AAC, MP4, M4A, MOV, FLAC, Ogg, and WebM files whose length can be read.
The provider rejects recordings shorter than 4.6 seconds, so the gateway returns audio_too_short for them before any balance is reserved.

Response

A successful request returns HTTP 200 with MP3 audio as the body (Content-Type: audio/mpeg). The response carries x-gateway-execution-id.

Billing

The gateway bills the measured length of the input at $0.003 per second, rounded up to whole seconds after a 0.1-second allowance. A 10-second clip costs $0.03; a one-hour recording costs $10.80. Failed requests aren’t charged. This endpoint rejects Idempotency-Key; if a request times out, check your Console request logs before you retry.

Errors

See Errors for rate limits and provider failures.