Amazon transcribe

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

Amazon transcribe is an AI agent skill from the GitHub repository calesthio/generative-media-skills. Use Amazon Transcribe for AWS-based speech-to-text production: batch S3 transcription, real-time streaming, captions/subtitles, diarization, channel identification, custom vocabularies, vocabulary filters, language identification, PII/PHI handling, toxicity detection, Call Analytics, Medical, and se

How to use this skill

Skill file

Amazon Transcribe

Use this skill when an agent needs to plan, run, review, or troubleshoot Amazon Transcribe as a speech-to-text provider inside an AWS-controlled workflow. Treat Amazon Transcribe as an AWS custody option first: it is strongest when the media already belongs in S3, the organization needs IAM/KMS/CloudTrail governance, captions must be generated from batch files, or real-time transcripts must flow through AWS streaming endpoints.

Do not use this skill as a generic "best transcription model" ranking. Compare accuracy, latency, cost, language coverage, and custody requirements against the actual job. For healthcare, call-center analytics, and sensitive audio, separate the general Transcribe path from the Medical and Call Analytics products before choosing.

Facts below were verified against AWS documentation on 2026-07-10 unless a line says otherwise.

Choose the right Amazon Transcribe surface

Documented fact: Amazon Transcribe is an automatic speech recognition service that converts audio to text. It can be used through asynchronous batch jobs for media files or real-time streaming for live audio. Sources: What is Amazon Transcribe, Streaming audio, StartTranscriptionJob API.

Use this decision map:

Production heuristic: for edited media and caption deliverables, prefer batch unless the user explicitly needs live text. For two-person recordings with each speaker isolated on a channel, prefer channel identification over diarization. For unknown single-channel speakers, use diarization and plan a human speaker-name pass.

Input and output contract

Documented facts:

Production heuristic:

Feature boundaries that matter in production

Speaker labels versus channel identification

Documented facts:

Production heuristic:

Custom vocabulary, custom language models, and vocabulary filters

Documented facts:

Production heuristic:

Language identification

Documented facts:

Production heuristic:

PII, PHI, redaction, and toxicity

Documented facts:

Production heuristic:

AWS custody, security, and permissions

Documented facts:

Production checklist:

  1. Confirm the AWS account, region, and data residency requirement before upload.
  2. Use customer-owned S3 buckets for regulated or long-lived transcripts; avoid service-managed output when retention, lifecycle, or auditability matters.
  3. Enable bucket encryption and choose SSE-KMS if the customer needs key-policy control or KMS audit trails.
  4. Grant only the required actions: transcribe:StartTranscriptionJob, transcribe:GetTranscriptionJob, transcribe:ListTranscriptionJobs as needed, S3 read on the input prefix, S3 write on the output prefix, and KMS decrypt/encrypt/generate-data-key only when necessary.
  5. Configure CloudTrail and lifecycle deletion for raw media, JSON, SRT/VTT, temporary derivatives, and redacted/unredacted variants.
  6. If privacy policy requires no AI-service content improvement use, confirm the AWS Organizations opt-out policy before processing sensitive audio.

Quotas, pricing, and regional availability

Volatile facts verified 2026-07-10:

Production heuristic:

Example: batch caption job for an edited video

Example intent: create English captions and a JSON transcript for a final video already uploaded to S3. The job needs a custom vocabulary for product names, diarization is not needed, and output should land in a customer-owned S3 prefix.

import time
import boto3

region = "us-west-2"
job_name = "launch-video-captions-20260710"
input_uri = "s3://example-prod-media/final/launch-video.wav"
output_bucket = "example-prod-transcripts"
output_key = "captions/launch-video/"

transcribe = boto3.client("transcribe", region_name=region)

transcribe.start_transcription_job(
    TranscriptionJobName=job_name,
    Media={"MediaFileUri": input_uri},
    OutputBucketName=output_bucket,
    OutputKey=output_key,
    LanguageCode="en-US",
    Settings={
        "VocabularyName": "launch-product-terms-en-us"
    },
    Subtitles={
        "Formats": ["srt", "vtt"],
        "OutputStartIndex": 1
    },
    Tags=[
        {"Key": "project", "Value": "launch-video"},
        {"Key": "data-class", "Value": "public-after-review"}
    ],
)

while True:
    job = transcribe.get_transcription_job(TranscriptionJobName=job_name)
    status = job["TranscriptionJob"]["TranscriptionJobStatus"]
    if status in ("COMPLETED", "FAILED"):
        break
    time.sleep(15)

print(status)
print(job["TranscriptionJob"])

Why this structure:

Review before delivery:

Example: call-center stereo transcription choice

Example intent: transcribe recorded support calls where the agent is on the left channel and the customer is on the right channel. The product team wants text for search and QA, not sentiment or automatic call summaries.

Recommended approach:

  1. Use standard batch Transcribe with ChannelIdentification, not Call Analytics.
  2. Set LanguageCode if known; use language identification only if calls may arrive in multiple languages.
  3. Use a vocabulary for product names and a vocabulary filter for terms that must be masked or flagged.
  4. Keep channel labels in the transcript and map ch_0/ch_1 to the recording system's channel convention.
  5. Escalate to Call Analytics only if the user asks for call categories, sentiment, talk-time metrics, interruptions, or generative call summaries.

Reasoning:

Example: real-time stream constraints

Example intent: add live captions to an internal event.

Plan:

  1. Use streaming Transcribe over HTTP/2 or WebSocket.
  2. Feed real-time audio in a supported streaming format: FLAC, Ogg Opus, or PCM.
  3. Provide the language code if known; otherwise use streaming language identification.
  4. Use partial results for on-screen provisional captions and final results for logs.
  5. If captions are published after the event, rerun the final recording through batch and edit the subtitles rather than relying only on live output.

Production heuristic: live captions optimize latency, not perfect editorial quality. For a public recording, batch-transcribe the final mixed audio afterward and perform a subtitle QA pass.

Production QA rubric

Review every consequential transcript before release:

Official sources

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.