Skip to content

kirillsinyuk/sticker-generator

Repository files navigation

Sticker creator service

1. Common info

This service implements handlers for Telegram bot for easy stickers creation and other useful services to work with images. The main platform for this service is Telegram, because it`s an easiest way to provide UI for interaction. Maybe once there will be a webpage or API, but not in near future.

2. Features

2.1. Create sticker (/crt-sticker)

This feature has all steps to make a telegram sticker such as:

  • Resize image to sticker size(at least one side should be exactly 512px);

  • Add top and bottom text(in case of adding top text 15% top padding will be added as well);

Basically the result is something like this:

Source Result
example sticker before
example sticker after

After that you can use https://t.me/Stickers to add sticker to stickerpack or create a new one.

2.2. Create meme (/crt-meme)

This feature adds text to an image:

The result is something like this:

Source Result
example meme before
example meme after

2.3. Swap face (/swp-face)

This feature allows to put face from one image to another

Source Target Result
example face swap source
example face swap target
example face swap result

2.4. Remove background (/rm-background)

Source Result
example background removal source
example background removal result

3. Local run

To run service you ought to have Docker

Just run the command: docker-compose up (uncomment service container if you want it fully containerized)

Or you can run service locally(with local profile) and try it through REST api

About

Service for easy telegram sticker generation

Resources

License

Stars

Watchers

Forks

Packages

No packages published