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:
Metadata
Release files for yta-fastapi-docker-tts-pipertts 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yta_fastapi_docker_tts_pipertts-0.0.1.tar.gz | 3.3 kB | Without provenance | Details for yta_fastapi_docker_tts_pipertts-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yta_fastapi_docker_tts_pipertts-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for yta_fastapi_docker_tts_pipertts-0.0.1-py3-none-any.whl |
Total release size: 8.1 kB
Release files / yta_fastapi_docker_tts_pipertts-0.0.1.tar.gz
| Download URL | yta_fastapi_docker_tts_pipertts-0.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d16c366291c25bd82ba4f6fa48271d52255183141f7339f8251aaf78e51d76e8
|
|
BLAKE2b-256 checksum How to use checksums |
cae481b03229b84967f1f6b0950784024175aa1cdf2b8dd67ebca3898d0c5a31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|
Release files / yta_fastapi_docker_tts_pipertts-0.0.1-py3-none-any.whl
| Download URL | yta_fastapi_docker_tts_pipertts-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e67e17ef6a617adab771d7cb91156cbebba04e1d4fc297d9531d621b0eec3cfd
|
|
BLAKE2b-256 checksum How to use checksums |
b04ea0b94d016a73631dbfcdefc4eaca2bf31fdf81b141b985b8decfa178954f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|
Security for yta-fastapi-docker-tts-pipertts 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.