Neural text-to-speech API with six distinct voice options: alloy, echo, fable, onyx, nova, and shimmer. Supports real-time streaming, multiple output formats, and adjustable playback speed with natural prosody.
Six expressive voices spanning gender and tonal range
Real-time streaming output for low-latency applications
HD mode provides studio-quality synthesis at higher fidelity
Generate natural-sounding narration for long-form content with consistent voice quality.
Deliver voice alerts and notifications with expressive, human-like speech synthesis.
Produce audio content in multiple languages from a single text source.
Power low-latency voice responses in interactive applications and games.
// OpenAI TTS — Text-to-Speech
import { synthesize } from "@arkitekton/voice";
const audio = await synthesize({
model: "vm-oai-005",
vendor: "openai",
input: "Hello, welcome to Arkitekton.",
voice: "alloy",
response_format: "mp3",
speed: 1.0,
});
// Play the audio
const blob = new Blob([audio], { type: "audio/mp3" });
const url = URL.createObjectURL(blob);
const player = new Audio(url);
player.play();Foundation models for real-time voice and transcription