mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 11:26:34 +00:00
fix: forward ref_image_args to the video pipeline (#2177)
This commit is contained in:
1 parent
fd21ecfcee
commit
baf45b49e2
12 files changed
+152
-22
No files matched your search
@@ -16,6 +16,11 @@ enum class RefImageResizeMode {
|
||||
AREA,
|
||||
};
|
||||
|
||||
enum class RefImageSizeMode {
|
||||
MATCH,
|
||||
MAX,
|
||||
};
|
||||
|
||||
struct RefImageParams {
|
||||
bool pass_to_vlm = false;
|
||||
bool pass_to_dit = true;
|
||||
@@ -31,6 +36,7 @@ struct RefImageParams {
|
||||
bool vae_size_buckets = false;
|
||||
bool vae_center_crop = false;
|
||||
bool vlm_use_vae_input = false;
|
||||
RefImageSizeMode ref_image_size = RefImageSizeMode::MATCH;
|
||||
};
|
||||
|
||||
const std::unordered_map<std::string, RefImageParams> REF_IMAGE_PRESETS = {
|
||||
|
||||
Reference in new issue
Block a user