Skip to content

m3brown/giffer

Repository files navigation

Giffer

This is a proof of concept for an API for adding text to gif images. Think of it as a mix between giphy and meme generator.

Technology stack

  • Python 3
  • FastAPI
  • moviepy

Dependencies

Installation

git clone https://github.com/m3brown/giffer
cd giffer
echo "GIPHY_API_KEY=$yourkey" > .env
docker-compose build
docker-compose up

Using the app

  • After launching the app, you can visit the interactive docs at localhost:8000/docs
  • Create a gif by submitting a POST with JSON data.
    • At the least, you'll need text along with one of gif or search
      • text: the text to put on the gif
      • gif: URL of the gif image to use
      • search: the search phrase to query from giphy

For example:

{"text": "time for work", "gif": "http://25.media.tumblr.com/tumblr_m810e8Cbd41ql4mgjo1_500.gif"}
{"text": "hey guys", "search": "elf wave"}

About

An API to create gifs overlaid with meme text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published