🎙️ 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.
Metadata
Release files for onyx-AI-XTTS-v2 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| onyx_ai_xtts_v2-0.1.5.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| onyx_ai_xtts_v2-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / onyx_ai_xtts_v2-0.1.5.tar.gz
| Download URL | onyx_ai_xtts_v2-0.1.5.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ab5cc3132812107c2f6cd20ba64167d0469def9fdc6ae796c767065a4255d83
|
|
BLAKE2b-256 checksum How to use checksums |
a2074e23848ed6f403d71735b930938508a9f10219bcb003412236c4d7e71461
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / onyx_ai_xtts_v2-0.1.5-py3-none-any.whl
| Download URL | onyx_ai_xtts_v2-0.1.5-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d652a70943b1d934b396839013ddee79dd78dc81c66536118318bfcd2f8e324
|
|
BLAKE2b-256 checksum How to use checksums |
3a3eaa3e1b40fab3b33f6d59d129b8f237f52ade2f01a45946ee7b59fe8cdacc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|