Skip to main content

Uses Character AI for synthesis.

Project description

CharacterAI TTS

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

Installation

# 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

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 for enabling TTS with Character AI voices.And special thanks to 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.2.tar.gz (5.6 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.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file characterai_tts-0.1.2.tar.gz.

File metadata

  • Download URL: characterai_tts-0.1.2.tar.gz
  • Upload date:
  • Size: 5.6 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.2.tar.gz
Algorithm Hash digest
SHA256 63808b508ec887a710952c5151c240492b7f4acece2d33565eb30be93bdf9097
MD5 539fe000f8314e57cf408151a4da8614
BLAKE2b-256 e2f321aad7c9c80d5354340adfaaa53d17383fc990f0e2625434c37db73bba13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for characterai_tts-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b5c57c3146913cacf0700c7471a828579952886ffdeb2672bfbafd1748df3e1
MD5 6074eb390ed9b19c28ffb824f46a18dc
BLAKE2b-256 a4a606fadc9199711b0e653a1dc8ba881e2d38f8bb1b24f46d4d333806b3ab66

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