from openai import OpenAI from pathlib import Path client = OpenAI(base_url="https://api.naga.ac/v1", api_key="YOUR_API_KEY") speech_file_path = Path("speech.mp3") resp = client.audio.speech.create( model="orpheus-3b-0.1-ft", voice="alloy", input="Hello from NagaAI Text-to-Speech!" ) resp.stream_to_file(speech_file_path)
Orpheus TTS is a SOTA open-source text-to-speech system built on the Llama-3b backbone. Orpheus demonstrates the emergent capabilities of using LLMs for speech synthesis.