text looper + flux
created 3 months ago
16 nodes

494

96

Outputs
example image output 0 for workflow.
example image output 1 for workflow.
example image output 2 for workflow.
example image output 3 for workflow.
example image output 4 for workflow.
example image output 5 for workflow.
example image output 6 for workflow.
example image output 7 for workflow.
example image output optimized_comfy_workflows_user_uploads/332764fd-10bb-462b-a455-bfd50df555f3/assets/fowF2Cdnnu.webp for workflow.
Description

Description  

This workflow generates images using the Flux diffusion model with a text looping mechanism. It allows users to iterate over multiple text prompts, combine them, and produce a series of images based on the looped prompts. The workflow is divided into groups for better organization: Text Looper, Combining Prompt, Image FLUX Generator, and Image Preview.  

How to Use  

1. Load the Flux Model: Ensure the Flux model (`flux1-schnell-fp8.safetensors`) is loaded using the "CheckpointLoaderSimple" node.  

2. Set Up the Text Looper: Use the "Bjornulf_LoopTexts" node to define your text prompts and specify the number of iterations.  

3. Combine Prompts: Use the "Bjornulf_CombineTexts" node to merge individual prompts into a single conditioning input.  

4. Generate Images: Connect the combined prompts to the Flux generator workflow, which includes the "KSampler" and "VAEDecode" nodes.  

Tips:  

- Adjust the number of iterations in the "Bjornulf_LoopTexts" node to control the number of images generated.  

- Ensure the CFG scale is set to 1.0 since Flux does not support negative prompts.  

- Monitor resource usage, as Flux generation can be computationally intensive.  

Author Notes  

This workflow leverages the Flux diffusion model (`flux1-schnell-fp8.safetensors`) for image generation. The text looping mechanism is powered by the "TextLooper" extension. Thank you to the developers of Bjornulf custom nodes for enabling this functionality.

Built-in nodes
Custom nodes
Bjornulf_WriteText
Bjornulf_CombineTexts
CLIPTextEncode
EmptyLatentImage
KSampler
CheckpointLoaderSimple
PreviewImage
VAEDecode
Bjornulf_LoopTexts
Bjornulf_ShowStringText
0
0
0
0