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:
string
requiredxSize
optional, defaults to 100ySize
optional, defaults to 100fontSize
optional, defaults to 16fontColor
optional, defaults to ffffff (only hex without hashtag)backgroundColor
optional, defaults to 000000 (only hex without hashtag)xPosition
optional, defaults to 0yPosition
optional, defaults to 0centered
optional, defaults to false