---
title: "Clone Voice"
method: POST
path: "/voices"
---

# Clone Voice

`POST /voices`

## Request

- Base URL: `https://api.neuphonic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.neuphonic.com/voices`
- Auth: none declared

Handles the POST operation for voice cloning via the router.

This function processes a request to clone a voice using the provided parameters,
including the voice name, tags, and an audio file containing the voice sample.

Args:
    voice_name (str): The desired name for the cloned voice.
    voice_tags (list of str): A list of tags associated with the voice for categorization or metadata.
    voice_file (UploadFile): An uploaded file containing the audio data of the voice to be cloned.

Returns:
    dict: A JSON-compatible dictionary with a message indicating whether the user
        has been successfully added or if the operation encountered an issue.

## Query parameters

- `voice_name` string, required
- `voice_tags` string
- `lang_code` string
- `api_key` string, nullable
- `jwt_token` string, nullable

## Headers

- `X-API-KEY` string, nullable
- `authorization` string, nullable

## Request body `multipart/form-data`

- BodyCloneVoiceVoicesPost
  - `voice_file` string, binary, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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