stt-service

Transcribe Hungarian speech to text via FastAPI endpoints for multi-tenant applications.

Updated May 20, 2025
One-click install
npx skills add https://github.com/papdawin/customer-service-assistant --skill stt-service
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stt-service
Source: https://github.com/papdawin/customer-service-assistant/tree/main/stt
Command: npx skills add https://github.com/papdawin/customer-service-assistant --skill stt-service

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a centralized speech-to-text service that converts Hungarian audio into text for multiple tenants, simplifying deployment and maintenance.

Core Features & Use Cases

  • Shared Whisper-based STT service for multi-tenant architectures.
  • Language override via STT_LANGUAGE and HTTP endpoint /transcribe with optional language and beam size.
  • GPU-accelerated inference with startup-time model loading and per-request transcription.

Quick Start

Start the service with environment variables STT_MODEL_ID and STT_LANGUAGE, then send audio data to the /transcribe endpoint to receive a transcript and detected language.

Frequently Asked Questions about stt-service

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I transcribe Hungarian speech to text in a multi-tenant microservice?▼

To transcribe Hungarian speech to text in a multi-tenant microservice, you deploy a shared Whisper model via FastAPI, sending multipart/form-data audio uploads to the /transcribe endpoint to receive real-time transcripts.

Can I use GPU acceleration for Whisper speech-to-text inference in FastAPI?▼

Yes, you can use GPU acceleration for Whisper speech-to-text inference in FastAPI. The service supports GPU/CPU selection during startup-time model loading to accelerate per-request transcription of audio files.

How do I configure the Whisper model and language for a speech-to-text API?▼

You configure the Whisper model and language for the speech-to-text API by setting the STT_MODEL_ID and STT_LANGUAGE environment variables at startup, and you can also override the language per request via the /transcribe endpoint.

Does the speech-to-text FastAPI service provide health and transcription endpoints?▼

Yes, the speech-to-text FastAPI service provides the /health endpoint for status checks and the /transcribe endpoint to accept multipart/form-data audio uploads, returning the transcript, detected language, and timing metadata.

What is the best way to handle Hungarian audio transcription for multiple tenants?▼

The best way to handle Hungarian audio transcription for multiple tenants is deploying a centralized speech-to-text microservice, which simplifies deployment and maintenance by sharing a single Whisper model across tenant applications.

Are there limitations when using a shared Whisper service for real-time call transcription?▼

A limitation of using a shared Whisper service for real-time call transcription is that model loading occurs at startup, meaning per-request transcription depends on the initial STT_MODEL_ID configuration and available GPU or CPU resources.