aboutsummaryrefslogtreecommitdiff
path: root/modules/api/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/api/models.py')
-rw-r--r--modules/api/models.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index aa4ea5d5..2b66e1f0 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -104,7 +104,8 @@ StableDiffusionTxt2ImgProcessingAPI = PydanticModelGenerator(
{"key": "sampler_index", "type": str, "default": "Euler"},
{"key": "script_name", "type": str, "default": None},
{"key": "script_args", "type": list, "default": []},
- {"key": "do_not_send_images", "type": bool, "default": False}
+ {"key": "do_not_send", "type": bool, "default": False},
+ {"key": "do_not_save", "type": bool, "default": True}
]
).generate_model()
@@ -119,7 +120,8 @@ StableDiffusionImg2ImgProcessingAPI = PydanticModelGenerator(
{"key": "include_init_images", "type": bool, "default": False, "exclude" : True},
{"key": "script_name", "type": str, "default": None},
{"key": "script_args", "type": list, "default": []},
- {"key": "do_not_send_images", "type": bool, "default": False}
+ {"key": "do_not_send", "type": bool, "default": False},
+ {"key": "do_not_save", "type": bool, "default": True}
]
).generate_model()