iFlytek ASR for Openclaw

A high-performance transcription skill that utilizes the iFlytek API to convert local audio files and YouTube videos into precise text transcripts.

harven-droid
v1.0.0
Mar 10, 2026
0
1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install iflytek-asr

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install iflytek-asr using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is iFlytek ASR?

iFlytek ASR is a professional-grade speech recognition tool integrated into the Openclaw Skills ecosystem. It leverages the industry-leading iFlytek API to provide superior transcription accuracy, particularly for Chinese language and regional dialects. Unlike standard open-source models, this skill offers faster processing speeds and automatic punctuation insertion, making it a robust choice for developers who require production-ready text extraction from audio sources.

This skill is designed to handle complex audio environments and supports a wide array of file formats including MP3, WAV, and MP4. By integrating directly with YouTube, it allows users to bridge the gap between online video content and actionable text data within their Openclaw Skills workflows.

iFlytek ASR Use Cases

  • Transcribing corporate meetings or interviews where high-precision Chinese dialect recognition is critical.
  • Extracting text content from YouTube videos for research, SEO analysis, or archival purposes.
  • Automating the conversion of voice memos and audio notes into organized text documents.
  • Processing long-form audio recordings (up to 5 hours) into punctuated, readable transcripts.

How iFlytek ASR Works

  1. The user initializes the skill by providing either a local file path or a YouTube URL.
  2. If a YouTube URL is provided, the skill utilizes yt-dlp to extract and download the high-quality audio stream.
  3. The audio file is transmitted to the iFlytek API via a secure authenticated request using the stored credentials.
  4. The iFlytek engine processes the audio, applying advanced dialect recognition and punctuation logic.
  5. The skill retrieves the completed transcription and saves the output to a specified Markdown or text file.

iFlytek ASR Setup

To integrate this transcription capability into your Openclaw Skills environment, follow these steps:

  1. Obtain your API credentials from the iFlytek Open Platform (XFYUN_APP_ID, XFYUN_ACCESS_KEY_ID, XFYUN_ACCESS_KEY_SECRET).
  2. Create a .env file in the skill directory and populate it with your keys.
  3. Install the required Python dependencies:
pip3 install yt-dlp requests python-dotenv

iFlytek ASR Data Schema & Taxonomy

The skill manages data through a structured script directory and environment configuration. Below is the metadata and file organization:

File Name Function
scripts/speech_to_text.py Handles local audio file transcription requests.
scripts/download_and_transcribe.py Manages the end-to-end YouTube download and transcription workflow.
scripts/download_audio.py Utility script to download audio from YouTube without transcription.
.env Secure storage for API authentication tokens.

iFlytek ASR Advanced Features

  • Direct YouTube Integration: Automatically handles audio extraction and downloading before transcription.
  • Dialect Support: Native recognition for various Chinese dialects, ensuring higher accuracy than generic models.
  • Large File Handling: Supports audio files up to 500MB and durations up to 5 hours.
  • Automated Punctuation: Intelligent insertion of marks to improve the readability of the generated Openclaw Skills output.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*