Added pre & post text fields for caption
Laufzeitprofil
Quellenbeschreibung
This is a simple workflow that will let you automatically generate text captions for a folder full of images AND save the text files with the correct names in that same folder. I got tired of doing it in multiple steps. It uses the Florence2 model for caption generation.
Use the comfyui manager to install any missing nodes.
Run the workflow to automatically download the Florence2 model.
(added a pre and post text field in v1.1)
Geschätzter VRAM Bedarf
0 GB geschätzt
KI-generierter Kommentar
KI-generierte Erklärung auf Grundlage von Quellen- und Konfigurationsdetails. Vorschläge sind klar gekennzeichnet.
Automatic Captioning Workflow - FLUX/Stable Diffusion 3.5 - ComfyUI is for captioning a folder of images: it uses Florence2 to generate text captions and saves matching text files in the same folder.
The workflow reads images from a folder, generates captions with Florence2, and writes the caption text files back to that folder.
It includes steps for loading images from a directory, running Florence2, previewing images, and saving text files.
Input: a folder full of images. Output: caption text files saved in the same folder with the images' correct names.
Before running, use the ComfyUI Manager to install any missing nodes.
Vorschlag · nicht geprüft
Running the workflow is described as automatically downloading the Florence2 model.
Check your ComfyUI installation for Florence2ModelLoader, Florence2Run, DF_Text_Box, LoadImageListFromDir //Inspire, and Fast Groups Bypasser (rgthree).
Vorschlag · nicht geprüft
Also check for CR Text Replace, JWStringSplit, String Switch // RvTools, Text Concatenate, Save Text File, PreviewImage, ShowText|pysssss, and String.
Vorschlag · nicht geprüft
Version v1.1 adds pre- and post-text fields for captions.
Flux.1 D is the listed base model.
License terms are not specified, so verify the applicable terms before use.
Vorschlag
Muss das bearbeitet werden?
Melden Sie sich an, um eine Änderungsanfrage zu senden.
Quellen
1 QuelleQuellenauszüge
2 AuszügeSource context: 1142 downloads · Type Workflows · Base model Flux.1 D
Anforderungen
13 AnforderungenKnotenpaket · Unknown
DF_Text_Box
Nicht aufgelöstKnotenpaket · Unknown
Fast Groups Bypasser (rgthree)
Nicht aufgelöstKnotenpaket · Unknown
Florence2ModelLoader
MöglichKnotenpaket · Unknown
Florence2Run
MöglichKnotenpaket · Unknown
JWStringSplit
Nicht aufgelöstKnotenpaket · Unknown
LoadImageListFromDir //Inspire
GefundenKnotenpaket · Unknown
PreviewImage
MöglichKnotenpaket · Unknown
Knotenpaket · Unknown
Knotenpaket · Unknown
String
MöglichKnotenpaket · Unknown
String Switch // RvTools
Nicht aufgelöstKnotenpaket · Unknown
Text Concatenate
MöglichKnotenpaket · Unknown
Source context: 1115 downloads · Type Workflows · Base model Flux.1 D