Guzzle can do this out of the box! This technique is also used to power some of the checks in Oh Dear.
PHP
Clone Your Voice: Local Text-to-Speech With Chatterbox and the Laravel AI SDK
Nico Devs shows how to clone your voice locally with Chatterbox and connect it to the Laravel AI SDK. The guide covers generating voiceovers from documents, queueing audio generation, and testing with the SDK’s fakes. Read more…