Skip to main content

Iterators

N
Written by Noam Gichon

Text Iterator Node


The Text Iterator Node allows you to combine multiple text inputs and send them to the same generative model. It keeps each prompt separate while enabling you to batch-generate multiple images or videos simultaneously.

You can provide inputs to the Text Iterator Node in several ways:

  • Manually enter multiple text inputs directly into the node

  • Connect an Array Node that contains multiple text inputs

  • Connect a Prompt Node directly to the Text Iterator Node

To use an Array Node, simply connect it to the Text Iterator Node, then select the model you want to use to generate outputs from those inputs.

The model will automatically process and generate results for all text inputs at once.


Additional Options

  • You can import a CSV file as a text source and use it with the iterator

  • CSV inputs can be sorted by name for easier organization


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.

Video Iterator Node


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

Did this answer your question?