Skip to content

A hobby project that reads random quote from free quote API and generates quote image based on provided image

License

Notifications You must be signed in to change notification settings

TufayelLUS/Automated-Image-Quote-Generator-In-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Image Quote Generator In Python

A hobby project that reads random quotes from free quote API and generates quote images based on the provided image

Requirements

Install the required libraries using

pip install Pillow requests

How it works

It reads an image from the "images" folder that is passed in the code. It calls a random quote API and generates a quote with the author's name. Then it generates the final image by adding some overlay to make the text look easier to read by darkening the original image. The font file, font size, text opacity, and overlay amount can be adjusted in the code.

Potential Use Cases and Expansion Ideas

This code can be used as a base to

  • Develop a web app powered by Django/Flask that allows visitors to upload their image and custom quote list and bulk generate multiple quote images on the fly.
  • Create bulk quote image generator software
  • Make it more random by allowing it to read more images randomly and more random quotes to increase the number of randomly generated quote

Original Image Sample

Image After Generating Quote with the Script

Loved this?

Star this project and share it with your friends!

About

A hobby project that reads random quote from free quote API and generates quote image based on provided image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages