article --summary
The summary
This tutorial shows how to run Chatterbox, a text-to-speech model, locally so it can reproduce your own voice from a recording. The author then connects that setup to the Laravel AI SDK, so a Laravel application can request spoken audio the same way it handles other AI calls.
The guide goes on to cover two practical parts: turning the text of documents into voiceover audio, and moving that generation into queued jobs so long renders don't block requests. It also explains how to test these features with the SDK's fake classes, which avoids calling a real model during the test suite.
Editorial note: This is a summary of an article first published by freek.dev. The full piece is on their site.