Metadata-Version: 2.4
Name: characterai-tts
Version: 0.1.2
Summary: Uses Character AI for synthesis.
Home-page: https://github.com/dauitsuragan002/characterai-tts
Author: David Suragan
Author-email: dauitsuragan002@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PyCharacterAI>=0.2.0
Requires-Dist: requests>=2.20.0
Requires-Dist: python-dotenv>=0.10.0
Provides-Extra: audio
Requires-Dist: pygame>=2.0.0; extra == "audio"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# CharacterAI TTS

**CharacterAI TTS - A library for synthesizing text-to-speech character.ai**



## Installation



```bash

# Via pip (in the future)

pip install characterai-tts

# For audio playback (optional):

pip install -e .[audio]

```



## Documentation



See the full documentation and usage instructions here:  

https://github.com/dauitsuragan002/characterai-tts#readme



### The simplest usage



```python

from characterai_tts import TTS



# Create a client (default voice – your_voice_id)

client = TTS(api_token="CHARACTER_AI_TOKEN", voice="your_voice_id")



# Speak with the default voice and save to file

client.say("This is an example created with this class")

```



Note: Sometimes CharacterTTS may not synthesize your expected text. This issue is being worked on.



Special thanks to [PyCharacterAI](https://github.com/Xtr4F/PyCharacterAI) for enabling TTS with Character AI voices.And special thanks to [CharacterAI](https://github.com/kramcat/CharacterAI) for the authentication script.



## Authors

- David Suragan (CharacterTTS)

- Gemini AI



## License

MIT
