v1
latestOpenAPI 3.1.02026-07-1312416.2 KBClone 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
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
{"stackTrail":"paths:/voices:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}