Skip to content

为你的 Dify 智能体赋予真实、生动、多语种的语音合成功能 —— 基于微软 Edge TTS 引擎。Give your Dify agent real, vivid, multilingual voice synthesis capabilities—based on the Microsoft Edge TTS engine.

Notifications You must be signed in to change notification settings

ZZM-user/edge_tts

Repository files navigation

🎧 Dify Edge-TTS Plugin

⚡️ Empower your Dify agent with realistic, expressive, and multilingual speech synthesis — powered by Microsoft Edge TTS.

🚀 Plugin Overview

The Dify Edge-TTS Plugin integrates Microsoft's Edge TTS engine to convert text into natural, fluent speech. Whether you're narrating novels, dubbing short videos, or enabling accessibility in applications, this plugin is built to handle it all.

🔊 Key Features

  • Supports 100+ neural voice models
  • Covers 45+ languages and regions
  • Allows customization of speaking rate, pitch, audio format (e.g., wav), and more

🧩 Use Cases

  • Auto voice-over for novel/story-based short videos
  • Voice responses for chat and Q&A agents
  • Educational tools, language learning, and reading assistance
  • Voice prompts in accessibility devices
  • Automated voice generation in content workflows

🛠 Installation & Configuration

📦 Installation Methods

You can install this plugin in two ways:

  1. Via Dify Marketplace (Recommended)
  2. Manual Installation:
    • Clone this repository or download the .difypkg file
    • Upload it to your local Dify instance for installation

🔐 Prerequisite: Get Your API Credentials

To use this plugin, you need to obtain a free TTS service key from Microsoft Azure Speech Services. You will need the following:

  • speech_key (Your Azure TTS API Key)
  • service_region (e.g., eastasia, westeurope, etc.)

👉 Azure TTS Voice Gallery Console

⚠️ If you’re using Azure China, please make sure to switch to the China-specific Azure site.

About

为你的 Dify 智能体赋予真实、生动、多语种的语音合成功能 —— 基于微软 Edge TTS 引擎。Give your Dify agent real, vivid, multilingual voice synthesis capabilities—based on the Microsoft Edge TTS engine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages