返回顶部
g

groq-voice-transcribeGroq语音转录

Transcribe audio files via Groq's OpenAI-compatible speech-to-text API. Use when the user sends voice messages or audio files and you need fast cloud speech-to-text through Groq instead of local Whisper.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
355
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

groq-voice-transcribe

Groq 语音转录

通过 Groq 兼容 OpenAI 的转录端点,快速将语音笔记和音频文件转换为文字。
当你希望通过 Groq 进行云端转录而非本地运行 Whisper 时使用。

最佳适用场景:

  • - Telegram / Signal 语音消息
  • 短音频片段
  • 中文、英文或中英混合的日常对话
  • 为后续摘要或聊天回复快速生成转录文本

准备工作

你需要一个 Groq API 密钥
Groq 通常为新用户提供免费开发者层级或试用积分。
获取方式:

  • - 访问 https://console.groq.com/
  • 登录后,打开 API Keys,然后创建一个密钥

OpenClaw 中最简单的配置方式

如果 OpenClaw 已运行并配置完成,你可以直接让助手执行:

  • - 帮我配置 Groq 语音转录
  • 这是我的 Groq API 密钥,请设置 Groq 语音转录

助手会将密钥自动填入 ~/.openclaw/openclaw.json 文件中。

手动配置

设置 GROQAPIKEY 环境变量,或在 ~/.openclaw/openclaw.json 中按以下格式配置:

json
{
skills: {
entries: {
groq-voice-transcribe: {
apiKey: 在此处填入 GROQ 密钥
}
}
}
}

快速开始

bash
{baseDir}/scripts/transcribe.sh /path/to/audio.ogg

默认参数:

  • - 模型:whisper-large-v3-turbo
  • 输出:<输入文件名>.txt
  • 格式:纯文本

常见示例

bash

基础转录


{baseDir}/scripts/transcribe.sh /path/to/audio.ogg

中文语音消息

{baseDir}/scripts/transcribe.sh /path/to/audio.ogg --language zh --prompt 中文普通话,日常聊天

保存到自定义文件

{baseDir}/scripts/transcribe.sh /path/to/audio.ogg --out /tmp/transcript.txt

详细 JSON 输出

{baseDir}/scripts/transcribe.sh /path/to/audio.ogg --json --out /tmp/transcript.json

参数说明

  • - --model <名称>:转录模型(默认 whisper-large-v3-turbo)
  • --out <路径>:输出文件路径
  • --language <代码>:提示口语语言,例如 zh、en、ja
  • --prompt <文本>:可选的上下文或拼写提示
  • --json:输出详细 JSON 格式而非纯文本

注意事项

  • - 音频将被发送至 Groq 进行转录。
  • 此技能仅用于语音转文字,不支持文字转语音。
  • 如果省略语言参数,Groq 通常能自动检测,但对于中文语音消息,建议添加 --language zh 参数以提高准确率。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 groq-voice-transcribe-1776182772 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 groq-voice-transcribe-1776182772 技能

通过命令行安装

skillhub install groq-voice-transcribe-1776182772

下载

⬇ 下载 groq-voice-transcribe v1.0.1(免费)

文件大小: 2.67 KB | 发布时间: 2026-4-15 11:55

v1.0.1 最新 2026-4-15 11:55
Improve getting-started guide, Groq API key setup instructions, and OpenClaw-assisted configuration flow.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部