demo112

speech-recognition

Design & Mediav1.0.1
By demo112Updated 2026-05-112 versions · latest released 2026-02-25@clawhub_demo112/speech-recognition
Audio#消息#音频

According to AlphaMoat, as of 2026-10, speech-recognition has 8,171 downloads and 4 stars — ranked by downloads #3,395 among 10,914 AI skills in this ranking, and #443 of 1,116 in Design & Media.

The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.

Downloads
8.2K
Stars
4
Overall download rank
#3,395
Top 32% overall · Top 40% in Design & Media
PlatformDownloadsStarsComments
ClawHub ↗6.1K3-
SkillHub ↗8.2K4—

Platforms count differently and update at different times.

What this skill does

It triggers when the user sends a voice message (.ogg/.mp3/.wav/.m4a), asks to transcribe audio, or needs the text content of an audio file extracted. The default model is FunAudioLLM/SenseVoiceSmall, described in the main text as good for Chinese with English also supported; the API endpoint is POST https://api.siliconflow.cn/v1/audio/transcriptions, with the API key configured under providers.siliconflow in ~/.openclaw/openclaw.json or injected via the SILICONFLOW_API_KEY environment variable. Non-MP3 audio (including WAV, M4A, FLAC, and the OGG format common for Telegram/Signal voice) is converted with FFmpeg using -ar 16000 -ac 1 (16 kHz sample rate, mono). Error handling covers 401 Unauthorized (invalid API key), 413 Payload Too Large (file too large; compress or split it), network timeouts, and unsupported formats. Limits and privacy: files should stay under 10MB and under 5 minutes, and audio is uploaded to SiliconFlow servers for processing. The skill is released under the MIT license.

Profile published 2026-10-27

What you can do with it

  • Transcribe .ogg voice messages from Telegram/Signal
  • Extract spoken content from audio files as text
  • Process user-uploaded mp3/m4a recordings into text

When to use it

  • When the user sends a voice message or audio file and needs speech converted to text

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Transcribe this audio
Convert this voice message to text for me
Extract the spoken content from this m4a recording

Monthly Trend

Downloads8.2K
3.0K5.8K8.6K2026-03 · Downloads 3.3K2026-05 · Downloads 5.3K2026-06 · Downloads 5.5K2026-07 · Downloads 5.8K2026-08 · Downloads 6.0K2026-09 · Downloads 6.3K2026-10 · Downloads 8.2K26-0326-0926-10
Stars4
2342026-03 · Stars 22026-05 · Stars 32026-06 · Stars 32026-07 · Stars 42026-08 · Stars 42026-09 · Stars 42026-10 · Stars 426-0326-0926-10

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change. Other skills share this name; figures from before the change are attributed to this one, which currently has the most downloads.

MonthDownloadsMoMStars
2026-108.2K—4
2026-096.3K—4
2026-086.0K+3.3%4
2026-075.8K+4.9%4
2026-065.5K+3.9%3
2026-055.3K—3
2026-033.3K—2

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.7 KB · ClawHub v1.0.1
---
name: speech-recognition
description: "通用语音识别 Skill。支持多种音频格式(ogg/mp3/wav/m4a),使用硅基流动 SenseVoice API 进行语音转文字。当用户发送语音消息、音频文件,或需要转录音频时触发。"
version: "1.0.0"
---

# 通用语音识别

使用硅基流动 SenseVoice API 进行语音识别,支持多种音频格式。
Show all (174 lines)
---

## 激活条件

| 触发场景 | 说明 |
|----------|------|
| 用户发送语音消息 | `.ogg` / `.mp3` / `.wav` / `.m4a` 文件 |
| 用户要求转录音频 | "转录这个音频"、"语音转文字" |
| 音频文件处理 | 需要提取音频中的文字内容 |

---

## 配置

### API Key

在 `~/.openclaw/openclaw.json` 中配置:

```json
{
  "providers": {
    "siliconflow": {
      "apiKey": "sk-xxx"
    }
  }
}
```

### API 端点

```
POST https://api.siliconflow.cn/v1/audio/transcriptions
```

### 支持的模型

| 模型 | 说明 |
|------|------|
| `FunAudioLLM/SenseVoiceSmall` | 默认,中文效果好 |

---

## 使用方法

### 方法一:直接调用 API

