lukawar/aiatar

Get user avater generated from ai

v1.0.0 2025-03-24 22:05 UTC

This package is auto-updated.

Last update: 2025-03-24 22:10:03 UTC


README

Aiatar - simple generator for user avatar with ai prompt

Installation

composer require lukawar/aiatar
php artisan vendor:publish --tag=config

Usage

use Lukawar\Aiatar;

$generator = app(Aiatar::class);
$image = $generator->generate('A face with man in glasses with beard');

Storage::disk('public')->put('avatar.png', $image);