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.
Before you begin, ensure you have the following:
Set your API key as an environment variable.
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.
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!