Implement img2img inference method using by sd15.

This commit is contained in:
hodanov
2023-12-17 13:46:25 +09:00
parent fcfb6b347f
commit 100795dd00
5 changed files with 157 additions and 6 deletions
+11
View File
@@ -20,6 +20,17 @@ img_by_sd15_txt2img:
--fix-by-controlnet-tile "True" \
--output-format "avif"
img_by_sd15_img2img:
cd ./sdcli && modal run sd15_img2img.py \
--prompt "cat wizard, gandalf, lord of the rings, detailed, fantasy, cute, adorable, Pixar, Disney, 8k" \
--n-prompt "" \
--samples 1 \
--steps 30 \
--upscaler "RealESRGAN_x2plus" \
--use-face-enhancer "False" \
--fix-by-controlnet-tile "True" \
--output-format "avif" \
--base-image-url "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png"
img_by_sdxl_txt2img:
cd ./sdcli && modal run sdxl_txt2img.py \