https://url-image.vercel.app/api/cover?t=Hello%20World&w=300...
Will generate an image with a height (h) of 300px, a width (w) of 300px, and the text (t) "Hello World." You can also select from multiple image styles.
The project was built with Next.js and Vercel OG image package. You can see the source code here https://github.com/AsaoluElijah/url-images/
Contributions will be greatly appreciated (: