360 Secure SkillHub
360 安全技能中心

transcribe

调用本地 parakeet-cpp-transcribe 二进制对音频做语音转文字,WAV 直接支持、其他格式需经 ffmpeg 转码,输出 15 秒分段的带时间戳纯文本。首次运行需联网下载 macOS arm64 二进制与其 GGUF 模型,仅支持 Apple Silicon macOS。

分类:效率
badlogic
热度 0.00
最近更新 2026-10-27 00:24:39

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add badlogic/pi-skills/transcribe
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
transcribe
description
Local speech-to-text transcription on Apple Silicon macOS. Supports wav directly and other audio formats via ffmpeg.

Transcribe

Local speech-to-text using parakeet-cpp-transcribe on Apple Silicon macOS.

Usage

{baseDir}/transcribe.sh <audio-file>

The first run downloads the macOS arm64 binary from the latest badlogic/pibot GitHub release into the extension's ignored bin directory:

{extensionDir}/bin/parakeet-cpp-transcribe

({extensionDir} is the parent directory of this skill's {baseDir}.) The binary downloads its GGUF model automatically if missing.

Output

Plain text timestamped in 15 second chunks is written to stdout:

[00:00-00:15] transcript text
[00:15-00:30] more transcript text

Model/GGML diagnostic logs are written to stderr. Redirect stderr to hide them:

{baseDir}/transcribe.sh <audio-file> 2>/dev/null

Requirements

  • Apple Silicon macOS only
  • curl and tar
  • ffmpeg for non-WAV input: brew install ffmpeg