voice_clone
Create a custom voice clone using audio files for text-to-speech applications. Provide an audio sample and text to generate a personalized voice model.
Instructions
Clone a voice using provided audio files. The new voice will be charged upon first use.
COST WARNING: This tool makes an API call to Minimax which may incur costs. Only use when explicitly requested by the user.
Args:
voice_id (str): The id of the voice to use.
file (str): The path to the audio file to clone or a URL to the audio file.
text (str, optional): The text to use for the demo audio.
is_url (bool, optional): Whether the file is a URL. Defaults to False.
output_directory (str): The directory to save the demo audio to.
Returns:
Text content with the voice id of the cloned voice.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice_id | Yes | ||
| file | Yes | ||
| text | Yes | ||
| output_directory | No | ||
| is_url | No |