Murf’s official python SDK is now available on PyPi. You can install it using pip:
$pip install murf
The SDK provides a simple interface to interact with Murf’s APIs. Here’s an example of how you can use the SDK to generate speech:
1from murf import Murf23client = Murf(4 api_key="YOUR_API_KEY" # Not required if you have set the MURF_API_KEY environment variable5)67res = client.text_to_speech.generate(8 text="There is much to be said",9 voice_id="terrell",10)