raupulus / laravel-ai-image-gallery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Website Laravel AI Image Gallery

Website to display a gallery of images generated with artificial intelligence.

  • Generate an idea based on the role system
  • Auto-generated prompt from the generated idea
  • Stable diffusion API connection or Dall-e to generate a batch of images with the PROMPT
  • Publication of the batch of images to my website and on social networks
  • Creation of slideshow with transitions and music using ffmpeg
  • Publishing videos on video platforms

The objective of this project is to generate an "idea" based on a system of roles with which later finish generating a prompt using GPT3.5 Instruct.

This prompt will be used to generate a batch/collection of images using the Stable Diffusion API although it is also possible to use Dall-e.

Once a batch of images is generated they will be uploaded to my own API to be stored as a gallery.

Subsequently, the images will be published on the integrated social networks. Mostly: Twitter , Instagram , Mastodon , Telegram

Then, with all those images and using the ffmpeg video tool, you create automatically a slideshow with transitions between images and background music.

This video will be automatically uploaded to tiktok with selenium and * Youtube* using your api and, it will also be synchronized by sending a request to my api so that the video is set as collection/gallery cover.


Motivation

I started this project out of interest in learning about the rise of artificial intelligence and possibilities that these tools currently offer.

Another aspect that caught my attention when carrying out this project is the possibility of Learn to work by connecting all the APIs of social networks and video platforms like YouTube.

Generating images is quite fun and, you can also use it for project covers or images with which to fill web developments that I carry out.

The main objective is to experiment and learn although, I would also like to leave some passive income trying to sell images on stock platforms and perhaps with some ads that are not intrusive for the user. cost of maintaining hardware.


Deploy

Create postgresql database (change params)

sudo -u postgres createdb -O web -T template1 aidyslexic_raupulus_dev

Prepare .env and edit content:

cp .env.example .env

Execute commands:

composer install --no-dev
php artisan migrate
php artisan db:seed

Associated tools

Prompt Generator from AI

Tool to generate "prompts" that are basically text strings indicating/describing an image. Subsequently, several APIs can be used to use that generated "prompt".
To generate the prompt, the GPT API is used.

python-ai-image-from-api-generator

python-ai-image-from-api-generator

Website Laravel AI Image Gallery

Website to display a gallery of images generated with artificial intelligence.

laravel-ai-image-gallery

laravel-ai-image-gallery

Youtube Video Publisher

This project aims to be a tool to help upload videos to websites and social networks, being able to also send a request to your own API in which these videos are associated with content.

python-video-publisher

python-video-publisher

Ffmpeg Slideshow Creator from directory

Script to create image videos with ffmpeg including transitions and music.
This tool is focused on Linux and Macos. ​

ffmpeg-slideshow-from-image-directory

ffmpeg-slideshow-from-image-directory


Project Social Networks

Twitter

Telegram

Youtube

Mastodon

TikTok

Instagram


Author

My name is Raúl Caro Pastorino On the networks you can find me with the nickname @raupulus

I am a backend web developer and I mainly work with php/laravel and javascript/vue.js although I also sometimes develop in other languages such as python or bash.

I am passionate about electronics and IOT, I usually always have some project on the work table. You can find some of my projects in the repositories of Gitlab and Github


About


Languages

Language:PHP 60.5%Language:Blade 34.8%Language:Shell 2.3%Language:CSS 2.3%Language:JavaScript 0.1%