How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("xiaolxl/GuoFeng3", torch_dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

ๅŸบไบŽSDXL็š„ๅ›ฝ้ฃŽ4ๅทฒๅ‘ๅธƒ๏ผ- GuoFeng4 based on SDXL has been released! : https://huggingface.co/xiaolxl/GuoFeng4_XL

ๆœฌไบบ้ƒ‘้‡ๅฃฐๆ˜Ž๏ผšๆœฌๆจกๅž‹็ฆๆญข็”จไบŽ่ฎญ็ปƒๅŸบไบŽๆ˜Žๆ˜Ÿใ€ๅ…ฌไผ—ไบบ็‰ฉ่‚–ๅƒ็š„้ฃŽๆ ผๆจกๅž‹่ฎญ็ปƒ๏ผŒๅ› ไธบ่ฟ™ไผšๅธฆๆฅไบ‰่ฎฎ๏ผŒๅฏนAI็คพๅŒบ็š„ๅ‘ๅฑ•้€ ๆˆไธ่‰ฏ็š„่ดŸ้ขๅฝฑๅ“ใ€‚

ๆœฌๆจกๅž‹ๆณจๆ˜Ž๏ผš่ฎญ็ปƒ็ด ๆไธญไธๅŒ…ๅซไปปไฝ•็œŸไบบ็ด ๆใ€‚

็‰ˆๆœฌ ๆ•ˆๆžœๅ›พ
GuoFeng3.4 e5.jpg
GuoFeng3.3 min_00193-3556647833.png.jpg
GuoFeng3.2_light 178650.png
GuoFeng3.2 00044-4083026190-1girl, beautiful, realistic.png.png
GuoFeng3 e1.png

ไป‹็ป - GuoFeng3

ๆฌข่ฟŽไฝฟ็”จGuoFeng3ๆจกๅž‹ - (TIP:่ฟ™ไธช็‰ˆๆœฌ็š„ๅๅญ—่ฟ›่กŒไบ†ๅพฎ่ฐƒ),่ฟ™ๆ˜ฏไธ€ไธชไธญๅ›ฝๅŽไธฝๅค้ฃŽ้ฃŽๆ ผๆจกๅž‹๏ผŒไนŸๅฏไปฅ่ฏดๆ˜ฏไธ€ไธชๅค้ฃŽๆธธๆˆ่ง’่‰ฒๆจกๅž‹๏ผŒๅ…ทๆœ‰2.5D็š„่ดจๆ„Ÿใ€‚็ฌฌไธ‰ไปฃๅคงๅน…ๅบฆๅ‡ๅฐ‘ไธŠๆ‰‹้šพๅบฆ๏ผŒๅขžๅŠ ไบ†ๅœบๆ™ฏๅ…ƒ็ด ไธŽ็”ทๆ€งๅค้ฃŽไบบ็‰ฉ๏ผŒ้™คๆญคไน‹ๅค–ไธบไบ†ๆจกๅž‹่ƒฝๆ›ดๅฅฝ็š„้€‚ๅบ”ๅ…ถๅฎƒTAG๏ผŒ่ฟ˜ๅขžๅŠ ไบ†ๅ…ถๅฎƒ้ฃŽๆ ผ็š„ๅ…ƒ็ด ใ€‚่ฟ™ไธ€ไปฃๅฏน่„ธๅ’Œๆ‰‹็š„ๅดฉๅๆœ‰ไธ€ๅฎš็š„ไฟฎๅค๏ผŒๅŒๆ—ถ็ด ๆๅคงๅฐไนŸๆ้ซ˜ๅˆฐไบ†ๆœ€้•ฟ่พน1024ใ€‚

ๆ นๆฎไธชไบบ็š„ๅฎž้ชŒไธŽๆ”ถๅˆฐ็š„ๅ้ฆˆ๏ผŒๅ›ฝ้ฃŽๆจกๅž‹็ณปๅˆ—็š„็ฌฌไบŒไปฃ๏ผŒๅœจไบบ็‰ฉ๏ผŒไธŽๅคงๅคด็…ง็š„ๆ•ˆๆžœ่กจ็Žฐๆฏ”ไธ‰ไปฃๆ›ดๅฅฝ๏ผŒๅฆ‚ๆžœไฝ ๆœ‰่ฟ™ๆ–น้ข้œ€ๆฑ‚ไธๅฆจ่ฏ•่ฏ•็ฌฌไบŒไปฃใ€‚

2.0็‰ˆๆœฌ๏ผšhttps://huggingface.co/xiaolxl/Gf_style2

GuoFeng3:ๅŽŸๅง‹ๆจกๅž‹

GuoFeng3.1:ๅฏนGuoFeng3ไบบๅƒ่ฟ›่กŒไบ†ๅพฎ่ฐƒไฟฎๅค

GuoFeng3.2:ๅฆ‚ๆžœไฝ ไธ็Ÿฅ้“้€‰ๆ‹ฉGuoFeng3่ฟ˜ๆ˜ฏGuoFeng2๏ผŒๅฏไปฅ็›ดๆŽฅไฝฟ็”จๆญค็‰ˆๆœฌ

GuoFeng3.2_light:้€š่ฟ‡GuoFeng3.2่žๅˆไบ†ๅŸบไบŽ Noise Offset ่ฎญ็ปƒ็š„Loraไฝฟๅพ—ๆจกๅž‹่ƒฝๅคŸ็”ปๅ‡บๆ›ดๆผ‚ไบฎ็š„ๅ…‰ๅฝฑๆ•ˆๆžœ(Lora:epi_noiseoffset/Theovercomer8's Contrast Fix)

GuoFeng3.2_Lora:ๅ›ฝ้ฃŽ3.2 Lora็‰ˆๆœฌ

GuoFeng3.2_Lora_big_light:ๅ›ฝ้ฃŽ3.2_light Lora็‰ˆๆœฌ ็ปดๅบฆๅขžๅคง็‰ˆๆœฌ

GuoFeng3.2_f16:ๅ›ฝ้ฃŽ3.2 ๅŠ็ฒพ็‰ˆๆœฌ

GuoFeng3.2_light_f16:ๅ›ฝ้ฃŽ3.2_light ๅŠ็ฒพ็‰ˆๆœฌ

GuoFeng3.3๏ผšๆญค็‰ˆๆœฌๆ˜ฏๅŸบไบŽ3.2็š„ไธ€ๆฌก่พƒๅคง็š„ๆ›ดๆ–ฐไธŽๆ”น่ฟ›๏ผŒๅฏไปฅ้€‚้…full body๏ผŒๅณไฝฟไฝ ็š„tagไธๅคชๅฅฝ๏ผŒๆจกๅž‹ไนŸไผšๅฏน็”ป้ข่ฟ›่กŒ่‡ชๅŠจไฟฎๆ”น๏ผŒไธ่ฟ‡ๅ› ๆญคๆจกๅž‹ๅ‡บ็š„่„ธไผšๆฏ”่พƒ้›ทๅŒใ€‚ๆญคๆจกๅž‹ไผผไนŽไธ้œ€่ฆ่ถ…ๅˆ†๏ผŒๆˆ‘็š„ๅ‡บๅ›พๅคงๅฐๆ˜ฏ768*1024๏ผŒๆธ…ๆ™ฐๅบฆ่ฟ˜ไธ้”™ใ€‚ๅปบ่ฎฎ็ซ–ๅ›พ๏ผŒๆจชๅ›พๅฏ่ƒฝไธๆธ…ๆ™ฐใ€‚Euler aๅณๅฏใ€‚(DPM++ SDE Karras, DDIMไนŸไธ้”™)

GuoFeng3.4:ๆญค็‰ˆๆœฌ้‡ๆ–ฐ่ฟ›่กŒไบ†ๆ–ฐ็š„่ฎญ็ปƒ๏ผŒ้€‚้…ๅ…จ่บซๅ›พ๏ผŒๅŒๆ—ถๅ†…ๅฎนไธŠไธŽๅ‰ๅ‡ ไธช็‰ˆๆœฌๆœ‰่พƒๅคงไธๅŒใ€‚ๅนถ่ฐƒๆ•ดไบ†ๆ•ดไฝ“็”ป้ฃŽ๏ผŒ้™ไฝŽไบ†่ฟ‡ๆ‹Ÿๅˆ็จ‹ๅบฆ๏ผŒไฝฟๅ…ถ่ƒฝไฝฟ็”จๆ›ดๅคš็š„loraๅฏน็”ป้ขไธŽๅ†…ๅฎน่ฟ›่กŒ่ฐƒๆ•ดใ€‚

--

Welcome to the GuoFeng3 model - (TIP: the name of this version has been fine-tuned). This is a Chinese gorgeous antique style model, which can also be said to be an antique game character model with a 2.5D texture. The third generation greatly reduces the difficulty of getting started, and adds scene elements and male antique characters. In addition, in order to better adapt the model to other TAGs, other style elements are also added. This generation has repaired the broken face and hands to a certain extent, and the size of the material has also increased to the longest side of 1024.

According to personal experiments and feedback received, the second generation of the Guofeng model series performs better than the third generation in terms of characters and big head photos. If you have this need, you can try the second generation.

Version 2.0๏ผšhttps://huggingface.co/xiaolxl/Gf_style2

GuoFeng3: original model

GuoFeng3.1: The portrait of GuoFeng3 has been fine-tuned and repaired

GuoFeng3.2: If you don't know whether to choose GuoFeng3 or GuoFeng2, you can use this version directly

GuoFeng3.2_Light: Through GuoFeng3.2, Lora based on Noise Offset training is integrated to enable the model to draw more beautiful light and shadow effects (Lora: epi_noiseoffset/Theovercolor8's Contrast Fix)

GuoFeng3.2_Lora: Guofeng3.2 Lora version

GuoFeng3.2_Lora_big_Light: Guofeng3.2_Light Lora Version Dimension Increase Version

GuoFeng3.2_F16: Guofeng3.2 semi-refined version

GuoFeng3.2_light_f16: Guofeng3.2_Light semi-refined version

GuoFeng3.3: This version is a major update and improvement based on 3.2, which can adapt to full bodies. Even if your tag is not good, the model will automatically modify the screen, but the faces produced by the model will be quite similar. This model doesn't seem to require supersession. My plot size is 768 * 1024, and the clarity is quite good. Suggest vertical view, horizontal view may not be clear. Euler a is sufficient. (DPM++SDE Karras, DDIM is also good)

GuoFeng3.4: This version has undergone new training to adapt to the full body image, and the content is significantly different from previous versions.At the same time, the overall painting style has been adjusted, reducing the degree of overfitting, allowing it to use more Lora to adjust the screen and content.

ๅฎ‰่ฃ…ๆ•™็จ‹ - install

  1. ๅฐ†GuoFeng3.ckptๆจกๅž‹ๆ”พๅ…ฅSD็›ฎๅฝ• - Put GuoFeng3.ckpt model into SD directory

  2. ๆญคๆจกๅž‹่‡ชๅธฆVAE๏ผŒๅฆ‚ๆžœไฝ ็š„็จ‹ๅบไธๆ”ฏๆŒ๏ผŒ่ฏท่ฎฐๅพ—้€‰ๆ‹ฉไปปๆ„ไธ€ไธชVAEๆ–‡ไปถ๏ผŒๅฆๅˆ™ๅ›พๅฝขๅฐ†ไธบ็ฐ่‰ฒ - This model comes with VAE. If your program does not support it, please remember to select any VAE file, otherwise the graphics will be gray

ๅฆ‚ไฝ•ไฝฟ็”จ - How to use

TIP๏ผš็ป่ฟ‡ไธ€ๅคฉ็š„ๆต‹่ฏ•๏ผŒๅ‘็Žฐๅพˆๅคšไบบ็‰ฉๅฏ่ƒฝๅ‡บ็Žฐ็บข็œผ้—ฎ้ข˜๏ผŒๅฏไปฅๅฐ่ฏ•ๅœจ่ดŸ้ข่ฏๆทปๅŠ red eyesใ€‚ๅฆ‚ๆžœ่‰ฒๅฝฉ่‰ณไธฝๅฏไปฅๅฐ่ฏ•้™ไฝŽCFG - After a day of testing, we found that many characters may have red-eye problems. We can try to add red eyes to negative wordsใ€‚Try to reduce CFG if the color is bright

็ฎ€ๅ•๏ผš็ฌฌไธ‰ไปฃๅคงๅน…ๅบฆๅ‡ๅฐ‘ไธŠๆ‰‹้šพๅบฆ - Simple: the third generation greatly reduces the difficulty of getting started

======

ๅฆ‚ๆžœไฝ ็š„ๅ‡บๅ›พๅ…จ่บซๅ›พๆ—ถๅ‡บ็Žฐ่„ธ้ƒจๅดฉๅๅปบ่ฎฎๅˆ ้™คfull bodyๅ…ณ้”ฎ่ฏๆˆ–่€…ไฝฟ็”จ่„ธ้ƒจ่‡ชๅŠจไฟฎๅคๆ’ไปถ๏ผš

ๅ›ฝๅค–ๆบๅœฐๅ€๏ผšhttps://github.com/ototadana/sd-face-editor.git

ๅ›ฝๅ†…ๅŠ ้€Ÿๅœฐๅ€๏ผšhttps://jihulab.com/xiaolxl_pub/sd-face-editor.git

If you experience facial collapse during the full body image, it is recommended to delete the full body keyword or use the facial automatic repair plugin:

Foreign source address: https://github.com/ototadana/sd-face-editor.git

Domestic acceleration address: https://jihulab.com/xiaolxl_pub/sd-face-editor.git

=====

  • ๅ…ณ้”ฎ่ฏ - key word:
best quality, masterpiece, highres, 1girl,china dress,Beautiful face
  • ่ดŸ้ข่ฏ - Negative words:
NSFW, lowres,bad anatomy,bad hands, text, error, missing fingers,extra digit, fewer digits, cropped, worstquality, low quality, normal quality,jpegartifacts,signature, watermark, username,blurry,bad feet

้ซ˜็บง๏ผšๅฆ‚ๆžœๆ‚จ่ฟ˜ๆƒณไฝฟๅ›พ็‰‡ๅฐฝๅฏ่ƒฝๆ›ดๅฅฝ๏ผŒ่ฏทๅฐ่ฏ•ไปฅไธ‹้…็ฝฎ - senior๏ผšIf you also want to make the picture as better as possible, please try the following configuration

  • Sampling steps:50

  • Sampler:DPM++ SDE Karras or DDIM

  • The size of the picture should be at least 1024 - ๅ›พ็‰‡ๅคงๅฐ่‡ณๅฐ‘1024

  • CFG:4-6

  • ๆ›ดๅฅฝ็š„่ดŸ้ข่ฏ Better negative words - ๆ„Ÿ่ฐข็พคๅ‹ๆไพ›็š„่ดŸ้ข่ฏ:

(((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres, bad anatomy, bad hands, text, error, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly,pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,bad anatomy,bad proportions,malformed limbs,extra limbs,cloned face,disfigured,gross proportions, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs,username,blurry,bad feet
  • ๅฆ‚ๆžœๆƒณๅ…ƒ็ด ๆ›ดไธฐๅฏŒ๏ผŒๅฏไปฅๆทปๅŠ ไธ‹ๆ–นๅ…ณ้”ฎ่ฏ - If you want to enrich the elements, you can add the following keywords
Beautiful face,
hair ornament, solo,looking at viewer,smile,closed mouth,lips
china dress,dress,hair ornament, necklace, jewelry, long hair, earrings, chinese clothes,
architecture,east asian architecture,building,outdoors,rooftop,city,cityscape

ไพ‹ๅ›พ - Examples

(ๅฏๅœจๆ–‡ไปถๅˆ—่กจไธญๆ‰พๅˆฐๅŽŸๅ›พ๏ผŒๅนถๆ”พๅ…ฅWebUiๆŸฅ็œ‹ๅ…ณ้”ฎ่ฏ็ญ‰ไฟกๆฏ) - (You can find the original image in the file list, and put WebUi to view keywords and other information)

Downloads last month
3,574
Safetensors
Model size
0.9B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Spaces using xiaolxl/GuoFeng3 100