[GH-ISSUE #5727] Feature Request: Add FunASR/SenseVoice as Audio Transcription provider #5261

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

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

Feature Request

AnythingLLM already supports audio transcription and STT — FunASR would be an excellent addition as a self-hosted, high-performance provider.

Why FunASR?

  • OpenAI-compatible API: FunASR provides /v1/audio/transcriptions endpoint — could work as a drop-in replacement
  • SenseVoice: Ultra-fast non-autoregressive ASR (234M params), 5-10x faster than Whisper, 50+ languages
  • Fully self-hosted: No API key needed, completely local/private
  • Built-in features: VAD (speech segmentation), punctuation restoration, speaker diarization — all in one pipeline
  • Fun-ASR-Nano: LLM-based ASR (800M params) with hotword customization and context-aware recognition
  • Emotion detection: SenseVoice identifies speech emotions — could enrich document metadata

Server setup:

pip install funasr vllm fastapi uvicorn python-multipart
funasr-server --device cuda
# OpenAI-compatible /v1/audio/transcriptions at localhost:8000

Or Python API:

from funasr import AutoModel
model = AutoModel(model="iic/SenseVoiceSmall")
result = model.generate(input="audio.wav")
Originally created by @LauraGPT on GitHub (May 30, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5727 ## Feature Request AnythingLLM already supports audio transcription and STT — FunASR would be an excellent addition as a self-hosted, high-performance provider. **Why FunASR?** - **OpenAI-compatible API**: FunASR provides `/v1/audio/transcriptions` endpoint — could work as a drop-in replacement - **SenseVoice**: Ultra-fast non-autoregressive ASR (234M params), 5-10x faster than Whisper, 50+ languages - **Fully self-hosted**: No API key needed, completely local/private - **Built-in features**: VAD (speech segmentation), punctuation restoration, speaker diarization — all in one pipeline - **Fun-ASR-Nano**: LLM-based ASR (800M params) with hotword customization and context-aware recognition - **Emotion detection**: SenseVoice identifies speech emotions — could enrich document metadata **Server setup:** ```bash pip install funasr vllm fastapi uvicorn python-multipart funasr-server --device cuda # OpenAI-compatible /v1/audio/transcriptions at localhost:8000 ``` **Or Python API:** ```python from funasr import AutoModel model = AutoModel(model="iic/SenseVoiceSmall") result = model.generate(input="audio.wav") ``` - GitHub: https://github.com/modelscope/FunASR (16K+ stars) - SenseVoice: https://github.com/FunAudioLLM/SenseVoice (8K+ stars)
yindo added the enhancementIntegration Requestfeature request labels 2026-06-05 14:52:59 -04:00
yindo closed this issue 2026-06-05 14:52:59 -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#5261