mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 11:12:35 +00:00
Add folder processing endpoint
Also minor refactor
This commit is contained in:
@@ -150,4 +150,8 @@ class ExtrasBatchImagesRequest(ExtrasBaseRequest):
|
||||
imageList: list[str] = Field(title="Images", description="List of images to work on. Must be Base64 strings")
|
||||
|
||||
class ExtrasBatchImagesResponse(ExtraBaseResponse):
|
||||
images: list[str] = Field(title="Images", description="The generated images in base64 format.")
|
||||
images: list[str] = Field(title="Images", description="The generated images in base64 format.")
|
||||
|
||||
class ExtrasFoldersRequest(ExtrasBaseRequest):
|
||||
input_dir: str = Field(title="Input directory", description="Directory path from where to take the images")
|
||||
output_dir: str = Field(title="Output directory", description="Directory path to put the processsed images into")
|
||||
|
Reference in New Issue
Block a user