```python
import requests

api_key = "sk-xxx"

with open("/path/to/audio.mp3", "rb") as f:
    audio_data = f.read()

response = requests.post(
    "https://api.siliconflow.cn/v1/audio/transcriptions",
    headers={"Authorization": f"Bearer {api_key}"},
    files={"file": ("audio.mp3", audio_data, "audio/mpeg")},
    data={"model": "FunAudioLLM/SenseVoiceSmall"},
    timeout=60
)

print(response.json().get("text", ""))
```

### 方法二:处理用户语音消息

当用户发送 `.ogg` 语音消息时:

```bash
# 1. 转换格式(如果是 ogg)
ffmpeg -i /path/to/audio.ogg -ar 16000 -ac 1 /tmp/audio.mp3 -y

# 2. 调用硅基流动 API(API Key 从环境变量读取)
python3 -c "
import requests
import os

api_key = os.environ.get('SILICONFLOW_API_KEY')
if not api_key:
    raise ValueError('请设置 SILICONFLOW_API_KEY 环境变量')

with open('/tmp/audio.mp3', 'rb') as f:
    audio_data = f.read()

response = requests.post(
    'https://api.siliconflow.cn/v1/audio/transcriptions',
    headers={'Authorization': f'Bearer {api_key}'},
    files={'file': ('audio.mp3', audio_data, 'audio/mpeg')},
    data={'model': 'FunAudioLLM/SenseVoiceSmall'},
    timeout=60
)
print(response.json().get('text', ''))
"
```

---

## 支持的音频格式

| 格式 | 扩展名 | 说明 |
|------|--------|------|
| MP3 | `.mp3` | 推荐,兼容性好 |
| OGG | `.ogg` | Telegram/Signal 语音格式,需转换 |
| WAV | `.wav` | 无压缩,文件大 |
| M4A | `.m4a` | iOS 录音格式 |
| FLAC | `.flac` | 无损压缩 |

---

## 格式转换

如果音频不是 MP3 格式,用 FFmpeg 转换:

```bash
# OGG → MP3
ffmpeg -i input.ogg -ar 16000 -ac 1 output.mp3 -y

# WAV → MP3
ffmpeg -i input.wav -ar 16000 -ac 1 output.mp3 -y

# M4A → MP3
ffmpeg -i input.m4a -ar 16000 -ac 1 output.mp3 -y
```

参数说明:
- `-ar 16000`: 采样率 16kHz(语音识别推荐)
- `-ac 1`: 单声道(减少文件大小)
- `-y`: 覆盖已存在的文件

---

## 错误处理

| 错误 | 原因 | 解决 |
|------|------|------|
| `401 Unauthorized` | API Key 无效 | 检查配置 |
| `413 Payload Too Large` | 文件太大 | 压缩或分割音频 |
| `timeout` | 网络超时 | 重试或检查网络 |
| `Invalid audio format` | 格式不支持 | 用 FFmpeg 转换 |

---

## 注意事项

1. **文件大小限制**:建议 < 10MB
2. **时长限制**:建议 < 5 分钟
3. **语言支持**:中文效果最好,英文也支持
4. **隐私**:音频会上传到硅基流动服务器

---

## 相关 Skills

| Skill | 说明 |
|-------|------|
| `douyin-video` | 抖音视频语音提取 |
| `cosyvoice-tts` | 文字转语音 |

---

*版本:1.0.0*
*创建于:2026-02-26*

Popular in Design & Media

视频短视频图片音乐音频配音口播数字人全能创作Design & Media

通过同一个AI创作工具完成AI图片、视频、音乐与语音创作,查找公开社交数据,编辑视觉成果,并集中查看和管理生成资产。Beatra 全能创作支持AI图片生成(文生图)、AI视频生成(图生视频)和AI视频编辑,通过AI音乐生成把想法做成歌曲或纯音乐,也可用AI语音生成(文字转语音)、多语言旁白和AI语音克隆完成跨媒介内容;还能查找抖音数据、小红书数据,以及 YouTube、TikTok、Instagram 与 X 上的公开帖子、笔记、评论、账号和趋势,把社交媒体数据用于竞品调研和创作。它是一款面向AI内容创作与多模态内容创作的AI创作套件,用起来就是一个把图片、视频、音乐与语音收在同一处的AI创作助手,适用于社交内容、产品展示、营销素材、课程、播客、短片和跨媒介项目;还能在不同媒介间复用原始素材、已有成果和查到的公开资料,查看制作进度、返回文件、实际用量和积分记录。

