CN8 is an AI gateway: a single proxy layer that gives you access to AI capabilities — chatbots with RAG, multi-agent orchestration, LLM completions, dubbing, TTS, media generation, and production-grade video/audio processing — all through one consistent API with unified auth, billing, and usage tracking.
Text-to-Speech
tts
Convert text to natural-sounding speech across three providers (ElevenLabs, MiniMax, OpenAI).
The TTS API gives you three providers behind one endpoint. ElevenLabs and MiniMax support 13+ languages with language + gender voice selection (and voice cloning). OpenAI offers six language-agnostic voices. The voice is chosen from voice_id first, then language + gender. Per-call voice cloning is available via clone_from_audio / clone_from_video.
POST core-tts: text + provider + (language+gender or voice_id) → audio url + duration_seconds
GET core-tts-voices: per-provider catalog (elevenlabs / minimax / openai), each with capability flags
Optional per-call voice cloning: clone_from_audio or clone_from_video