---
title: "Process Inference"
method: POST
path: "/v1/convert-voice"
---

# Process Inference

`POST /v1/convert-voice`

## Request

- Base URL: `https://api.musicfy.lol` (the document declares no server; this is the origin it was published from)
- URL: `https://api.musicfy.lol/v1/convert-voice`
- Auth: none declared

Run inference

Args:
    request (Request): _description_
    voice_id (str): _description_
    file (UploadFile): _description_
    file_url (str): _description_
    isolate_vocals (bool, optional): _description_. Defaults to False.
    pitch_shift (float, optional): _description_. Defaults to 0.
    formant_shift (float, optional): _description_. Defaults to 1.

Returns:
    _type_: _description_

## Request body `multipart/form-data`

- BodyProcessInferenceV1ConvertVoicePost
  - `voice_id` string, required
  - `file_url` string
  - `isolate_vocals` boolean
  - `pitch_shift` integer
  - `formant_shift` number
  - `background_pitch_shift` integer
  - `background_formant_shift` number
  - `mode` string
  - `index_rate` number
  - `loudness_normalize` boolean
  - `clean_audio` boolean
  - `clean_strength` number
  - `file` string, binary

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/musicfy/apis/musicfy-api.md) - [All operations](https://skmtc.dev/musicfy/apis/musicfy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/musicfy/apis/musicfy-api/revisions/ca15b8d8aaeb?raw)