↓ 1.5M★ 113u_319b171b
AI数字人口播与虚拟主播视频Design & Media

用一张人像和一段短脚本或语音,制作有明确讲述内容的数字人口播视频。可使用现成录音,也可以先选择音色,把脚本生成旁白,让画面中的人物随声音完成稳定、自然的口播。适合 AI 主播、虚拟主播视频、数字人讲解、让照片说话、照片说话视频、产品讲解视频、数字人培训视频、公告和社交口播,并在交付后检查人物一致性、声音清晰度、口型同步和动作稳定性。一节课的讲解也能做成课程口播。

↓ 507.9K★ 39u_319b171b
架构图一键生成Design & Media

ContextWeave one-shot architecture diagram generation

↓ 469.8K★ 280user_bddf3fe6
海报设计工作室Design & Media

将一段活动描述、一张产品照片或品牌参考图,转化为抓人眼球的活动海报、宣传 banner 或社交媒体配图。这款 AI海报设计与制作工具生成图片丰富的海报,在海报排版上搭配清晰视觉层级、按品类匹配的风格和预留文字区域,覆盖活动、音乐节、电影、产品发布和促销场景。你可以把它当作 AI宣传单制作工具来制作促销宣传单,当作活动海报设计工具,当作电影海报生成器,当作音乐节海报设计工具,当作产品发布会海报的 banner设计 AI,或当作平面设计海报工作室。从活动主题出发,用品牌风格参考图变换产品或场景照片,或在已认可草稿上做定向精修,完成可印刷或可分享的成品。

↓ 305.0K★ 28user_87b8e34f
自动化克隆数字人口播混剪视频Design & Media

抖音短视频双路径生产体系(单 Skill 版)。Path A[付费·高质量]:策略大脑→(可选:素材混剪/AI高光提取)→脚本优化→AI生图/素材准备→配音渲染(百炼/GPT-SoVITS/CosyVoice/VoxCPM2+剪映/Remotion/ffmpeg/数字人)。Path B[免费·动画风]:采集热点→脚本→edge-tts免费配音+HyperFrames开源渲染→MP4,零云费开箱快。触发词分层:①"抖音短视频/选题规划/合规闸门/运营策略" ②"口播脚本/AI生图/AI配音/视频渲染/Remotion渲染" ③"蹭热点/快速出片/免费做视频" ④"混剪/高光提取/素材粗剪/autoclip

↓ 296.8K★ 79user_3b54b400
GPT Image 2.5生图Design & Media

GPT Image 2.5生图是一款 AI 工具,用 GPT-Image-2.5 和 ChatGPT Images 2.5 出一张图。GPT Image 2.5 Studio 支持 gpt-image-2.5-flare 与 gpt-image-2.5-sunburst,可文生图或参考图生图,做中文海报、商品图、信息图和社媒画面。

↓ 271.2K★ 27user_87b8e34f
MiniMax H3 AI视频创作Design & Media

用 MiniMax H3 这款 AI视频生成器创作高质感 2K AI 视频。从文字创意出发完成文生视频,让静态图片自然动起来,用首尾画面做首尾帧视频的完整转场,也可以结合图片、视频和音频参考,以多模态视频生成塑造统一场景。适合 AI 广告视频、电商产品视频、品牌宣传视频、动态海报、游戏 UI、电影片头和社交短视频创作,形成电影感画面与同步的原生立体声。使用 Beatra 账号即可开始,创作进度与成片集中管理。

↓ 262.5K★ 23user_87b8e34f
AI Logo设计·品牌标识创作Design & Media

输入品牌名称、行业方向或参考图,生成专业 AI Logo、品牌标识和应用图标。这款 AI logo 设计工具从你的品牌简报出发——公司名、行业气质、配色偏好——先探索多个商标设计方向,再用精确品牌色、简洁几何和可缩放构图精修最强概念。制作企业 logo、创业公司标志、字母标、徽章、组合标识和 VI设计中的主标,从网站 favicon 到门头招牌都清晰可辨。从文字描述出发,将已有草图和品牌素材转化为精致标识,或在已认可草稿上做定向精修。

↓ 259.9K★ 19user_87b8e34f

More from demo112

Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.