In this tutorial, you will learn how to use the Smallest AI platform to create a voice by uploading an audio file. By the end of this tutorial, you will be able to clone your voice using our API.
You can access the source code for the Python SDK on our GitHub repository.
Before you begin, ensure you have the following:
Set your API key as an environment variable.
The Smallest AI SDK allows you to clone your voice by uploading an audio file. This feature is available both synchronously and asynchronously, making it flexible for different use cases. Below are examples of how to use this functionality.
api_key
: Your API key (can be set via SMALLEST_API_KEY environment variable).display_name
: Name of the voice to be created.file_path
: Path to the audio file to be cloned.These parameters are part of the add_voice function. They can be set when calling the function as shown above.
Once you have cloned your voices, you can retrieve a list of all cloned voices associated with your account using the following code:
If you have any questions or run into any issues, our community is here to help!
In this tutorial, you will learn how to use the Smallest AI platform to create a voice by uploading an audio file. By the end of this tutorial, you will be able to clone your voice using our API.
You can access the source code for the Python SDK on our GitHub repository.
Before you begin, ensure you have the following:
Set your API key as an environment variable.
The Smallest AI SDK allows you to clone your voice by uploading an audio file. This feature is available both synchronously and asynchronously, making it flexible for different use cases. Below are examples of how to use this functionality.
api_key
: Your API key (can be set via SMALLEST_API_KEY environment variable).display_name
: Name of the voice to be created.file_path
: Path to the audio file to be cloned.These parameters are part of the add_voice function. They can be set when calling the function as shown above.
Once you have cloned your voices, you can retrieve a list of all cloned voices associated with your account using the following code:
If you have any questions or run into any issues, our community is here to help!