Skip to main content

Professional Voice Cloning and TTS Engine using XTTS v2

Project description

alt text

🎙️ 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

onyx_ai_xtts_v2-0.1.4.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onyx_ai_xtts_v2-0.1.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file onyx_ai_xtts_v2-0.1.4.tar.gz.

File metadata

  • Download URL: onyx_ai_xtts_v2-0.1.4.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

Hashes for onyx_ai_xtts_v2-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7483b0eb4327f0376f862912bfc8ee0ecf19de49179869006be19166c5598690
MD5 da266ffd1fcd94f4e39400a745831e83
BLAKE2b-256 646784da79bd3b8211bb052006a9e1f65c7f8c445170064d04ebf785c35272e7

See more details on using hashes here.

File details

Details for the file onyx_ai_xtts_v2-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for onyx_ai_xtts_v2-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 55b35f61da03669541e5181bffb153626dd84ce24b84cc3dc3ec98b277594a3b
MD5 781a2a0902d62d161efe21142a18e14a
BLAKE2b-256 d66e60442d0dbe73b983ed6aafefa2e3723128bb4aab03c8dc2cb362439e1644

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page