A text-to-speech model built on GPT-4o mini, a fast and powerful language model. Use it to convert text into natural-sounding spoken audio.
Free
Not enough throughput data
Not enough TTFT data
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="gpt-4o-mini-tts:free", voice="alloy", input="Hello from NagaAI Text-to-Speech!" ) resp.stream_to_file(speech_file_path)