ComfyUI Node
🐾Prompt_Generator
A ComfyUI node in Comfyui_MiniCPMv2_6-prompt-generator with 10 inputs and 5 outputs.
🐾Prompt_Generator
- images
- images
- filenames
- captions
- folder_path
- batch_size
◄folder_pathPath to your image folder►
◄caption_methodlong_prompt►
◄max_new_tokens2048►
◄num_beams3►
◄filenames—►
◄captions—►
◄prefix_caption►
◄suffix_caption►
◄replace_tagsreplace_tags eg:search1:replace1;search2:replace2►
CategoryComfyui_MiniCPMv2_6-prompt-generator
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | Path to your image folder | — |
| caption_method | COMBO | long_prompt | 3 options: caption, short_prompt, long_prompt |
| max_new_tokens | INT | 20481–4096 | — |
| num_beams | INT | 31–64 | — |
| imagesopt | IMAGE | — | |
| filenamesopt | STRING | — | |
| captionsopt | STRING | — | |
| prefix_captionopt | STRING | — | |
| suffix_captionopt | STRING | — | |
| replace_tagsopt | STRING | replace_tags eg:search1:replace1;search2:replace2 | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| filenames | STRING | — |
| captions | STRING | — |
| folder_path | STRING | — |
| batch_size | INT | — |