Skip to main content

Iterators

Noam Gichon avatar
Written by Noam Gichon
Updated over a week ago

Text Iterator Node


The Text Iterator Node gives you the ability to combine multiple text inputs and send them all together to the same generative model. The Text Iterator Node keeps each prompt separated but helps you batch generate multiple images/videos at the same time. In order to use the Text Iterator Node properly you will need to have an Array Node with different text inputs in it. Simply connect the Array Node into the Text Iterator Node and then choose the model you would like to generate those text inputs with. The model will automatically generate all the text inputs at once.


​Workflow Example - https://app.weavy.ai/flow/63iqsV9FO9CzisOw6HWl5d
​
For more information about the Array Node visit - https://help.weavy.ai/en/articles/12268346-datatypes

Image Iterator Node


The Image Iterator Node gives you the ability to combine multiple image inputs and send them all together to the same generative model. The Image Iterator Node keeps each image input separated but helps you batch generate multiple images/videos at the same time. All you need to do is to simply import multiple images into the node and then choose the model you would like to generate those image inputs with. The model will automatically generate all the image inputs at once as separated runs.

Did this answer your question?