About azure-ai-transcription-py
A Python skill for transcribing authorized audio files with the Azure AI transcription client. It covers timestamped output and authentication options, and cautions users to verify SDK details, permissions, privacy, and service costs.
Key features
- 01Transcribe authorized audio files
- 02Review timestamped transcription output
- 03Use Azure credential authentication options
- 04Check SDK signatures and service limits
Use cases
- 01Transcribe a consented local recording
- 02Review transcription results with timestamps
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ sickn33/ agentic-awesome-skills --skill azure-ai-transcription-pyAfter installing, type/azure-ai-transcription-pyin Claude Code to confirm it loaded.
Details
From the project READMEAzure AI Speech Transcription for Python
When to Use
- Transcribe an authorized audio file with the
azure-ai-transcriptionclient. - Review timestamped output and options supported by the installed SDK version.
- For streaming or asynchronous batch jobs, select the appropriate Speech API instead.
Prerequisites
Use a project-pinned SDK in an isolated Python environment. Confirm the Speech resource, endpoint, permissions, audio consent, cost and retention before upload. Do not log keys, audio contents, or full transcripts by default.
File Example
import os
from azure.core.credentials import AzureKeyCredential
from azure.ai.transcription import TranscriptionClient
from azure.ai.transcription.models import TranscriptionContent, TranscriptionOptions
client = TranscriptionClient(
endpoint=os.environ["TRANSCRIPTION_ENDPOINT"],
credential=AzureKeyCredential(os.environ["TRANSCRIPTION_KEY"]),
)
with client:
with open("audio.wav", "rb") as audio:
result = client.transcribe(TranscriptionContent(
definition=TranscriptionOptions(locales=["en-US"]), audio=audio,
))
# Inspect result locally; handle empty output and service errors explicitly.
Authentication and API Boundary
DefaultAzureCredential is also supported when the identity has the required
resource role. The previous begin_transcription and begin_stream_transcription
examples did not match this client. Do not invent a streaming adapter.
Example Request
“Transcribe this consented local recording; keep the transcript private.”
Limitations
Verify installed signatures and service limits against Microsoft's SDK guide. This illustration has not contacted Azure; availability, accuracy and costs require verification in the authorized environment.