[GH-ISSUE #5730] Feature request: Add FunASR as self-hosted STT provider #5265

Closed
opened 2026-06-05 14:53:00 -04:00 by yindo · 0 comments
Owner

Originally created by @LauraGPT on GitHub (May 31, 2026).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5730

Feature Request

Add FunASR as a self-hosted speech-to-text provider for AnythingLLM.

Why

AnythingLLM supports voice input via Whisper. FunASR offers a self-hosted, OpenAI-compatible alternative:

  • OpenAI-compatible API: funasr-server serves POST /v1/audio/transcriptions — drop-in for existing Whisper integration
  • Self-hosted: No API key needed, runs alongside AnythingLLM
  • SenseVoice (234M): 50+ languages, emotion detection, 25x realtime on CPU
  • Better CJK support: Significantly better Chinese/Japanese/Korean accuracy than Whisper
  • 16K+ GitHub stars, MIT license

Setup

pip install funasr vllm fastapi uvicorn python-multipart
funasr-server --device cuda --port 8000
# POST /v1/audio/transcriptions ready

Users could configure STT_PROVIDER=funasr with STT_BASE_URL=http://localhost:8000.

References

Originally created by @LauraGPT on GitHub (May 31, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5730 ## Feature Request Add FunASR as a self-hosted speech-to-text provider for AnythingLLM. ### Why AnythingLLM supports voice input via Whisper. FunASR offers a self-hosted, OpenAI-compatible alternative: - **OpenAI-compatible API**: `funasr-server` serves `POST /v1/audio/transcriptions` — drop-in for existing Whisper integration - **Self-hosted**: No API key needed, runs alongside AnythingLLM - **SenseVoice** (234M): 50+ languages, emotion detection, 25x realtime on CPU - **Better CJK support**: Significantly better Chinese/Japanese/Korean accuracy than Whisper - **16K+ GitHub stars**, MIT license ### Setup ```bash pip install funasr vllm fastapi uvicorn python-multipart funasr-server --device cuda --port 8000 # POST /v1/audio/transcriptions ready ``` Users could configure `STT_PROVIDER=funasr` with `STT_BASE_URL=http://localhost:8000`. ### References - [FunASR](https://github.com/modelscope/FunASR) - [SenseVoice](https://github.com/FunAudioLLM/SenseVoice)
yindo closed this issue 2026-06-05 14:53:00 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5265