Daisys API
This library wraps the Daisys API for text-to-speech and voice generation services.
Have your product talking in seconds!
from daisys import DaisysAPI
from daisys.v1.speak import SimpleProsody
with DaisysAPI('speak', email='user@example.com', password='pw') as speak:
voice = speak.get_voices()[-1]
print(f"{voice.name} speaking!")
take = speak.generate_take(voice_id=voice.voice_id, text="Hello there, I am Daisys!",
prosody=SimpleProsody(pace=-3, pitch=2, expression=10))
audio_wav = speak.get_take_audio(take.take_id, filename='hello_daisys.wav')
This library uses pydantic and httpx as the main dependencies, with
httpx-ws optional if Python-side websocket support is needed. It can be
used with or without asyncio.
Please visit the online documentation for information on how to use the Daisys API from Python, or from any language using the documented REST endpoints.
A product of Daisys AI.
The software is licensed with the MIT license, as detailed in LICENSE.
Metadata
Release files for daisys 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| daisys-1.1.0.tar.gz | 29.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| daisys-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.8 kB
Release files / daisys-1.1.0.tar.gz
| Download URL | daisys-1.1.0.tar.gz |
|---|---|
| Size | 29.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c869db6ce3796533d420e8dc0cdb75f66a145d525d55604af4aba20e5d4fc09a
|
|
BLAKE2b-256 checksum How to use checksums |
25137fd6a79a439061ad2ec093387281fc71280e31391929e2fb6d932bd9731d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / daisys-1.1.0-py3-none-any.whl
| Download URL | daisys-1.1.0-py3-none-any.whl |
|---|---|
| Size | 34.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1b3245ed19247bdf2a964d1f301bdea2664cf9974a7e8952601f92bff05c441
|
|
BLAKE2b-256 checksum How to use checksums |
ac5daed41e7983c3eb86e223ca396796d62767e1623b335de22c8a3da994b44b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|