ASR

Transcribe audio files into text using the z-ai-web-dev-sdk.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/mattismyname3011/school-council-election --skill asr-mattismyname3011
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ASR
Source: https://github.com/mattismyname3011/school-council-election/tree/main/skills/ASR
Command: npx skills add https://github.com/mattismyname3011/school-council-election --skill asr-mattismyname3011

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires z-ai-web-dev-sdk, and includes scripts (resource) components.

What problem does it solve?

This Skill enables programs to convert spoken language from audio into written text, facilitating voice-enabled apps, transcriptions, and accessibility.

Core Features & Use Cases

  • ASR transcription: Transcribe audio from files or streams into accurate text using the z-ai-web-dev-sdk on the backend.
  • Batch and real-time scenarios: Use for batch transcriptions or live processing in apps with streaming support.
  • Use Case: Build a backend service that converts meeting recordings to searchable transcripts and enables voice-driven interfaces.

Quick Start

Install the z-ai-web-dev-sdk in your backend project, initialize the SDK, read an audio file, convert to base64, and call zai.audio.asr.create with file_base64 to obtain transcription.

Frequently Asked Questions about ASR

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a backend speech-to-text transcription service for audio files?

You can transcribe audio files into text on the backend by reading the file, converting it to base64, and calling the ASR function through the z-ai-web-dev-sdk. This handles the speech-to-text transcription and returns the text payload.

Can I use this backend ASR Skill for real-time transcription in voice interfaces?

Yes, this ASR Skill supports real-time transcription for voice interfaces. It handles both batch processing of audio files and live processing for streaming applications on the backend using the z-ai-web-dev-sdk.

What do I need to set up before processing audio with the z-ai-web-dev-sdk?

Before processing audio, you need a backend runtime and the z-ai-web-dev-sdk installed. You must also read your audio files and convert the audio data into base64 encoding to pass into the transcription function.

Does this speech-to-text Skill work for batch processing meeting recordings?

Yes, this speech-to-text Skill works for batch processing meeting recordings. It transcribes spoken language from audio files into searchable text transcripts, making it suitable for converting recorded meetings into written text.

Why do I need base64 encoding for audio processing in a backend environment?

Base64 encoding is required for audio processing because the z-ai-web-dev-sdk ASR function expects the file data in a base64 string format. This allows the backend to securely transmit the audio payload to the transcription service.