Clone Voice

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.

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

Query parameters

voice_namestring required
voice_tagsstring
lang_codestring
api_keystring nullable
jwt_tokenstring nullable

Headers

X-API-KEYstring nullable
authorizationstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 6 revisions of this API.