Dev & Engineering ✓ Microsoft · Official azure-speechspeech-to-textrest-apipythonaudio-transcriptionhttp

Azure Short-Audio Speech-to-Text REST

Transcribe audio up to 60 seconds with Python HTTP requests.

FollowSkills review · FSRS-2.0
Use with care
49/ 100 5-point scale 2.5 / 5
1 2 3 4 5 6
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.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
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.
See the full review method →

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.

  1. 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.
  2. An application processes 16 kHz mono WAV or OGG OPUS clips without adding the Speech SDK.
  3. A developer needs detailed recognition output with candidate text and confidence scores.
  4. An asynchronous Python service needs to transcribe short uploaded audio with aiohttp.
  5. A developer wants chunked transfer for lower latency when sending short audio.

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 do you install this skill?

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.

How do you use this skill?

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.

How does this skill compare with similar options?

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.

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.

Dev & Engineering ✓ Microsoft · Official

Azure Content Understanding for Python

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

Dev & Engineering ✓ Microsoft · Official

FastAPI Router Builder

Create consistent FastAPI CRUD routes with authentication and typed responses.

Dev & Engineering ✓ Microsoft · Official

Azure AI Services Skill

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

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

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

Dev & Engineering ✓ Microsoft · Official

MCP Server Development Guide

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

Dev & Engineering ✓ Microsoft · Official

Azure OpenAI for .NET

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

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.

Dev & Engineering ✓ Microsoft · Official

Pydantic Multi-Model Architecture

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

Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry Exporter

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

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB Python Service Builder

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

Dev & Engineering ✓ Microsoft · Official

Azure Fabric Capacity Manager

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

Dev & Engineering ✓ Microsoft · Official

Azure Monitor OpenTelemetry for Python

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

Dev & Engineering ✓ Microsoft · Official

Microsoft Entra Agent ID Provisioning

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

Dev & Engineering ✓ Microsoft · Official

Azure Realtime Podcast Studio

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

Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for .NET

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

Dev & Engineering ✓ Microsoft · Official

Azure Call Automation for Java

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

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.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Custom Log Ingestion

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

Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for Python

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

Related skills