This article introduces how to generate meme images with custom images and text using the Memegen API.
We’ll try generating meme images that are commonly seen on Reddit using an API.
Even though it’s an API, this site can be used without tokens, so even those unfamiliar with programming can easily play with it.
jacebrowning/memegen: The open source meme generator.
The following URL generates the following image:
https://memegen.link/custom/pretty/background.jpg?alt=http://www.gstatic.com/webp/gallery/1.jpg

I tried making one as a test. It might be good to use it as a blog header or featured image.
https://memegen.link/custom/generate/your-own-api--key.jpg?alt=https://yuis.xsrv.jp/images/ss/ShareX_ScreenShot_d6922a4b-8b68-4deb-b9ef-9f1c3bdda124.png

By the way, Japanese characters couldn’t be used.
https://memegen.link/custom/プログラミング/programming.jpg?alt=https://yuis.xsrv.jp/images/ss/ShareX_ScreenShot_d6922a4b-8b68-4deb-b9ef-9f1c3bdda124.png
# or
https://memegen.link/custom/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0/programming.jpg?alt=https://yuis.xsrv.jp/images/ss/ShareX_ScreenShot_d6922a4b-8b68-4deb-b9ef-9f1c3bdda124.png

If you want to save the image, you can simply use wget.
wget 'https://memegen.link/custom/generate/your-own-api--key.jpg?alt=https://yuis.xsrv.jp/images/ss/ShareX_ScreenShot_d6922a4b-8b68-4deb-b9ef-9f1c3bdda124.png'
Also, this software seems to be built with Flask and is MIT licensed, so you could deploy it on your own server and run a similar service.
It would have been quite useful if it supported Japanese.