Metadata-Version: 2.4
Name: daisys
Version: 1.1.0
Summary: Python SDK for daisys.ai
Author-email: "daisys.ai" <api@daisys.ai>
License: MIT
Project-URL: Homepage, https://github.com/daisys-ai/daisys-api-python
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2
Requires-Dist: httpx>=0.28.1
Provides-Extra: ws
Requires-Dist: httpx-ws>=0.7.1; extra == "ws"
Provides-Extra: dev
Requires-Dist: sphinx>=7.0.0; extra == "dev"
Requires-Dist: furo; extra == "dev"
Requires-Dist: sphinxcontrib-napoleon; extra == "dev"
Dynamic: license-file

# Daisys API

This library wraps the Daisys API for text-to-speech and voice generation services.

Have your product talking in seconds!


```python
    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](https://daisys-ai.github.io/daisys-api-python/)
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](https://daisys.ai).

The software is licensed with the MIT license, as detailed in LICENSE.
