zhipu-asr
由 franklu0819-lang 提供
AI & LLMs简介
Automatic Speech Recognition (ASR) using Zhipu AI (BigModel) GLM-ASR model.
描述
该技能的功能
Transcribes Chinese audio files to text using Zhipu AI's GLM-ASR model. Accepts WAV, MP3, and several other formats, converting non-native formats via ffmpeg. Supports context prompts and custom hotwords to improve accuracy for specialized vocabulary.
The hotword and context prompt features give it an edge over generic ASR tools when transcribing content with proper names, technical terminology, or multi-segment recordings.
何时使用
- Transcribing recorded business meetings in Chinese
- Converting lecture recordings to text for note-taking
- Processing interview audio for documentation
- Transcribing multi-part conversations with continuity context
- Boosting accuracy for domain-specific terms like medical or legal jargon
示例工作流
User asks: transcribe meeting.wav with attendee names Zhang and Li
- 1
Check audio file format and size against 25MB/30s limits
- 2
Convert format to WAV or MP3 if needed using ffmpeg
- 3
Call speech_to_text.sh with the file and hotwords '张总,李经理'
- 4
Send request to Zhipu AI GLM-ASR API with ZHIPU_API_KEY
- 5
Parse JSON response and extract the 'text' field
Transcribed Chinese text with improved recognition of specified names
前置要求
- ZHIPU_API_KEY environment variable from bigmodel.cn
- ffmpeg installed for non-WAV/MP3 format conversion
安装
clawhub install franklu0819-lang/zhipu-asr运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。