Skip to main content

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.onnx
  • es_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 narrate
      • language - The language you want to use in the narration
      • voice_name - The name of the voice you want to use
      • pitch - The pitch you want to use
      • speed - The speed you want to use
      • emotion - The emotion you want to use

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)

Source distribution for yta-fastapi-docker-tts-pipertts 0.0.1
File Size Uploaded
yta_fastapi_docker_tts_pipertts-0.0.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yta-fastapi-docker-tts-pipertts 0.0.1
File Interpreter ABI Platform
yta_fastapi_docker_tts_pipertts-0.0.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page