This is a simple API built with Spring, yet it can be useful, and I am planning on extending its features in the future. I myself use this for my Discord bot.
You are welcome to clone this, and host your own and add features. But you can access an online version of it at: https://image-generation-api.herokuapp.com/
Parameters:
stringrequiredxSizeoptional, defaults to 100ySizeoptional, defaults to 100fontSizeoptional, defaults to 16fontColoroptional, defaults to ffffff (only hex without hashtag)backgroundColoroptional, defaults to 000000 (only hex without hashtag)xPositionoptional, defaults to 0yPositionoptional, defaults to 0centeredoptional, defaults to false