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"
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()
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
{
"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
}
Authentication was not provided or was invalid.
Request body is invalid.
Rate limit exceeded.
Voice Conversion API
POST: Create a New Voice Conversion Job
Create a job to convert one voice to another with the Kits API.
POST
/
api
/
kits
/
v1
/
voice-conversions
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"
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()
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
{
"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
}
Authentication was not provided or was invalid.
Request body is invalid.
Rate limit exceeded.
Creates a voice conversion inference job and adds it to the inference queue. All requests must be made as multipart form requests. The response will contain the job status.
Headers
Request Body
Increases the amount of accent from the Voice Model. This may cause mispronunciation. Range from 0 to 1.
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.
Preprocessing effects run on the input file before the conversion is processed.
Postprocessing effects run on the output file after the conversion is processed.
Response
Inference Jobcurl -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"
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()
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
{
"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
}
Authentication was not provided or was invalid.
Request body is invalid.
Rate limit exceeded.
