Uses Character AI for synthesis.
Project description
# CharacterAI TTS
**CharacterAI TTS - A library for synthesizing text-to-speech character.ai**
---
## 🚀 What's New
### v0.1.3
- ✅ **Increased character limit from 2048 to 4096 characters per request!**
- ⚠️ Long texts may take more time depending on CharacterAI server load.
### v0.1.2
- ℹ️ Maximum character limit was **2048 characters**.
---
## 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](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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
characterai_tts-0.1.3.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file characterai_tts-0.1.3.tar.gz.
File metadata
- Download URL: characterai_tts-0.1.3.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c52606c93302b9ba862951f2aac8b31c118bcbcfa1d0c7c93be3a2862958c0a9
|
|
| MD5 |
f9a9d8d3400fb04780f02b826a37b12d
|
|
| BLAKE2b-256 |
d2765c91224430756f95b124eefcec29320a8e3b29b14c7ee13a78f11cd4332a
|
File details
Details for the file characterai_tts-0.1.3-py3-none-any.whl.
File metadata
- Download URL: characterai_tts-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4d3e4118bd26191c895484df5c26b4e886ff2eb6114a28d7b6f6d88954bbaf9
|
|
| MD5 |
39465a6424b3acb1f6c9b755da0e7312
|
|
| BLAKE2b-256 |
10c5298860289f65150004be5a0d574a1efb641d07c28471293967ca0d5775db
|