aboutsummaryrefslogtreecommitdiff
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorNoCrypt <57245077+NoCrypt@users.noreply.github.com>2022-11-11 21:14:10 +0700
committerGitHub <noreply@github.com>2022-11-11 21:14:10 +0700
commit6165f07e74f05543bf9039dda5d66686d18d985a (patch)
tree8b5d06daf8ed9626e2ac7f872720b87e1207bced /modules/api/models.py
parentc556d34523e8764bd66bf6a7bf97d06add420020 (diff)
parente666220ee458ae1e80a2ba12c64a0da9d68f20a2 (diff)
Merge branch 'master' into patch-1
Diffstat (limited to 'modules/api/models.py')
-rw-r--r--modules/api/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index 34dbfa16..f9cd929e 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -170,6 +170,7 @@ class ProgressResponse(BaseModel):
class InterrogateRequest(BaseModel):
image: str = Field(default="", title="Image", description="Image to work on, must be a Base64 string containing the image's data.")
+ model: str = Field(default="clip", title="Model", description="The interrogate model used.")
class InterrogateResponse(BaseModel):
caption: str = Field(default=None, title="Caption", description="The generated caption for the image.")