TTS-V / README.md
nhantrungsp's picture
Upload 5 files
7d86c3e verified
metadata
title: Edge-TTS Service
emoji: 🎙️
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit

Edge-TTS Service

A simple Text-to-Speech service using Microsoft Edge TTS.

Features

  • 🌍 Support 75+ languages
  • 🎤 Multiple voices per language
  • ⚙️ Adjustable speed, pitch, and volume
  • 🔌 Easy API access via gradio_client

Usage

Web Interface

Just visit the Space URL and use the interface!

API Usage

from gradio_client import Client

client = Client("YOUR_USERNAME/YOUR_SPACE_NAME")

result = client.predict(
    text="Xin chào, đây là test TTS",
    voice="vi-VN-HoaiMyNeural | Female",
    rate=0,
    pitch=0,
    volume=0,
    api_name="/predict"
)

audio_file = result[0]
status = result[1]
print(f"Audio saved to: {audio_file}")

Supported Languages

Vietnamese, English, Portuguese, Spanish, French, German, Japanese, Korean, Chinese, and 60+ more!

License

MIT License