Audio Generator Field
Generate audio file using free AI models directly on Filament Panel
Author:
Michael Douglas
Documentation
This custom field allows you to generate audios with different languages and voices using free AI voice generator. It extends the FileUpload field and adds a button to open the audio generator modal where you can generate the audio file.
Before you begin, you must have the Laravel Filament package installed and configured. If you haven't done this yet, you can find the installation instructions here.
#Install the package via composer
Run the following command in your terminal to install the package:
composer require michaeld555/filament-audio-generator-field
You can publish the config file with:
php artisan vendor:publish --tag="filament-audio-generator-field-config"
Optionally, you can publish the translations files:
php artisan vendor:publish --tag="filament-audio-generator-field-translations"
#Usage

Just add new Field or replace your FileUpload field with AudioGenerator field in your form schema definition:
use \Michaeld555\AudioGeneratorField\Forms\Components\AudioGenerator;
[...]
public static function form(Form $form): Form
{
return $form
->schema([
AudioGenerator::make('audio'),
]);
}
You could use all the same options as FileUpload field, for example:
use \Michaeld555\AudioGeneratorField\Forms\Components\AudioGenerator;
AudioGenerator::make('audio')
->disk('private')
->audioGenerator(false) // hide the 'Generate with AI' button,
After you add the field to your form, you should see a button next to the file input. When you click the button, the audio generator modal will open.

#Credits
#License
The MIT License (MIT). Please see License File for more information.
The author
From the same author
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle