Official Python SDK
Murf’s official python SDK is now available on PyPi. You can install it using pip:
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:
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:
1 from murf import Murf 2 3 client = Murf( 4 api_key="YOUR_API_KEY" # Not required if you have set the MURF_API_KEY environment variable 5 ) 6 7 res = client.text_to_speech.generate( 8 text="There is much to be said", 9 voice_id="en-US-terrell", 10 )