App: Local Whisper Speech-To-Text (stt_whisper2)

The stt_whisper2 app is one of the apps that provide Speech-To-Text functionality in Nextcloud and act as a media transcription backend for the :ref:`Nextcloud Assistant app<ai-app-assistant>`, the talk app and :ref:`other apps making use of the core Speech-To-Text API<stt-consumer-apps>`. The stt_whisper2 app specifically runs only open source models and does so entirely on-premises. Nextcloud can provide customer support upon request, please talk to your account manager for the possibilities.

This app supports input and output in languages other than English if the underlying model supports the language.

This app uses faster-whisper under the hood. Output quality will differ depending on which model you use, we recommend the following models:

Whisper large v3 supports about ~100 languages and shows outstanding performance in ~10 of them. For more details see the OpenAI Whisper paper

Requirements

Installation

  1. Make sure the :ref:`Nextcloud Assistant app<ai-app-assistant>` is installed

  2. :ref:`Install AppAPI and setup a Deploy Demon<ai-app_api>`

  3. Install the stt_whisper2 "Local Speech-To-Text" ExApp via the "Apps" page in the Nextcloud web admin user interface

Supplying alternate models

This app allows supplying alternate models in the /nc_app_stt_whisper2_data directory of the docker container. You can use any *faster-whisper* model by Systran on hugging face in the following way:

  1. git cloning the respective repository

  2. Copying the folder with the git repository to /nc_app_stt_whisper2_data inside the docker container.

  3. Restarting the Whisper ExApp

  4. Selecting the respective model in the Nextcloud AI admin settings

Scaling

It is currently not possible to scale this app, we are working on this. Based on our calculations an instance has a rough capacity of 4h of transcription throughput per minute (measured with 8 CPU threads on an Intel(R) Xeon(R) Gold 6226R). It is unclear how close to real-world usage this number is, so we do appreciate real-world feedback on this.

App store

You can also find this app in our app store, where you can write a review: https://apps.nextcloud.com/apps/stt_whisper2

Repository

You can find the app's code repository on GitHub where you can report bugs and contribute fixes and features: https://github.com/nextcloud/stt_whisper2

Nextcloud customers should file bugs directly with our customer support.

Known Limitations