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
Option 1: Via pip
You can install the engine directly from PyPI: 📦 Installation Option 1: Install via pip
pip install onyx-AI-XTTS-v2
Option 2: requirements.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
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.2.tar.gz.
File metadata
- Download URL: onyx_ai_xtts_v2-0.1.2.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 |
aa4914584a898a92264c789f824a2dc89a5a0e3cff930847cd052fc6a46702f0
|
|
| MD5 |
fda9bfd58e4066017f6e5e8b55a1abee
|
|
| BLAKE2b-256 |
f3af4bc7d86aa80d6cc2e80e3343df69a750b88ced9f73df7e0ed9ab5064d4b3
|
File details
Details for the file onyx_ai_xtts_v2-0.1.2-py3-none-any.whl.
File metadata
- Download URL: onyx_ai_xtts_v2-0.1.2-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 |
e67e926566ccd5f8c4d239d7f8ddea3cdbe6021bc5c75674f7e0044698d6d35b
|
|
| MD5 |
b7a554243dcbe38ef5c3b47c319abf2a
|
|
| BLAKE2b-256 |
fac30b98649a8a9166446e23e4075d0d7ea40c0cba1f2ebb4804b85b9591cae4
|