Azure speech

From calesthio/generative-media-skills · View interactive version

Azure speech is an AI agent skill from the GitHub repository calesthio/generative-media-skills. Use Microsoft Azure Speech in Foundry Tools for media-production speech workflows: speech-to-text, fast and batch transcription, diarization, captions/subtitles, real-time transcription, text-to-speech neural and HD voices, SSML, custom/personal voices, text-to-speech avatars, speech/video translati

How to use this skill

Skill file

Azure Speech for media production agents

Use this skill when Azure Speech in Foundry Tools is a candidate provider for transcription, captions, subtitles, narration, synthetic voices, avatar speech, speech translation, video localization, or production speech QA.

Treat Azure Speech as a family of related services, not one model. Select the narrowest official capability that matches the job, then verify region, quota, language, pricing, and access status before committing.

Facts below were verified against Microsoft/Azure documentation on 2026-07-10. Volatile items such as supported locales, regions, pricing, quota values, API versions, and preview/limited-access status must be rechecked before paid or production use.

First decision: what job is the user actually asking for?

Documented facts:

Production routing:

  1. Live captions, live dictation, live customer-support assist, or interactive voice UI → real-time speech to text through Speech SDK, Speech CLI, or real-time REST where supported.
  2. One prerecorded file where the editor needs quick transcript/subtitle timing → fast transcription API, if the file and region fit.
  3. Many prerecorded files, long back catalog, storage-based processing, diarization at scale, or custom speech model use → batch transcription.
  4. Narration, voiceover, accessibility read-aloud, or generated dialogue → text to speech with a selected standard/HD/custom/personal voice and SSML.
  5. Audiobook, long lesson, long article, or thousands of narration segments → batch synthesis; do not force real-time synthesis for long-form work.
  6. Source speech in one language with output text or spoken translation → speech translation or LLM Speech depending on latency, prompt-tuning, and output needs.
  7. Existing video localization with translated video output → video translation.
  8. Talking avatar driven by Azure Speech voice output → text-to-speech avatar. Use only when the avatar itself is part of the deliverable; otherwise generate audio and composite separately.
  9. Domain jargon or acoustic mismatch causing transcription errors → phrase list/custom speech evaluation, then custom speech training if the measured gain justifies it.

Do not represent diarization as speaker identity. Azure Speech diarization labels speakers such as Guest1/Guest2 and is not designed to identify individuals. Source: https://learn.microsoft.com/en-us/azure/foundry/responsible-ai/speech-service/speech-to-text/transparency-note

Speech to text for captions, transcripts, and editorial logging

Real-time transcription

Use real-time transcription when the user needs immediate partial/final results for live captions, live notes, dictation, or a responsive voice application.

Documented facts:

Production heuristics:

Fast transcription

Use fast transcription when the user needs a synchronous transcript for one audio/video file with predictable latency, for example quick subtitles, edit prep, meeting notes, or voicemail.

Documented facts:

Production heuristics:

Batch transcription

Use batch transcription when the user has many prerecorded files, long material, storage-based ingest, asynchronous processing, diarization, word-level timestamps, or a custom speech model.

Documented facts:

Production heuristics:

Diarization and speaker separation

Documented facts:

Production heuristics:

Captions and subtitles

Documented facts:

Production heuristics:

Text to speech for narration and synthetic voices

Voice selection

Documented facts:

Production heuristics:

SSML as the production control surface

Documented facts:

Production heuristics:

Batch synthesis for long audio

Documented facts:

Production heuristics:

Custom voice, personal voice, and consent boundaries

Documented facts:

Production heuristics:

Speech translation, LLM Speech, and video localization

Documented facts:

Production heuristics:

Text-to-speech avatars

Documented facts:

Production heuristics:

Regions, quota, pricing, and governance checks

Before accepting an Azure Speech plan, run these checks:

  1. Region: verify that the chosen Azure Speech resource region supports the exact feature: fast transcription, batch synthesis, avatar, LLM Speech, Voice Live, personal voice, or video translation. Microsoft states that core features are broad but some features require specific regions. Source: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/regions
  2. Data residency: Azure Speech documentation states data is stored or processed only in the region where the Speech resource is created. Source: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/regions
  3. Language/voice: verify target locale and voice support for the exact feature. Language support varies by functionality. Source: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support
  4. Quotas: verify F0/S0 tier, concurrency, request rate, file size, duration, endpoint, dataset, avatar, LLM Speech, and batch limits. Source: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-services-quotas-and-limits
  5. Pricing: verify current region/currency pricing and billing units. Microsoft’s pricing page bills STT in audio time, TTS per character, avatar per second/minute depending on table section, custom training/hosting separately, and notes fast transcription requires REST API 2024-11-15 or later for fast transcription pricing. Source: https://azure.microsoft.com/en-us/pricing/details/speech/
  6. Access: verify Limited Access approval for custom neural voice, personal voice, and custom avatar. Source: https://learn.microsoft.com/en-us/azure/foundry/responsible-ai/speech-service/text-to-speech/limited-access
  7. Authentication: prefer Microsoft Entra ID/keyless authentication for production where documented; protect API keys if used. Source: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/llm-speech
  8. Retention: for batch transcription, set output storage and timeToLive intentionally. Source: https://learn.microsoft.com/en-us/azure/foundry/responsible-ai/speech-service/speech-to-text/data-privacy-security

