SERVICE DETAILS
Kokoro TTS Service
Overview
The Kokoro TTS service is a speech synthesis solution that transforms text into multilingual audio optimized for CPU architectures (AMD/ARM).
Deployment requirements
- Memory
- 3 GiB
- Processors
- 2 vCPU0 GPU
Files & artifacts
- fdl.yml (opens in a new tab)text/yaml
OSCAR Service Definition
Show content of fdl.yml
- script.sh (opens in a new tab)text/x-shellscript
OSCAR Service Script
Show content of script.sh
- icon.png (opens in a new tab)image/png
OSCAR Service Icon
Show content of icon.png
- input.json (opens in a new tab)text/json
Sample configuration file — Replace with a representative .json file containing the message to be processed and its configuration to run the kokoro-tts model.
Show content of input.json
- Expected audio outputExpected artifactaudio/wav
Expected audio output — Audio file produced by the service that contains the message with the specified characteristics.
Usage & acceptance tests
Asynchronous Kokoro-tts acceptance test
Upload the sample file, wait for the audio file to be created, and then download the file in the specified format.
Upload the sample configuration file to the service's storage.
oscar-cli service put-file kokoro-tts {source}Wait for the audio output according to specifications to occur
Time required: PT60SDownload the latest output file and confirm that it is in the expected format.
oscar-cli service get-file kokoro-tts --download-latest-into {destination}
RO-Crate metadata
- application/json
Show content of ro-crate-metadata.json