An innovative solution for creating AI-powered images through user prompts
The AI Image Generation Application, expertly crafted using Laravel, Filament PHP, OpenAI, and Dalle, stands as a sophisticated and user-friendly platform. It harnesses the power of artificial intelligence to transform textual prompts into distinctive and visually appealing images.
This application is developed using the following technologies:
To run this Laravel application, ensure you have:
- PHP v8.1 or newer
- Laravel v10.0 or newer
- MySQL
Follow the official Laravel guide for server prerequisites. Laravel Documentation
-
Clone the repository
git clone https://github.com/Ashikur37/image-generator.git
-
Navigate to the repository folder
cd image-generator
-
Install dependencies using composer
composer install
-
Copy and configure the .env file
cp .env.example .env
-
Generate a new application key
php artisan key:generate
-
Migrate the database
php artisan migrate --seed
-
Create a storage symlink for public storage
php artisan storage:link
-
Start the server
php artisan serve
-
Run the queue
php artisan queue:work
Reminder: Ensure the OPENAI_API_KEY and AWS credentials are configured in the .env file, especially if using an S3 Bucket.
Obtain OpenAI API Key:https://platform.openai.com/api-keys
Access the server at http://localhost:8000/admin/login
Ready to use! Log in at /admin/login with:
- Email: admin@gmail.com
- Password: 12345678
Run the test cases
./vendor/bin/pest