Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

characterai_tts-0.1.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

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

Hashes for characterai_tts-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c52606c93302b9ba862951f2aac8b31c118bcbcfa1d0c7c93be3a2862958c0a9
MD5 f9a9d8d3400fb04780f02b826a37b12d
BLAKE2b-256 d2765c91224430756f95b124eefcec29320a8e3b29b14c7ee13a78f11cd4332a

See more details on using hashes here.

File details

Details for the file characterai_tts-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for characterai_tts-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e4d3e4118bd26191c895484df5c26b4e886ff2eb6114a28d7b6f6d88954bbaf9
MD5 39465a6424b3acb1f6c9b755da0e7312
BLAKE2b-256 10c5298860289f65150004be5a0d574a1efb641d07c28471293967ca0d5775db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page