xtapo / tts-azure-web

TTS Azure Web is an Azure Text-to-Speech (TTS) web application. It allows you to run it locally or deploy it with a single click using your Azure Key.

Home Page:https://tts.femoon.top

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TTS Azure Web

English / 简体中文

TTS Azure Web is an Azure Text-to-Speech (TTS) web application. Fine-tune the output speech results using Speech Synthesis Markup Language (SSML). It allows you to run it locally or deploy it with a single click using your Azure Key.

Key Features:

  • Supports selection of voice, language, style, and character.
  • Supports adjustments of speech speed, intonation, and volume.
  • Supports audio output download.
  • One-click deployment for both local and cloud environments

This application is ideal for those looking to minimize setup while experiencing the full capabilities of Azure TTS.

Live demo: https://tts.femoon.top

Getting Started

Get your API Key

  • Go to Microsoft Azure Text to Speech and click "Try Text to Speech Free"
  • Go to Azure AI services
  • In the "Speech services" block, click "Add"
  • A region and two subscription keys will be listed beside Speech Services. You only need one key and its corresponding region.

Deploy on Vercel

Deploy with Vercel

Development

Before starting development, you must create a new .env.local file at project root, and place your azure key and region into it:

# your azure key (required)
SPEECH_KEY=your_azure_key
# your azure region (required)
SPEECH_REGION=your_azure_region
# Maximum input length limit (optional)
NEXT_PUBLIC_MAX_INPUT_LENGTH=4000

Run the development server:

# install dependencies
pnpm i
# run serve
pnpm run dev

Open http://localhost:3000 with your browser to see the result.

Git commit specification reference

  • feat add new functions
  • fix Fix issues/bugs
  • perf Optimize performance
  • style Change the code style without affecting the running result
  • refactor Re-factor code
  • revert Undo changes
  • test Test related, does not involve changes to business code
  • docs Documentation and Annotation
  • chore Updating dependencies/modifying scaffolding configuration, etc.
  • ci CI/CD

About

TTS Azure Web is an Azure Text-to-Speech (TTS) web application. It allows you to run it locally or deploy it with a single click using your Azure Key.

https://tts.femoon.top

License:MIT License


Languages

Language:TypeScript 89.5%Language:CSS 5.3%Language:Dockerfile 4.1%Language:JavaScript 0.7%Language:Shell 0.3%