Automated image generation wit DALL-E OpenAI API

Hey, I use the OpenAI DALL E View node to generate images.
In this node, I can only input a prompt for one image. Is it possible to generate many images with different prompts in an automatic way with flow variables?

Hey @bei_paul,

Welcome to the Community!

Have you tried wrapping it in a loop? Specifically ‘Table Row to Variable Loop Start’ as you mention you want to pass prompts in with flow variables.

The node will go row by row and pass it in as a flow variable, which is what it sounds like you are looking for.

You can wrap your logic for generating an image in these two nodes:
Screenshot 2024-04-23 at 08.52.11

Hope this helps,
TL

2 Likes

Hey,
Thank you very much! I will try this (:slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.