If you wish to generate images from text prompts, you can use services that provide Text2Img generative AI models, or run one on your own computer. I recommend using Stable Diffusion, as it is a powerful and open source option.
To encode images into base64, you can use any of the free online base64 encoders, such as this one: https://www.base64-image.de/
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence