Agent skill · writing content · aiskillstore
azure-speech-to-text-rest-py
Azure Speech to Text REST API for short audio (Python). Use for simple speech recognition of audio files up to 60 seconds without the Speech SDK.
Why this skill is useful
Provides specific API usage patterns and response formats for Azure Speech to Text that the AI wouldn't reliably generate on its own.
What it needs
Requires requests installed locally. Requires azure account access. About 5k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Azure Speech to Text REST API for Short Audio Simple REST API for speech-to-text transcription of short audio files (up to 60 seconds). No SDK required - just HTTP requests. Prerequisites 1. Azure subscription - Create one free 2. Speech resource - Create in Azure Portal 3. Get credentials - After deployment, go to resource > Keys and Endpoint Environment Variables Installation Quick Start Audio Requirements Format Codec Sample Rate Notes -------- ------- ------------- ------- WAV PCM 16 kHz, mono Recommended OGG OPUS 16 kHz, mono Smaller file size Limitations: Maximum 60 seconds of audio For pronunciation assessment: maximum 30 seconds No partial/interim results (final only) Content-Type Headers Response Formats Simple Format (default) Detailed Format Chunked Transfer (Recommended) For lower latency, stream audio in chunks: Authentication Options Option 1: Subscription Key (Simple) Option 2: Bearer Token Query Parameters Parameter Required Values Description ----------- ---------- -------- ------------- language Yes en-US, de-DE, etc. Language of speech format No simple, detailed Result format (default: simple) profanity No masked, removed, raw Profanity handling (default: masked) Recognition Status Values Status Description -------- ------------- Success Recognition succeeded NoMatch Speech detected but no words matched InitialSilenceTimeout Only silence detected BabbleTimeout Only noise detected Error Internal service error Profanity Handling Error Handling Async Version Supported Languages Common language codes (see full list): Code Language ------ ---------- en-US English (US) en-GB English (UK) de-DE German fr-FR French es-ES Spanish (Spain) es-MX Spanish (Mexico) zh-CN Chinese (Mandarin) ja-JP Japanese ko-KR Korean pt-BR Portuguese (Brazil) Best Practices 1. Use WAV PCM 16kHz mono for best compatibility 2. Enable chunked transfer for lower latency 3. Cache access tokens for 9 minutes (valid for 10) 4. Specify the correct language for accurate recognition 5. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/azure-speech-to-text-rest-py