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

# POST: Create a New Voice Conversion Job

> Create a job to convert one voice to another with the Kits API.

Creates a voice conversion [inference job](https://docs.kits.ai/api-reference/types-limits/inference-job.md) and adds it to the inference queue. All requests must be made as multipart form requests. The response will contain the job status.

### Headers

**Authorization**\* `String`

Bearer `<api-key>`

### Request Body

**voiceModelId**\* `Number`

ID of the voice model.

**soundFile**\* `String`

Supports wav, mp3, or flac. Max file size is 100MB.

**conversionStrength** `Number`

Increases the amount of accent from the Voice Model. This may cause mispronunciation. Range from 0 to 1.

**modelVolumeMix** `Number`

Increase to convert the volume of your input audio to the volume of the AI model. Decrease to hear dynamics from the input audio. High values may accentuate noise. Range from 0 to 1.

**pitchShift** `Number`

The number of semitones to shift the input audio. Range from -24 to 24.

**pre** `Object`

[Preprocessing effects](https://docs.kits.ai/api-reference/types-limits/pre-processing-effects.md) run on the input file before the conversion is processed.

**post** `Object`

[Postprocessing effects](https://docs.kits.ai/api-reference/types-limits/post-processing-effects.md) run on the output file after the conversion is processed.

### Response

[Inference Job](https://docs.kits.ai/api-reference/types-limits/inference-job.md)

```bash cURL theme={null}
curl -X POST https://arpeggi.io/api/kits/v1/voice-conversions \
-H "Authorization: Bearer your_api_key" \
-F "voiceModelId=voice_model_id" \
-F "soundFile=@file_path"
```

```python Python theme={null}
url = "https://arpeggi.io/api/kits/v1/voice-conversions"
data = { 'voiceModelId': voice_model_id }
files = { 'soundFile': open(file_path, 'rb') }
headers = { 'Authorization': f'Bearer {your_api_key}' }

response = requests.post(url, data=data, files=files, headers=headers)
vocal_conversion_job = response.json()
```

```javascript JavaScript theme={null}
const url = 'https://arpeggi.io/api/kits/v1/voice-conversions'
const data = {
  voiceModelId: voice_model_id,
  soundFile: fs.createReadStream(file_path)
}
const headers = { Authorization: `Bearer ${your_api_key}` }

const response = await axios.postForm(url, data, { headers })
const vocalConversionJob = response.data
```

```json 201: Created theme={null}
{
  "id": 1,
  "createdAt": "2023-09-19 20:13:50.428000 +00:00",
  "type": "infer",
  "voiceModelId": 2,
  "status": "running",
  "jobStartTime": "2023-09-19 20:15:50.428000 +00:00",
  "jobEndTime": null
}
```

```bash 401: Unauthorized theme={null}
Authentication was not provided or was invalid.
```

```bash 422: Unprocessable Entity theme={null}
Request body is invalid.
```

```bash 429: Too many requests theme={null}
Rate limit exceeded.
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.