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

# Voice Changer

> Convert voice in audio with ElevenLabs

Convert the voice in an audio file to a target ElevenLabs voice using speech-to-speech technology.

## Model

```
elevenlabs/voice-changer
```

## Parameters

| Parameter                 | Type    | Required | Default                      | Description                                                       |
| ------------------------- | ------- | -------- | ---------------------------- | ----------------------------------------------------------------- |
| `audio_url`               | string  | Yes      | -                            | URL of the source audio file to convert                           |
| `voice_id`                | string  | Yes      | -                            | Target [ElevenLabs voice ID](/api-reference/resources#elevenlabs) |
| `model_id`                | string  | No       | `eleven_multilingual_sts_v2` | ElevenLabs speech-to-speech model ID                              |
| `output_format`           | string  | No       | -                            | Audio output format (e.g. `mp3_44100_128`)                        |
| `file_format`             | string  | No       | -                            | Input audio format hint: `pcm_s16le_16` or `other`                |
| `remove_background_noise` | boolean | No       | -                            | Strip background noise from input audio before conversion         |
| `seed`                    | integer | No       | -                            | Random seed for reproducible generation (0–4294967295)            |
| `voice_settings`          | object  | No       | -                            | Advanced voice configuration overrides (see below)                |

### voice\_settings

| Field               | Type    | Description                                |
| ------------------- | ------- | ------------------------------------------ |
| `stability`         | number  | 0–1. Voice stability                       |
| `similarity_boost`  | number  | 0–1. How closely to match the target voice |
| `style`             | number  | 0–1. Style exaggeration                    |
| `speed`             | number  | Speech speed multiplier                    |
| `use_speaker_boost` | boolean | Boost speaker clarity                      |

## Resources

Get available voices from the [Resources API](/api-reference/resources):

```
GET /v1/resources/elevenlabs/voices
```

## Example

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "elevenlabs/voice-changer",
    "input": {
      "audio_url": "https://example.com/source-audio.mp3",
      "voice_id": "TX3LPaxmHKxFdv7VOQHJ",
      "model_id": "eleven_multilingual_sts_v2",
      "output_format": "mp3_44100_128",
      "remove_background_noise": true,
      "seed": 42,
      "voice_settings": {
        "stability": 0.5,
        "similarity_boost": 0.75,
        "style": 0.5,
        "speed": 1.0,
        "use_speaker_boost": true
      }
    }
  }'
```

## Response

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}
```

## Completed Response

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "completed",
    "output": {
      "audio_url": "https://files.unifically.com/audio/abc123.mp3"
    }
  }
}
```
