API that takes a string and converts it to an image of the text like in an ebook. Returns image as an array buffer.