Professional Voice Cloning and TTS Engine using XTTS v2
Project description
🎙️ ONYX AI XTTS v2 Engine
Professional Voice Cloning and Text-to-Speech engine built for ONYX platform.
📦 Installation
pip install onyx-AI-XTTS-v2
```bash
🚀 Quick Start
```bash
Python
from ONYXAI_XTTS import OnyxXTTS
engine = OnyxXTTS()
if __name__ == "__main__":
engine.run(port=7860)
Option 2: requirements.txt
```txt
--extra-index-url https://download.pytorch.org/whl/cpu
fastapi
uvicorn
python-multipart
torch==2.1.2
torchaudio==2.1.2
torchvision==0.16.2
transformers==4.35.2
TTS==0.22.0
numpy<2.0.0
langdetect
onyx-AI-XTTS-v2
💻 Usage ▶ Standard Script
from ONYXAI_XTTS import OnyxXTTSEngine
import uvicorn
import os
# 1. تهيئة المحرك
# المحرك رح يتعامل مع الـ Patch والـ CPU والـ API تلقائياً
engine = OnyxXTTSEngine()
# 2. الوصول لنسخة FastAPI
app = engine.app
@app.get("/")
def home():
return {
"message": "ONYX XTTS v2 Engine is running!",
"status": "Ready for Voice Cloning"
}
if __name__ == "__main__":
port = int(os.environ.get("PORT", 7860))
uvicorn.run(app, host="0.0.0.0", port=port)
---
🛠 API Usage
Endpoint
POST /upload-voice POST /generate-with-cloned-voice
🔗 Links Organization: ONYX / RUI Company Author: Eng. Rawan Jassim
© 2026 ONYX. All rights reserved.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
onyx_ai_xtts_v2-0.1.1.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file onyx_ai_xtts_v2-0.1.1.tar.gz.
File metadata
- Download URL: onyx_ai_xtts_v2-0.1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eac3b7cdc37250debfc7c88edf53ae7790f32adb7fd22e46bb64b97df5ce77fe
|
|
| MD5 |
31a078563c8d4b3f34e700e441c54f28
|
|
| BLAKE2b-256 |
0b32da23758b918eb1e525ce5083abea618de00d367858e746496e6063751d33
|
File details
Details for the file onyx_ai_xtts_v2-0.1.1-py3-none-any.whl.
File metadata
- Download URL: onyx_ai_xtts_v2-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f70f085e7a5b9cfba4686e9064a7b0ce3ca90f52e307a9865f7323101ed2420
|
|
| MD5 |
9f6e1cacde436d4f8ec1d56c4335e599
|
|
| BLAKE2b-256 |
4b2d73a10f1c064413e302f100bb27d51ee7560c94b2ecfe6e534e0c5170c241
|