Image Writer in a Loop

Hello,

i dont get it how to use a variable path for a file in the image writer node.

I see variable, but i cant select a variable:

My goal it to create a workflow which uses the open ai image generator in a loop to create many images in one folder but right now the file name is always the same i guess.

image

image

Thx for your time!

Hi!

Did you create a variable of type “path”?
As de image below, the node “image writer” needs a path type variable
image

3 Likes

@phil21oo you might want to set a path variable with a new name (maybe add the number of the iteration to the name to make it unique):

2 Likes