aboutsummaryrefslogtreecommitdiff
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorkurisu_u <73207840+lanyeeee@users.noreply.github.com>2023-12-30 21:47:59 +0800
committerGitHub <noreply@github.com>2023-12-30 21:47:59 +0800
commitd05f9e8124160d5ef6fcea6523585f613f375fac (patch)
treec2898250b3f96ccf791c9b4ebf7faf7f12f1a128 /modules/api/models.py
parentc069c2c5628728c9506dd034ef98e6335fd5bb34 (diff)
parentadcd65ba3493fc91c9d7c843d7e14275ad6fd881 (diff)
Merge branch 'dev' into api_thread_safe
Diffstat (limited to 'modules/api/models.py')
-rw-r--r--modules/api/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index 58083a34..16edf11c 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -108,6 +108,7 @@ StableDiffusionTxt2ImgProcessingAPI = PydanticModelGenerator(
{"key": "save_images", "type": bool, "default": False},
{"key": "alwayson_scripts", "type": dict, "default": {}},
{"key": "force_task_id", "type": str, "default": None},
+ {"key": "infotext", "type": str, "default": None},
]
).generate_model()
@@ -126,6 +127,7 @@ StableDiffusionImg2ImgProcessingAPI = PydanticModelGenerator(
{"key": "save_images", "type": bool, "default": False},
{"key": "alwayson_scripts", "type": dict, "default": {}},
{"key": "force_task_id", "type": str, "default": None},
+ {"key": "infotext", "type": str, "default": None},
]
).generate_model()