/install azure-ai-transcription-py
Azure AI Transcription SDK for Python
Client library for Azure AI Transcription (speech-to-text) with real-time and batch transcription.
Installation
pip install azure-ai-transcription
Environment Variables
TRANSCRIPTION_ENDPOINT=https://\x3Cresource>.cognitiveservices.azure.com
TRANSCRIPTION_KEY=\x3Cyour-key>
Authentication
Use subscription key authentication (DefaultAzureCredential is not supported for this client):
import os
from azure.ai.transcription import TranscriptionClient
client = TranscriptionClient(
endpoint=os.environ["TRANSCRIPTION_ENDPOINT"],
credential=os.environ["TRANSCRIPTION_KEY"]
)
Transcription (Batch)
job = client.begin_transcription(
name="meeting-transcription",
locale="en-US",
content_urls=["https://\x3Cstorage>/audio.wav"],
diarization_enabled=True
)
result = job.result()
print(result.status)
Transcription (Real-time)
stream = client.begin_stream_transcription(locale="en-US")
stream.send_audio_file("audio.wav")
for event in stream:
print(event.text)
Best Practices
- Enable diarization when multiple speakers are present
- Use batch transcription for long files stored in blob storage
- Capture timestamps for subtitle generation
- Specify language to improve recognition accuracy
- Handle streaming backpressure for real-time transcription
- Close transcription sessions when complete
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install azure-ai-transcription-py - After installation, invoke the skill by name or use
/azure-ai-transcription-py - Provide required inputs per the skill's parameter spec and get structured output
What is Azure Ai Transcription Py?
Azure AI Transcription SDK for Python. Use for real-time and batch speech-to-text transcription with timestamps and diarization. Triggers: "transcription", "speech to text", "Azure AI Transcription", "TranscriptionClient". It is an AI Agent Skill for Claude Code / OpenClaw, with 2150 downloads so far.
How do I install Azure Ai Transcription Py?
Run "/install azure-ai-transcription-py" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Azure Ai Transcription Py free?
Yes, Azure Ai Transcription Py is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Azure Ai Transcription Py support?
Azure Ai Transcription Py is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Azure Ai Transcription Py?
It is built and maintained by thegovind (@thegovind); the current version is v0.1.0.