2人のキャラクターを描き分け / GenerateTwoDifferentCharacters
详情
下载文件
关于此版本
模型描述
这是一个用于ComfyUI的示例工作流,可在单张图像中生成两个不同的角色,支持从生成到通过UltimateSDUpscale进行上采样的完整流程。请自由定制以满足您的需求。
v1.1版本已添加LoRA设置。
前提条件 / Prerequisites
已安装ComfyUI。
已安装ComfyUI-Manager。
ComfyUI安装。
自定义节点 / Custom nodes
本工作流使用以下自定义节点。
The following custom nodes are used.
使用方法 / How to use
以下使用说明同样包含在工作流内的“Note”节点中。本说明适用于v1.1版本,如需v1版本说明,请参考v1工作流。
The same information can be found in the "Note" node in the workflow. The following usage is for v1.1. See v1 workflow for a description of v1.
在“Settings”中的“SDXL Empty Latent Image (rgthree)”中设置生成图像的尺寸。
在“Settings”中的“Eff. Loader SDXL”中,设置“base_ckpt_name”为使用的模型,“base_clip_skip”为CLIP Skip值。
在“Settings”中的“LoRA Stacker”中设置要使用的LoRA。
在“Prompts”中的“First character CLIP Text Encode++ (Positive)”中输入第一个角色的提示词。
在“Prompts”中的“Second character CLIP Text Encode++ (Positive)”中输入第二个角色的提示词。
在“Prompts”中的“CLIP Text Encode++ (Negative)”中输入负面提示词。
在“Generate”中的“KSampler (Efficient)”中设置使用的采样器等参数。
在“Upscale & Save Image”中的“Load Upscale Model”中设置使用的上采样器。
在“Upscale & Save Image”中的“Ultimate SD Upscale”中设置使用的采样器和去噪强度。(如不确定,请保持默认设置)
执行生成。
Set the image size to be generated in “SDXL Empty Latent Image (rgthree)” in Settings.
Set the model to be used in “base_ckpt_name” and CLIP Skip in “base_clip_skip” under “Eff. Loader SDXL” in Settings.
Set the LoRA to be used in “LoRA Stacker” in Settings.
In "First character CLIP Text Encode++ (Positive)" in "Prompts," write the prompt for the first character.
In Prompts, enter the prompt for the second character in the "Second character CLIP Text Encode++ (Positive)" field.
In Prompts, enter a negative prompt in the "CLIP Text Encode++ (Negative)" field.
Set the sampler, etc. to be used in "KSampler (Efficient)" under Generate.
Set the upscaler to be used for "Load Upscale Model" in Upscale & Save Image.
Set the sampler and denoise to be used in "Ultimate SD Upscale" in Upscale & Save Image. (If you are not sure, use these settings as they are.)
Execute generation.
关键要点 / Point
第一个和第二个角色的提示词中必须包含“2girls”或“2boys”等关键词。
除角色提示词外,背景、构图等提示词应为两个角色统一;也可以尝试为两个角色设置不同背景以制造意外效果。
两个角色的区分并非100%能成功,可能需要多次重试。
在左上角的“Fast Groups Muter (rgthree)”中将“Upscale & Save Image”设为“No”可跳过上采样,便于快速重试生成。当获得满意图像后,请固定种子值再执行上采样。
英文文本由DeepL翻译或Google翻译生成。


