AI Image Generation from CFML in One Function Call

I wanted to generate images from CFML. Not call out to some heavyweight Python service, not stand up a GPU — just write a prompt in Lucee and get a picture back. So I built a small library that wraps Cloudflare’s Workers AI image models, and the whole thing comes down to this: cf = new cloudflareimages.CloudflareImages (); // creds from env img = cf.generate ( prompt = "a lighthouse on a rocky…