Youtube Autonomous FastAPI Docker TTS PiperTTS Module
Project description
Youtube Autonomous FastAPI Docker TTS PiperTTS Module
The module that is providing the functionality related to generating audio narrations (TTS) through a FastAPI that is included and isolated in a Docker container but exposed to the internal and general FastAPI.
You need to set the VOICES_DIR environment variable to define the folder in which the voices must be placed (or automatically downloaded if missing when requested).
This engine needs the voices to be downloaded and loaded manually. Each voice needs 2 files, like this one:
es_ES-sharvard-medium.onnxes_ES-sharvard-medium.onnx.json
Endpoints
GET
/tts/pipertts/voices- To get the list of the voices you can use.
POST
/tts/pipertts/narrate- To narrate a text with a specific voice. Please, check all the possible values you can use for this specific engine. The fields we accept:
text- The text you want to narratelanguage- The language you want to use in the narrationvoice_name- The name of the voice you want to usepitch- The pitch you want to usespeed- The speed you want to useemotion- The emotion you want to use
- To narrate a text with a specific voice. Please, check all the possible values you can use for this specific engine. The fields we accept:
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
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 yta_fastapi_docker_tts_pipertts-0.0.1.tar.gz.
File metadata
- Download URL: yta_fastapi_docker_tts_pipertts-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d16c366291c25bd82ba4f6fa48271d52255183141f7339f8251aaf78e51d76e8
|
|
| MD5 |
f97fcae75e01596375909985f7109163
|
|
| BLAKE2b-256 |
cae481b03229b84967f1f6b0950784024175aa1cdf2b8dd67ebca3898d0c5a31
|
File details
Details for the file yta_fastapi_docker_tts_pipertts-0.0.1-py3-none-any.whl.
File metadata
- Download URL: yta_fastapi_docker_tts_pipertts-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e67e17ef6a617adab771d7cb91156cbebba04e1d4fc297d9531d621b0eec3cfd
|
|
| MD5 |
d15ab5c03e1680285812d306ba64abf1
|
|
| BLAKE2b-256 |
b04ea0b94d016a73631dbfcdefc4eaca2bf31fdf81b141b985b8decfa178954f
|