S2ST / README.md
TGPro1's picture
Upload README.md with huggingface_hub
419a48e verified
---
title: Unified AI Engine
emoji: πŸš€
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
---
# Unified AI Engine
Backend API for real-time multilingual translation with:
- πŸŽ™οΈ Speech-to-Text (Whisper large-v3)
- 🌍 Translation (NLLB-200)
- πŸ”Š Text-to-Speech (XTTS-v2 with voice cloning)
## API Endpoint
POST to `https://tgpro1-s2st.hf.space/` with JSON:
```json
{
"action": "stt|translate|tts|health",
"file": "base64_audio", // for STT
"text": "text to process", // for translate/TTS
"lang": "en",
"target_lang": "fr", // for translation
"speaker_wav": "base64_audio" // optional for voice cloning
}
```