prompt master
详情
下载文件
模型描述
提示词大师
此 ComfyUI 工作流“提示词大师”提供了一套多功能工具,用于为 Flux 模型创建和优化提示词。它支持多种输入方式,助您定制提示词以实现理想效果。
功能
此工作流包含以下提示生成方式:
Img2Prompt(使用 JoyCaption2 LLM):通过强大的 JoyCaption2 大语言模型,直接从图像生成详细且描述性强的提示词。非常适合快速捕捉图像核心特征,并作为 Flux 生成的起点。
手动提示输入:为实现精确控制,您可以直接输入提示文本。此方式便于调整和试验特定关键词与短语。
LLM 优化提示:利用大语言模型优化您手动创建或由 Img2Prompt 生成的提示词,提升清晰度、语法正确性与整体效果,从而获得更佳的 Flux 生成结果。(如适用,请在此处说明所使用的 LLM 模型)
通配符提示:通过通配符占位符为生成结果引入多样性和惊喜。此功能让您以最小投入探索更广泛的创作可能性。(请说明通配符的实现方式,例如使用特定节点或文本文件输入)
使用方法
安装:确保您已安装并运行 ComfyUI。(请说明所需自定义节点及其安装方式,如有链接请提供)
加载工作流:下载
prompt_master.json文件(或相应文件扩展名),并将其加载至 ComfyUI 中。提示输入:选择您偏好的提示方式(每次仅能启用一种):
- Img2Prompt:将您要使用的图像连接至 Img2Prompt 输入节点。
- 手动提示:在指定输入框中输入您的提示文本。
- LLM 优化提示:将您手动创建或由 Img2Prompt 生成的提示连接至 LLM 优化提示输入节点。
- 通配符提示:初步支持通配符提示功能。
Flux 模型集成:将所选提示方式的输出连接至您的 Flux 模型节点的相应输入端口。
生成图像:运行工作流,根据提示生成图像。
自定义节点
AddLabel / https://github.com/kijai/ComfyUI-KJNodes
Anything Everywhere / https://github.com/chrisgoringe/cg-use-everywhere
Bookmark (rgthree) / https://github.com/rgthree/rgthree-comfy
DisplayText / https://github.com/IuvenisSapiens/ComfyUI_MiniCPM-V-2_6-int4
ExtraOptionsNode / https://github.com/TTPlanetPig/Comfyui_JC2
FaceDetailer / https://github.com/ltdrdata/ComfyUI-Impact-Pack
Fast Groups Bypasser (rgthree) / https://github.com/rgthree/rgthree-comfy
Image Comparer (rgthree) / https://github.com/rgthree/rgthree-comfy
Image Filter / https://github.com/chrisgoringe/cg-image-filter
ImpactWildcardProcessor / https://github.com/ltdrdata/ComfyUI-Impact-Pack
InjectLatentNoise+ / https://github.com/cubiq/ComfyUI_essentials
JWInteger / https://github.com/jamesWalker55/comfyui-various
JoinStrings / https://github.com/kijai/ComfyUI-KJNodes
JoyCaption2_simple / https://github.com/TTPlanetPig/Comfyui_JC2
LF_RegexReplace / https://github.com/lucafoscili/comfyui-lf
OverrideVAEDevice / https://github.com/city96/ComfyUI_ExtraModels
Power Lora Loader (rgthree) / https://github.com/rgthree/rgthree-comfy
ProjectFilePathNode / https://github.com/MushroomFleet/DJZ-Nodes
Prompts Everywhere / https://github.com/chrisgoringe/cg-use-everywhere
SAMLoader / https://github.com/ltdrdata/ComfyUI-Impact-Pack
SaveText|pysssss / https://github.com/pythongosssss/ComfyUI-Custom-Scripts
Searge_LLM_Node / https://github.com/SeargeDP/ComfyUI_Searge_LLM
Seed (rgthree) / https://github.com/rgthree/rgthree-comfy
Seed Everywhere / https://github.com/chrisgoringe/cg-use-everywhere
String Replace (mtb) / https://github.com/melMass/comfy_mtb
Switch any [Crystools] / https://github.com/crystian/ComfyUI-Crystools
Text Concatenate / https://github.com/WASasquatch/was-node-suite-comfyui
Text Input [Dream] / https://github.com/alt-key-project/comfyui-dream-project
Text to Conditioning / https://github.com/WASasquatch/was-node-suite-comfyui
UltimateSDUpscale / https://github.com/ssitu/ComfyUI_UltimateSDUpscale
UltralyticsDetectorProvider / https://github.com/ltdrdata/ComfyUI-Impact-Subpack
UnetLoaderGGUF / https://github.com/city96/ComfyUI-GGUF
easy boolean / https://github.com/yolain/ComfyUI-Easy-Use
easy showAnything / https://github.com/yolain/ComfyUI-Easy-Use
LLM 模型
unsloth/Meta-Llama-3.1-8B-Instruct / https://huggingface.co/unsloth/Meta-Llama-3.1-8B-Instruct
$ huggingface-cli download unsloth/Meta-Llama-3.1-8B-Instruct --local-dir ComfyUI/models/LLM/unsloth--Meta-Llama-3.1-8B-Instruct --exclude "*.git*" "README.md"Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2 / https://huggingface.co/Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2
$ huggingface-cli download Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2 --local-dir ComfyUI/models/LLM/Orenguteng--Llama-3.1-8B-Lexi-Uncensored-V2 --exclude "*.git*" "README.md"

