Superprompt
节点功能:该节点一个文本处理节点,它使用T5模型来扩展和增强提示词(prompt),为图像生成提供更详细的描述。
节点中英文对比
Superprompt
instruction_prompt
max_new_tokens
Superprompt
instruction_prompt
max_new_tokens
Superprompt - 参数说明
输入参数
prompt
要被扩展的基础提示词。需提供清晰、简洁的初始输入。
输出参数
STRING
经过 SuperPrompt 模型扩展后的完整提示词文本。
控件参数
instruction_prompt
指令性提示词,引导模型如何扩展文本内容,默认是“Expand the following prompt to add more detail”。
max_new_tokens
最大生成的新 token 数量,决定扩展提示的长度上限。
暂无节点说明