Dev & Engineering ✓ Microsoft · Official

Azure Short-Audio Speech-to-Text REST

Transcribe audio up to 60 seconds with Python HTTP requests.

49/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
azure-speechspeech-to-textrest-apipython
+2audio-transcriptionhttp

What does this skill do, and when should you use it?

This skill helps Python developers transcribe short audio through the Azure Speech to Text REST API without the Speech SDK. It covers WAV PCM and OGG OPUS input, simple and detailed responses, chunked transfer, subscription-key and bearer-token authentication, and synchronous or asynchronous requests. It is designed for final results from audio up to 60 seconds, not real-time streaming, long audio, batch transcription, speech translation, or custom speech models. The skill is part of Microsoft/skills, a 190-skill collection that is actively maintained.

Reads a local audio file, sends it to the Azure Speech REST endpoint with requests or aiohttp, applies language, output-format, and profanity parameters, and returns JSON. The examples expose DisplayText in simple responses and confidence, display, lexical, ITN, and masked ITN fields in detailed responses. They also demonstrate chunked uploads, subscription-key authentication, bearer tokens, HTTP error handling, and RecognitionStatus checks.

Good fit
  • A Python developer needs final text from a WAV recording that is no longer than 60 seconds and wants to call an HTTP API directly.
  • An application processes 16 kHz mono WAV or OGG OPUS clips without adding the Speech SDK.
  • A developer needs detailed recognition output with candidate text and confidence scores.
  • An asynchronous Python service needs to transcribe short uploaded audio with aiohttp.
  • A developer wants chunked transfer for lower latency when sending short audio.

How do you install this skill?

Before you use it
  • The examples upload audio to Azure without privacy, retention, consent, or sensitive-voice handling guidance.
  • The examples lack requests/aiohttp timeouts, retries, and network-failure recovery; production code should add these controls.
  • DefaultAzureCredential is mentioned as supported, but the shown token flow actually uses a subscription key, leaving an implementation/documentation mismatch.
  • Reachability of Azure Speech regional endpoints from mainland China is not established; verify the region and network path before adoption.
  • Chunked transfer is labeled recommended without evidence of service compatibility, proxy behavior, or performance validation.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • Python
  • requests
  • aiohttp for the async example
  • Azure subscription
  • Azure Speech resource

Install the collection with npx skills add microsoft/skills, then select the skill in the wizard. For manual installation, clone https://github.com/microsoft/skills and copy .github/plugins/azure-sdk-python/skills/azure-speech-to-text-rest-py/. The skill has no separate installation command. The primary examples require requests; the async example also uses aiohttp.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-speech-to-text-rest-py" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Use azure-speech-to-text-rest-py to transcribe this WAV file under 60 seconds through the REST API and return detailed results.

Create an Azure subscription and Speech resource, then set AZURE_SPEECH_KEY and AZURE_SPEECH_REGION, or use AZURE_SPEECH_ENDPOINT. Ask a coding agent something like: “Use azure-speech-to-text-rest-py to transcribe this WAV file under 60 seconds through the REST API and return detailed results.” The implementation should read the audio, send the correct Content-Type and language parameters, and handle HTTP status codes and RecognitionStatus values.

What are this skill's strengths and limitations?

Pros
  • Uses direct HTTP requests and does not require the Speech SDK.
  • Includes synchronous, asynchronous, chunked-transfer, and two authentication patterns.
  • Documents audio formats, response formats, language parameters, profanity handling, and failure statuses.
  • Emphasizes deterministic cleanup with context managers for files and HTTP resources.
Limitations
  • Audio is limited to 60 seconds, or 30 seconds for pronunciation assessment.
  • It provides final results only, with no partial or interim results.
  • It is not intended for real-time streaming, batch transcription, speech translation, or custom speech models.
  • It requires an Azure Speech resource and credentials; the source gives no pricing, quota, or test-suite evidence for this skill.
  • The source does not provide a complete aiohttp installation command.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure Short-Audio Speech-to-Text REST this page ✓ Microsoft · Official 49 · Use with care ★ 2.7k 3mo ago MIT
Azure AI Transcription for Python ✓ Microsoft · Official 49 · Use with care ★ 2.7k 3mo ago MIT
9Router Speech-to-Text Skill 48 · Use with care ★ 31k 17d ago MIT
Azure Content Understanding for Python ✓ Microsoft · Official 48 · Use with care ★ 2.7k 3mo ago MIT
AMC Sample Dataset Calibration ✓ NVIDIA · Official 55 · Use with care ★ 3.6k 11d ago Apache-2.0

Use the Speech SDK or Batch Transcription API when you need audio longer than 60 seconds, real-time streaming, partial results, batch transcription, speech translation, or custom speech models. For the short-audio REST scenario covered here, the Speech SDK is not required.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
49/ 100 5-point scale 2.5 / 5
1Trust15 / 25 · 3.0/5

