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

# Clone Voice

`POST /voices`

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

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/neuphonic/apis/fastapi.md) · [All operations](https://skmtc.dev/neuphonic/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/neuphonic/fastapi/revisions/137e07c33577/schema)
