2人のキャラクターを描き分け / GenerateTwoDifferentCharacters

详情

下载文件

模型描述

这是一个用于ComfyUI的示例工作流,可在单张图像中生成两个不同的角色,支持从生成到通过UltimateSDUpscale进行上采样的完整流程。请自由定制以满足您的需求。

v1.1版本已添加LoRA设置。

前提条件 / Prerequisites

自定义节点 / 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.

  1. 在“Settings”中的“SDXL Empty Latent Image (rgthree)”中设置生成图像的尺寸。

  2. 在“Settings”中的“Eff. Loader SDXL”中,设置“base_ckpt_name”为使用的模型,“base_clip_skip”为CLIP Skip值。

  3. 在“Settings”中的“LoRA Stacker”中设置要使用的LoRA。

  4. 在“Prompts”中的“First character CLIP Text Encode++ (Positive)”中输入第一个角色的提示词。

  5. 在“Prompts”中的“Second character CLIP Text Encode++ (Positive)”中输入第二个角色的提示词。

  6. 在“Prompts”中的“CLIP Text Encode++ (Negative)”中输入负面提示词。

  7. 在“Generate”中的“KSampler (Efficient)”中设置使用的采样器等参数。

  8. 在“Upscale & Save Image”中的“Load Upscale Model”中设置使用的上采样器。

  9. 在“Upscale & Save Image”中的“Ultimate SD Upscale”中设置使用的采样器和去噪强度。(如不确定,请保持默认设置)

  10. 执行生成。


  1. Set the image size to be generated in “SDXL Empty Latent Image (rgthree)” in Settings.

  2. Set the model to be used in “base_ckpt_name” and CLIP Skip in “base_clip_skip” under “Eff. Loader SDXL” in Settings.

  3. Set the LoRA to be used in “LoRA Stacker” in Settings.

  4. In "First character CLIP Text Encode++ (Positive)" in "Prompts," write the prompt for the first character.

  5. In Prompts, enter the prompt for the second character in the "Second character CLIP Text Encode++ (Positive)" field.

  6. In Prompts, enter a negative prompt in the "CLIP Text Encode++ (Negative)" field.

  7. Set the sampler, etc. to be used in "KSampler (Efficient)" under Generate.

  8. Set the upscaler to be used for "Load Upscale Model" in Upscale & Save Image.

  9. 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.)

  10. Execute generation.

关键要点 / Point

  • 第一个和第二个角色的提示词中必须包含“2girls”或“2boys”等关键词。

  • 除角色提示词外,背景、构图等提示词应为两个角色统一;也可以尝试为两个角色设置不同背景以制造意外效果。

  • 两个角色的区分并非100%能成功,可能需要多次重试。

  • 在左上角的“Fast Groups Muter (rgthree)”中将“Upscale & Save Image”设为“No”可跳过上采样,便于快速重试生成。当获得满意图像后,请固定种子值再执行上采样。


英文文本由DeepL翻译或Google翻译生成。

此模型生成的图像

未找到图像。