I think this is a change that is super recent. But there is documentation on how to do DALLE-3 with curl, Python, or Node.js at the moment. I’d opt to use the curl if it’s supported by the javascript in n8n.
So depending on what you plan to do with the image you might need to add another HTTP Request node afterwards actually downloading the file generated by OpenAI.
When testing this just now I got a file like this fwiw:
So the image could be saved to a hard drive, or even posted to a Discord channel.
I’ve been cleaning up my Gmail accounts by posting the emails as archive to Discord and then deleting them from my email. And it started me thinking why not start my own little private Discord channel for DALLE3 images?
Thank You for putting that sample code together so quickly.