Pre-requisites

  • Python 3.6 or higher
The SDK may not install with Python 3.12. This is due to an issue with one of our dependency packages, aiohttp. Follow the issue here. Use a different Python version if needed.

Installation

To install the latest version, enter the following command:

pip install -U lmnt

Authentication

You will need an API key to use our SDKs; get it from your account page.

Quick Start

To start synthesizing speech right away, check out our general Getting Started guide. There you’ll see how to set up your environment and run through some sample code examples for text-to-speech and streaming.

Want to see the code?

Go to our Python SDK Github repository