audio2txt Skill
SkillFiles & storageExtracts text from audio files (speech-to-text); requires Tencent Cloud API credentials. Use when the user mentions audio-to-text, speech recognition, ASR, or audio subtitling.
Use audio2txt Skill in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add audio2txt Skill and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the audio2txt Skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by coderwanfeng/python-office in skills/video/audio2txt/SKILL.md and read by ahel’s review.
从音频里提取文字
功能描述
使用语音识别 API 从音频中提取文字。
⚠️ 注意:本地语音文件不能大于 5MB。
所属分类
office/skills/video/audio2txt/
调用方式
from skills.video import audio2txt
audio2txt(
audio_path='./test.mp3',
appid='your_appid',
secret_id='your_secret_id',
secret_key='your_secret_key'
)
参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
audio_path | str | 是 | - | 音频文件路径 |
appid | str | 是 | - | 语音识别 API 的应用 ID |
secret_id | str | 是 | - | 语音识别 API 的密钥 ID |
secret_key | str | 是 | - | 语音识别 API 的密钥 |
返回值
None
使用示例
from skills.video import audio2txt
audio2txt(
audio_path='./audio.mp3',
appid='your_appid',
secret_id='your_secret_id',
secret_key='your_secret_key'
)
原始函数
office.api.video.audio2txt
Signals
- GitHub stars
- 1k
- Forks
- 303
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
audio2txt- Source
- github.com/coderwanfeng/python-office
github.com/coderwanfeng/python-office
Related picks
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythonpptx
Skill · anthropics
More in Files & storagedocx
Skill · anthropics
More in Files & storageresearch
Skill · mattpocock
More in Files & storageto-tickets
Skill · mattpocock
More in Files & storage