To use your own templates or for any other customizations, you can publish generator templates and can do whatever changes you want.
To publish templates run the following command,
php artisan infyom.publish:templates
It will export all templates including api, scaffold and swagger to the
resources/infyom/infyom-generator-templates or your
Keep only those templates that you want to change. Remove the templates that you are not going to change.
You can also create a custom template for other theme. Publish it as a package and then add it in composer.json as a dependency.
Then you can change a configuration in `config/infyom/laravel_generator.php` and update `templates` variable, to use your own templates. Remember, you will need to give a full path to your template package of vendor directory.
Check configuration section here for example.