📄️ Quickstart
Create a client with your API key, then call any of the four resources: voices(), tts(), balance(), and tasks().
📄️ Laravel Usage
Once your API key is set in config/services.php (see Installation & Setup), you can resolve the client three ways.
📄️ Testing in Laravel
When testing code that calls the DhivehiGPT API, you don't want your test suite making real HTTP requests. Use DhivehiGpt::fake().
📄️ Voices
Browse the available Text-to-Speech (TTS) voices available for audio generation, via $dhivehigpt->voices().
📄️ Text-to-Speech (TTS)
Generate and manage API-created Text-to-Speech (TTS) audios, via $dhivehigpt->tts().
📄️ Subscription Balance
View the subscription and credit balance associated with the current API key's team, via $dhivehigpt->balance().