闲社服务运行正常AI智能体自动化平台
t

音频转录

技能标识:transcription

Transcribe audio and video files using OpenAI Whisper API. Use when user wants to transcribe audio/video files, extract speech from media, or get text from recordings. Automatically handles audio extraction from video files.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.1
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

音频转录

转录技能

本技能通过OpenAI Whisper API端点提供音频和视频文件的转录功能。

快速开始

向我发送音频或视频文件,我将自动为您转录!只需将文件附加到您的消息中即可。

手动使用

您也可以直接从命令行运行脚本:

bash
cd /home/openclaw/.openclaw/workspace/skills/transcription/scripts
python3 transcribe_audio.py inputfile.ogg

对于视频文件:
bash
python3 transcribe_audio.py video.mp4

支持的格式

音频: mp3、wav、mp4、mpeg、mpga、m4a、ogg、webm、flac、aac、wma

视频: mp4、mov、avi、mkv、webm(自动提取音频)

使用示例

如何使用Python脚本进行转录:

python3 transcribe_audio.py inputfile.ogg

功能特性

  • - 提取时间戳 - 在输出中按需显示
  • 批量处理 - 一次发送多个文件
  • 视频支持 - 自动从视频文件中提取音频
  • 多种输出格式 - 文本、JSON、SRT字幕、VTT字幕

技术细节

  • - API端点: http://192.168.0.11:8080/v1(本地Whisper端点)
  • 模型: whisper-small(默认)
  • 温度: 0.0(确定性结果)
  • 自动提取: ffmpeg处理视频到音频的转换

注意事项

  • - 确保文件清晰且噪音较小,以获得最佳效果
  • 语言自动检测在大多数情况下表现良好
  • 对于批量处理,请逐个发送文件或在请求中指定batch

脚本: scripts/transcribeaudio.py、scripts/transcribesimple.py 参考: references/transcription_guide.md

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 transcription-1776115368 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 transcription-1776115368 技能

通过命令行安装

skillhub install transcription-1776115368

下载

⬇ 下载 transcription v1.0.1(免费)

文件大小: 5.01 KB | 发布时间: 2026-4-15 14:42

v1.0.1 最新 2026-4-15 14:42
- Added a new script: scripts/transcribe.sh.
- Updated documentation to include manual script usage instructions for direct command-line transcription.
- Removed language selection and auto-detect language features from feature list.
- Simplified usage examples to focus on running scripts via command line.
返回顶部