Daisys API documentation¶
This is the documentation for the public wrapper library for the Daisys API. The main product is “Speak”, which provides text-to-speech (TTS) services.
Have your product talking in seconds!
Building with an LLM? Give it this single-file text version of these docs.
Example¶
1from daisys import DaisysAPI
2from daisys.v1.speak import SimpleProsody
3
4with DaisysAPI('speak', email='user@example.com', password='pw') as speak:
5 voice = await speak.get_voices()[-1]
6 print(f"{voice.name} speaking!")
7 take = speak.generate_take(voice_id=voice.voice_id, text="Hello there, I am Daisys!",
8 prosody=SimpleProsody(pace=-3, pitch=2, expression=10))
9 audio_wav = speak.get_take_audio(take.take_id, filename='hello_daisys.wav')