> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snapgen.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Eleven Voice Isolator

> Remove background noise and music from a recording and keep the voice. $0.18 per minute.

`eleven-voice-isolator` removes background noise and music from a recording and returns the isolated voice as MP3.

| Property | Value |
| - | - |
| Model ID | `eleven-voice-isolator` |
| Endpoint | `POST /v1/audio/isolation` (multipart file or JSON `audio_url`) |
| Output | Audio bytes: MP3 |
| Limits | Input from 4.6 to 3,600 seconds, up to 50 MB |
| Billed on | Input length measured by SnapGen, in whole seconds |
| Price | \$0.003 per second (\$0.18 per minute, 0.3 credits per second) |

Confirm live rates on the [SnapGen models page](https://snapgen.org/models). Failed requests are not charged.

<ParamField body="model" type="string" required>
  Set to `eleven-voice-isolator`.
</ParamField>

<ParamField body="file" type="file">
  The audio file, sent as `multipart/form-data`, up to 50 MB. Send `file` or `audio_url`, not both.
</ParamField>

<ParamField body="audio_url" type="string">
  Public `http` or `https` URL of the audio. The gateway downloads it (up to 50 MB). Send `audio_url` or `file`, not both.
</ParamField>

## Request

Upload a local file as `multipart/form-data`:

```bash theme={null}
curl https://api.snapgen.org/v1/audio/isolation \
  -H "Authorization: Bearer $SNAPGEN_API_KEY" \
  -F model=eleven-voice-isolator \
  -F file=@noisy-vlog.mp3 \
  --output voice.mp3
```

Or send JSON with a public `audio_url`:

```bash theme={null}
curl https://api.snapgen.org/v1/audio/isolation \
  -H "Authorization: Bearer $SNAPGEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "eleven-voice-isolator",
    "audio_url": "https://example.com/noisy-vlog.mp3"
  }' \
  --output voice.mp3
```

The response body is the audio file (`audio/mpeg`).

## Price examples

| Length | Price |
| - | - |
| 10 seconds | \$0.03 |
| 1 minute | \$0.18 |
| 1 hour | \$10.80 |

<Note>
  Synchronous audio endpoints reject `Idempotency-Key`. If a request times out, check your Console request logs before you retry.
  See [Voice isolation](/api-reference/audio-isolation) for every field, the response, and errors.
</Note>
