FluentVox: AI Text-to-Speech for Laravel with Voice Cloning and GPU Acceleration
Published on by Paul Redmond
FluentVox wraps Resemble AI's Chatterbox text-to-speech engine in a Laravel-style PHP API with companion CLI tooling. It targets production use with automatic hardware detection, model downloads, voice cloning, and multilingual output.
$result = FluentVox::make() ->text('Hello, world! This is FluentVox speaking.') ->generate();
FluentVox Highlights
- Fluent, chainable PHP API for text-to-speech
- Voice cloning from reference audio files
- Multilingual model with 23+ languages
- GPU acceleration with CUDA and Apple Metal (MPS)
- Full CLI for install, doctor, model management, and generation
Fluent PHP API for Chatterbox TTS
The package exposes a Laravel-inspired builder (FluentVox::make()) for configuring text, model selection (standard, turbo, multilingual), pacing, expression, and output settings before generating speech.
Voice Cloning and Multilingual Models
Developers can clone a speaker from a reference audio file or switch to the multilingual model to generate speech in 23+ languages with native pronunciation and intonation.
Hardware-Aware Acceleration
FluentVox auto-detects CUDA, Apple Metal (MPS), or CPU-only environments, selecting the fastest available device.
CLI for Installation and Generation
The bundled vendor/bin/fluentvox commands handle Python dependency setup, model downloads, environment diagnostics, and one-off audio generation or conversion.
Configurable Output and Conversion
You can set default sample rates, destinations, formats (WAV, MP3, M4A, OGG, Opus, FLAC), and convert generated audio with FFmpeg-powered helpers.
You can install this package via Composer:
composer require b7s/fluentvoxvendor/bin/fluentvox install
FluentVox requires PHP 8.3+, Python 3.10+, and benefits from CUDA or Apple Metal (MPS) when available. Use vendor/bin/fluentvox doctor to confirm system compatibility, installed models, and available devices.
💻 You can get started with this package on GitHub: b7s/fluentvox