Operational observations:

Privacy, safety, consent, and rights

Documented facts:

Production heuristics:

Production QA checklist

For transcription/captions:

For TTS/narration:

For localization/dubbing:

Example: fast subtitle draft for an urgent product demo

Example intent: Generate draft English subtitles for a 14-minute product walkthrough within an editing session.

Applicable Azure capability: Fast transcription API, if the resource region supports it and the file is under current limits.

Inputs and constraints:

Workflow:

  1. Verify region supports fast transcription and confirm current file-size/duration limits.
  2. Upload inline if small; use public URL for long file.
  3. Call fast transcription with known locale, word-level timestamps, and desired profanity policy.
  4. Convert result to captions with editorial line breaking.
  5. QA a beginning/middle/end sample against audio before burning in.

Expected result: A quickly returned human-readable transcript with timing data suitable for draft subtitles.

Failure modes:

Variation: If there are 250 videos, switch to batch transcription and process from Blob Storage instead of calling fast transcription one file at a time.

Example: batch transcription with diarization for a podcast archive

Example intent: Transcribe 600 podcast episodes for searchable show notes and speaker-labeled editorial review.

Applicable Azure capability: Batch transcription.

Inputs and constraints:

Workflow:

  1. Confirm batch transcription region, quotas, pricing, and storage permissions.
  2. Submit batches by show/season, not all files in one fragile job.
  3. Enable diarization and word-level timestamps.
  4. Set output storage and timeToLive.
  5. Poll job status; collect transcript and report artifacts.
  6. Map Guest labels to real speaker names manually during editorial QA.
  7. Sample WER and WDER-like errors by episode type: studio, remote, live, noisy.

Expected result: Asynchronous transcript files with text, timestamps, and guest speaker labels for each episode.

Failure modes:

Variation: If domain jargon creates repeated errors, use custom speech evaluation and train a custom model only after measuring baseline error patterns.

Example: SSML narration for a polished explainer

Example intent: Generate a calm, premium 60-second narration for a SaaS launch video.

Applicable Azure capability: Real-time text to speech or batch synthesis depending on volume; standard neural or HD voice after audition.

Example SSML:

<speak version="1.0" xml:lang="en-US"
       xmlns="http://www.w3.org/2001/10/synthesis"
       xmlns:mstts="https://www.w3.org/2001/mstts">
  <voice name="en-US-AvaMultilingualNeural">
    <prosody rate="-6%" pitch="-1st">
      Your team does not need another dashboard.
      <break time="350ms"/>
      It needs one place where risk, revenue, and work in progress finally agree.
    </prosody>
    <break time="500ms"/>
    <prosody rate="-3%">
      Meet Contoso Atlas: the operating layer for decisions that cannot wait.
    </prosody>
  </voice>
</speak>

Parameters:

Why structured this way: moderate pauses and slower rate create edit points without over-stylizing the voice.

Expected result: Clean narration stem ready for loudness normalization and mix.

Failure modes:

Variation: For a long training course, use batch synthesis and a manifest of chapter IDs rather than real-time calls.

Example: custom voice request triage

Example user request: “Clone our CEO’s voice for all investor update videos.”

Correct approach:

  1. Treat this as custom neural voice or personal voice only if official limited-access requirements, approved use case, and explicit consent are satisfied.
  2. Ask for proof of authorization, talent consent, intended contexts, disclosure plan, usage term, channels, territories, and revocation policy.
  3. If the user only needs a similar executive tone, recommend auditioning standard/HD voices instead of cloning.
  4. If authorized, build a voice persona and test script before collecting training data.

Expected result: Either a compliant custom voice plan or a safer standard-voice casting plan.

Failure modes:

Variation: For a presenter avatar, require likeness rights and avatar talent consent in addition to voice rights.

Sources verified on 2026-07-10

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.