added an option for normalizing input ID images; cleaned up debugging code

This commit is contained in:
bssrdf
2024-02-23 10:42:45 -05:00
parent e32462d2f1
commit 8b89e0ea6b
6 changed files with 20 additions and 474 deletions

View File

@@ -135,6 +135,7 @@ SD_API sd_image_t* txt2img(sd_ctx_t* sd_ctx,
const sd_image_t* control_cond,
float control_strength,
float style_strength,
bool normalize_input,
std::vector<sd_image_t*> &input_id_images);
SD_API sd_image_t* img2img(sd_ctx_t* sd_ctx,