GithubHelp home page GithubHelp logo

jonnyquan / comfyui-portrait-master-zh-cn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zho-zho-zho/comfyui-portrait-master-zh-cn

0.0 0.0 0.0 5.03 MB

肖像大师 中文版 comfyui-portrait-master

License: GNU General Public License v3.0

Python 100.00%

comfyui-portrait-master-zh-cn's Introduction

ComfyUI Portrait Master 简体中文版

Dingtalk_20231218164020

项目介绍 | Info

  • 人物肖像提示词生成模块,优化肖像生成,选择永远比填空更适合人类!

  • 优化 + 汉化 自 ComfyUI Portrait Master

  • 版本:V2.0

参数说明 | Parameters

  • 镜头类型:头像、肩部以上肖像、半身像、全身像、脸部肖像
  • 性别:女性、男性
  • 国籍_1:193个国家可选
  • 国籍_2:193个国家可选
  • 眼睛颜色:琥珀色、蓝色等8种 🆕
  • 面部表情:开心、伤心、生气、惊讶、害怕等24种
  • 脸型:椭圆形、圆形、梨形等12种
  • 发型:法式波波头、卷发波波头、不对称剪裁等20种
  • 头发颜色:金色、栗色、灰白混合色等9种 🆕
  • 灯光类型:柔和环境光、日落余晖、摄影棚灯光等32种 🆕
  • 灯光方向:上方、左侧、右下方等10种 🆕
  • 起始提示词:写在开头的提示词
  • 补充提示词:写在中间用于补充信息的提示词
  • 结束提示词:写在末尾的提示词
  • 提高照片真实感:可强化真实感 🆕
  • 负面提示词:新增负面提示词输出 🆕

提示词合成顺序 | Prompt composition order

  • 起始提示词
  • 镜头类型 + 镜头权重
  • 国籍 + 性别 + 年龄
  • 眼睛颜色 🆕
  • 面部表情 + 面部表情权重
  • 脸型
  • 发型
  • 头发颜色 🆕
  • 头发蓬松度
  • 补充提示词
  • 皮肤细节
  • 皮肤毛孔
  • 皮肤瑕疵
  • 酒窝
  • 雀斑
  • 眼睛细节
  • 虹膜细节
  • 圆形虹膜
  • 圆形瞳孔
  • 面部对称性
  • 灯光类型 + 灯光方向 🆕
  • 结束提示词
  • 提高照片真实感 🆕

自定义 | Customizations

可将需要自定义增加的内容写到lists文件夹中对应的json文件里(如发型、表情等)

使用建议 | Practical advice

皮肤和眼睛细节等参数过高时可能会覆盖所选镜头的设置。在这种情况下,建议减小皮肤和眼睛的参数值,或者插入否定提示(closeup, close up, close-up:1.5),并根据需要修改权重。

安装 | Install

  1. cd custom_nodes
  2. git clone https://github.com/ZHO-ZHO-ZHO/comfyui-portrait-master-zh-cn.git
  3. 重启 ComfyUI

工作流 | Workflow

V2.0工作流

Dingtalk_20231218163927

Dingtalk_20231218165449

PMSVD_00003.mp4

Dingtalk_20231218185612

V1.0工作流

image

image

更新日志 | Changelog

20231218

  • 更新为V2.0版,新增6项参数,扩充2项参数,优化代码:
    • 眼睛颜色(8种)
    • 头发颜色(9种)
    • 灯光类型(32种)
    • 灯光方向(10种)
    • 提高照片真实感
    • 负面提示词
    • 镜头类型(+3种)
    • 发型(+19种)

20231216

  • 完成代码优化,将原本读取txt文件调整成读取json文件,更加方便使用、自定义和扩展 image

20231215

Credits

ComfyUI Portrait Master

comfyui-portrait-master-zh-cn's People

Contributors

florestefano1975 avatar zho-zho-zho avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.