Delete a Voice Clone
Delete a previously created voice clone via the Python SDK.
You can access the source code for the Python SDK on our GitHub repository.
The smallestai Python SDK is being updated. If the SDK example below doesn’t work, call the underlying delete-voice REST endpoint directly (see the API reference under Waves → API Reference). Streaming synthesis via WavesStreamingTTS is unaffected.
Requirements
Before you begin, ensure you have the following:
- Python (3.9 or higher) installed on your machine.
- An API key from the Smallest AI platform.
Setup
Install our SDK
Set your API key as an environment variable.
Delete your Voice
The Smallest AI SDK allows you to delete your cloned voice. This feature is available both synchronously and asynchronously, making it flexible for different use cases. Below are examples of how to use this functionality.
Synchronously
Asynchronously
Parameters
api_key: Your API key (can be set via SMALLEST_API_KEY environment variable).voice_id: Unique Voice ID of the voice to be deleted.
If you have any questions or run into any issues, our community is here to help!
- Join our Discord server to connect with other developers and get real-time support.
- Reach out to our team via email: support@smallest.ai.

