azure-text-to-speech
What it does
This skill turns written text into spoken narration with Azure neural voices. It is for video makers who need a high-quality voiceover in many languages.
When to use it
- βWhen your video needs a voiceover or narration from a written script.
- βWhen you want a high-quality cloud voice in a language other than your local tool supports.
- βWhen you want to control pacing or a speaking style with markup.
Skill link
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/azure-text-to-speech/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βTurn this script into a warm, friendly voiceover for my tutorial video.β
5 new skills a week. 1 minute to read.
How it works
The agent sends the text and chosen voice to the Azure speech service, which returns an audio file. You can adjust the pacing and style using a simple markup language.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Azure AI Speech β Text-to-Speech
Generate narration with Azure neural TTS β high-quality multilingual voices,
SSML prosody control, and express-as styles, served synchronously by the REST
/cognitiveservices/v1 endpoint (no token exchange, Blob storage, or job
polling). In OpenMontage this is exposed through the azure_tts tool
(capability=tts, provider=azure). It is an optional cloud TTS provider β
when AZURE_SPEECH_KEY is configured, prefer it for high-quality cloud
narration. The local piper_tts remains the default offline path and the
fallback when Azure is unavailable; elevenlabs_tts remains the choice for
voice cloning.
Docs: REST text to speech Β· Voice gallery
Setup
Same Speech resource as azure_stt β one key/region unlocks both directions
(STT and TTS). Create a Speech resource in the
Azure portal; copy the key and region from its
Keys and Endpoint page.
export AZURE_SPEECH_KEY=your_speech_resource_key
export AZURE_SPEECH_REGION=eastus # your resource's region
# export AZURE_TTS_ENDPOINT=https://... # optional: full custom TTS host
# (the TTS host is https://<region>.tts.speech.microsoft.com β a different
# subdomain than the STT endpoint, hence the separate override var)
azure_tts reports AVAILABLE once AZURE_SPEECH_KEY plus either
AZURE_SPEECH_REGION or AZURE_TTS_ENDPOINT are set.
Using it in a pipeline
Route through tts_selector as usual (it auto-discovers azure_tts), or call
the provider tool directly when the user has approved Azure:
from tools.tool_registry import registry
registry.discover()
tts = registry._tools["azure_tts"]
result = tts.execute({
"text": "Every design decision in this dashboard has a reason.",
"voice": "andrew", # alias or full Azure short name
"rate": "-4%", # slightly slower for narration
# "style": "narration-professional", # for voices that support styles
"output_path": "projects/my-video/assets/audio/seg_001.mp3",
"output_format": "mp3", # or "wav" (48kHz PCM) for mixing
})
If azure_tts is unavailable (no key) or errors, fall back per its declared
chain: elevenlabs_tts β openai_tts β piper_tts.
Voice selection
Curated shortlist (aliases accepted by the voice param):
| Alias | Voice | Character |
|---|---|---|
andrew |
en-US-AndrewMultilingualNeural | warm, confident, conversational β the default; founder/explainer register |
brandon |
en-US-BrandonMultilingualNeural | deeper, measured |
ava |
en-US-AvaMultilingualNeural | confident, bright female |
guy |
en-US-GuyNeural | authoritative |
jenny |
en-US-JennyNeural | friendly, clear |
Any valid Azure voice short name may be passed verbatim (e.g.
de-DE-KatjaNeural); the Multilingual voices handle non-English text well β
set locale to match the text's language for correct SSML.
Parameters that matter
rate/pitchβ SSML prosody. Narration usually reads best slightly slowed ("-4%"to"-8%"); leave pitch at"0%"unless correcting a voice.styleβ express-as style for voices that support it (narration-professional,calm,newscast). Unsupported styles are silently ignored by Azure, so listen to a sample before batch runs.output_formatβmp3(48kHz/192kbit) for delivery,wav(48kHz PCM) when the segment feedsaudio_mixerfor further processing.- Determinism: a fixed voice + SSML re-renders effectively identical audio β safe to regenerate individual segments without re-recording the whole set.
Cost
Azure neural TTS Standard tier bills roughly $16 per 1M characters (~$0.016
per 1k chars; a 150-word narration segment β $0.015). The tool reports
per-call cost_usd for the cost tracker. See
Azure AI Speech pricing for current rates.
Limits & tips
- One
executecall = one narration segment. Generate per script section (the asset stage convention) rather than one giant paragraph β smaller segments align cleanly to scene timings and are cheap to regenerate. - The synchronous endpoint caps a request at 10 minutes of audio β far above any segment OpenMontage generates.
- Text is XML-e
FAQ
What do I need to set up?
You use the same Azure Speech key and region as the transcription skill.
What if Azure is not set up?
A local text-to-speech tool is the default offline option.
Can it clone my voice?
No. The skill says a different tool is used for voice cloning.
Details
Original description by the author
Generate neural narration audio using Azure AI Speech (REST text-to-speech). Use when synthesizing voiceovers or narration in OpenMontage. Optional cloud TTS provider β preferred when AZURE_SPEECH_KEY is configured; the local piper_tts remains the default offline path. Shares one Speech resource with azure_stt.
repo: calesthio/OpenMontage
Popularity
- GitHub stars
- 75k
- Ranking position
- #2641
- License
- AGPL-3.0
- Updated
- 10/28/2026
Comments
- β¦
More skills from this repository
3d-asset-generation
75kHelps your agent choose how to create 3D objects for a scene, using catalogs, text or image to 3D tools, and Blender for final assembly.
acestep
75kHelps your agent create background music, songs, jingles, and stems for a video using the open ACE-Step music generator.
agents
75kHelps your agent build voice AI assistants with ElevenLabs, such as customer service bots and interactive voice characters.
ai-video-gen
75kHelps your agent generate AI video clips from a text description or a reference image, choosing from several video generation services.
Similar skills
openai-whisper-api
394kLets your agent turn an audio recording into text using OpenAI's transcription service, with options for speaker labels and output files.
openai-whisper
394kHelps your agent transcribe audio on your own computer with the Whisper command, with no API key and no cloud upload needed.
sag
394kHelps your agent read text aloud with ElevenLabs voices and play the result on your computer, with tips for pronunciation and expression.