Text to speech classes
tts.tts_xtts.Mouth_xtts
Mouth_xtts(model_id='tts_models/en/jenny/jenny', device='cpu', player=sd, speaker=None, wait=True, logger=None)
Bases: BaseMouth
Methods:
Name | Description |
---|---|
run_tts |
|
Attributes:
Name | Type | Description |
---|---|---|
model |
|
|
device |
|
|
speaker |
|
Source code in openvoicechat/tts/tts_xtts.py
tts.tts_elevenlabs.Mouth_elevenlabs
Mouth_elevenlabs(model_id='eleven_turbo_v2', voice_id='IKne3meq5aSn9XLyUdCD', api_key='', player=sd, wait=True, logger=None)
Bases: BaseMouth
Methods:
Name | Description |
---|---|
run_tts |
|
Attributes:
Name | Type | Description |
---|---|---|
model_id |
|
|
voice_id |
|
|
api_key |
|
Source code in openvoicechat/tts/tts_elevenlabs.py
run_tts
Source code in openvoicechat/tts/tts_elevenlabs.py
tts.tts_hf.Mouth_hf
Mouth_hf(model_id='kakao-enterprise/vits-vctk', device='cpu', forward_params={'speaker_id': 10}, player=sd, wait=True, logger=None)
Bases: BaseMouth
Methods:
Name | Description |
---|---|
run_tts |
|
Attributes:
Name | Type | Description |
---|---|---|
pipe |
|
|
device |
|
|
forward_params |
|
Source code in openvoicechat/tts/tts_hf.py
run_tts
Source code in openvoicechat/tts/tts_hf.py
tts.tts_piper.Mouth_piper
Mouth_piper(device='cpu', model_path='models/en_US-ryan-high.onnx', config_path='models/en_en_US_ryan_high_en_US-ryan-high.onnx.json', player=sd, wait=True, logger=None)
Bases: BaseMouth
Methods:
Name | Description |
---|---|
run_tts |
|
Attributes:
Name | Type | Description |
---|---|---|
model |
|