azure-ai-transcription-py
できること
このツールは、ファイルの音声を文字に変換します。さらに、音声の中で各単語がいつ話されたかも正確に教えてくれます。
使う場面
- ✓録音された音声ファイルがあり、そのテキストがほしいとき。
- ✓音声のどの時点で各単語が話されたかを知りたいとき。
- ✓許可を得た音声ファイルを正確に文字起こししたいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/azure-ai-transcription-py/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この音声をテキストに文字起こしして、各単語がいつ話されたかを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールに音声ファイルを渡します。Microsoftのサービスが音声を処理し、時間情報(タイムスタンプ)付きのテキストを生成します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Azure 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.
よくある質問
ライブの音声にも使えますか?
いいえ、このツールは録音済みの音声ファイル向けです。ライブの音声には別のツールが必要です。
利用するのに料金はかかりますか?
はい、このサービスの利用には費用がかかる場合があります。利用前に料金と利用条件を確認することが大切です。
「許可を得た音声」とはどういう意味ですか?
音声を使用する許可があることを意味します。自分で録音したものや、同意を得た人の録音などが該当します。
詳細
作者による元の説明
Azure AI Transcription SDK for Python. Use for audio-file transcription with timestamps; distinguish this client from streaming and asynchronous batch Speech APIs.
人気
- GitHubのスター
- 48k
- ランキング
- #3895
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
mcporter
394kHTTPまたはstdioでMCPサーバーとそのツールを一覧表示、呼び出し、確認し、サインイン設定を管理するようエージェントを支援します。
fastmcp
260kPythonで、AIアシスタントがAPI、データベース、ファイルをツールとして利用できるMCPサーバーを作成、テスト、デプロイするのを支援します。
mcp-oauth-remote-gateway
260kHermesがサーバー上で動いている場合に、リモートのMCPサーバーのOAuthサインインを手動で完了させ、トークンを保存します。