The document requires environment-based secret handling, prohibits hardcoded credentials, and describes subscription-key and token authentication. The audio data flow to an Azure endpoint is inferable from the samples, but privacy handling, user consent, log redaction, least-privilege guidance, timeouts, retries, and recovery are not specified, so points are deducted.

2Reliability7 / 20 · 1.8/5

Synchronous, chunked, and asynchronous paths are documented; file resources use context managers, and some HTTP statuses and RecognitionStatus values are handled. There is no input validation, request timeout, retry policy, unified exception strategy, or skill-specific test evidence. The text mentions DefaultAzureCredential without showing an implementation, so the static score remains modest.

3Adaptability10 / 15 · 3.3/5

Triggers, the short-audio limit, and non-fit scenarios are explicit, with both transcription and pronunciation-assessment use cases and several languages including zh-CN. Mainland-China reachability, regional constraints, format conversion, input/output contracts, and additional boundaries are not addressed, so points are deducted.

4Convention8 / 15 · 2.7/5

The material is organized into prerequisites, installation, authentication, examples, limits, error handling, and references, and includes MIT licensing, author, and version metadata. It lacks a changelog, explicit maintenance owner and update path, pinned dependency versions, FAQ, test instructions, and complete endpoint/key configuration guidance, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

The requests and aiohttp transcription and pronunciation-assessment examples are close to directly reusable and cover simple and detailed responses. Users must still supply Azure resources, credentials, compatible audio, and production network controls; no skill-specific verified outputs or comparative benefit evidence are provided, so the score stays within the static ceiling and is reduced.

6Verifiability3 / 10 · 1.5/5

Examples, response JSON, parameter tables, and official documentation links provide limited auditability. The supplied material contains no skill-specific tests, CI coverage, or third-party execution results; repository-level harnesses and workflows do not establish reproduction of this path, so only limited credit is warranted.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

What Azure resources and credentials are required?
You need an Azure subscription, a Speech resource, and its key and region. Microsoft Entra bearer-token authentication is also shown as an alternative request-authentication method.
Can this skill handle live captions or long recordings?
No. It targets final recognition results for audio up to 60 seconds. Use the Speech SDK or Batch Transcription API for real-time, interim-result, or longer-audio requirements.
How are failures represented?
The examples handle HTTP 400, 401, 403, and other errors, then inspect RecognitionStatus values such as Success, NoMatch, InitialSilenceTimeout, BabbleTimeout, and Error.
How much does Azure Speech cost?
The source only states that an Azure subscription is required and provides no pricing or billing information.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure AI Transcription for Python

Guides Python applications through Azure AI real-time and batch speech-to-text transcription.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Content Understanding for Python

Extract structured multimodal content from documents, images, audio, and video with Python.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

FastAPI Router Builder

Create consistent FastAPI CRUD routes with authentication and typed responses.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Services Skill

Guides coding agents through Azure AI Search, Speech, OpenAI, and OCR workflows.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

★ 2.7k FS 56 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

MCP Server Development Guide

A practical guide to building clear, testable MCP servers that let LLMs work with external APIs.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure OpenAI for .NET

Gives coding agents practical .NET patterns for Azure OpenAI integrations.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Data Lake Gen2 for Python

Guides Python developers through hierarchical file-system and large-file operations on Azure Data Lake Storage Gen2.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Pydantic Multi-Model Architecture

Build consistent, reusable Pydantic data contracts with a structured multi-model pattern.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry Exporter

Build a controlled Python OpenTelemetry pipeline that exports traces, metrics, and logs to Application Insights.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB Python Service Builder

Build secure, testable Azure Cosmos DB NoSQL services for Python and FastAPI applications.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Fabric Capacity Manager

Manage Microsoft Fabric capacities and their lifecycle with the Azure Python SDK.

★ 2.7k FS 46 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry for Python

Connect Python applications to Application Insights with one-line OpenTelemetry setup.

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Microsoft Entra Agent ID Provisioning

Provision OAuth2-capable identities for AI agents through Microsoft Graph beta.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Realtime Podcast Studio

Turn text into playable podcast-style audio with Azure OpenAI Realtime API.

★ 2.7k FS 39 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for .NET

Build real-time, bidirectional voice AI applications with the Azure .NET SDK.

★ 2.7k FS 46 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Call Automation for Java

Build Java workflows for IVR, call routing, recording, and voice-driven interactions.

★ 2.7k FS 43 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Custom Log Ingestion

Guides Python agents to send custom logs to Log Analytics through the Logs Ingestion API.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for Python

Guides Python developers in building real-time, bidirectional voice AI applications on Azure.

★ 2.7k FS 52 Use with care 3mo ago

Related skills