A minimal AI image generator using OpenAI's GPT-Image-1 API, also used in ChatGPT – but with some additional options here, like setting the moderation level to low.
This is a straightforward all-in-one Nodejs file, ideal for extending via vibecoding. Once you have Node installed just launch via
node index.js