Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 760 Bytes

File metadata and controls

39 lines (25 loc) · 760 Bytes

LMNT Python SDK

PyPI version

The LMNT Python SDK provides convenient access to the LMNT API from Python applications.

Documentation

Full documentation is available at docs.lmnt.com/api/sdks/python.

Installation

pip install lmnt

Getting started

import os
from lmnt import Lmnt

client = Lmnt(
    api_key=os.environ.get("LMNT_API_KEY"),  # This is the default and can be omitted
)

response = client.speech.generate(
    text="hello world.",
    voice="leah",
)

Requirements

Python 3.10 or higher.

Contributing

See the contributing documentation.