模型有两个,分别是 stable-diffusion-xl-base-1.0、stable-diffusion-xl-refiner-1.0。
base 模型是用来做文生图,refiner 模型是用来做图生图的。
SDXL 模型之 base、refiner 和 VAE_云水木石的博客-CSDN博客
默认是1024*1024,或者像素数总数不大于1024*1024,且接近这个数
- # 768 x 1344: Vertical (9:16)
- # 916 x 1144: Portrait (4:5)
- # 1024 x 1024: square 1:1
- # 1182 x 886: Photo (4:3)
- # 1254 x 836: Landscape (3:2)
- # 1366 x 768: Widescreen (16:9)
- # 1564 x 670: Cinematic (21:9)
DPM++ 2M Karras or DPM++ 2S a Karras
参考:SDXL 模型之 base、refiner 和 VAE_云水木石的博客-CSDN博客
模板
PROMPT
breathtaking {prompt} . award-winning, professional, highly detailed
NEGATIVE PROMPT
anime, cartoon, graphic, text, painting, crayon, graphite, abstract glitch, blurry
应用
PROMPT
breathtaking selfie photograph of astronaut floating in space, earth in the background. award-winning, professional, highly detailed
NEGATIVE PROMPT
anime, cartoon, graphic, text, painting, crayon, graphite, abstract glitch, blurry

I Made Stable Diffusion XL Smarter by Finetuning it on Bad AI-Generated Images | Max Woolf's Blog

参考:
https://aituts.com/sdxl-prompts/
prompt