This uses the AI module to generate images. This way we dont need to support Dalle and stable diffusion, but we support everything the AI module supports Closes #3460663