JackZo400/dsh-voice-transcribe ↗★ 0
dsh-voice-transcribe
给 dsh 的本地语音/视频转写:把 QQ/微信那种 SILK 语音解出来,再用 faster-whisper 转成文字,全程不花 API 钱。 适合需要免费、本地化转写微信语音或音视频文件的任务。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JackZo400/dsh-voice-transcribeREADME
Read the full README ↗配置
- insert:
- id: voice-transcribe
name: dsh-voice-transcribe
config:
pythonPath: python3 # 装了上面那些包的解释器
# scriptPath: '' # 留空 = 用包内自带的 py/transcribe.py
model: medium # tiny/base/small/medium/large-v3,或本地模型目录
maxSeconds: 120 # 只转前 N 秒
language: auto # zh / en …;auto = 自动判断
prompt: '' # 词表提示,见下
maxFiles: 4 # 一次最多转几个(模型只加载一次)
prompt 怎么用:专有名词最容易听岔。把你关心的人名/项目名用顿号连起来塞进去:
prompt: '小王、李工、星海项目'
别写成句子——whisper 会顺着你的句子往下编,把没说的话也「补」出来。