add preprocess api

This commit is contained in:
Vladimir Mandic
2024-03-01 12:52:07 -05:00
parent d077057417
commit c7d5096f7e
7 changed files with 126 additions and 6 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ class ResProcessBatch(ResProcess):
images: List[str] = Field(title="Images", description="The generated images in base64 format.")
class ReqImageInfo(BaseModel):
image: str = Field(title="Image", description="The base64 encoded PNG image")
image: str = Field(title="Image", description="The base64 encoded image")
class ResImageInfo(BaseModel):
info: str = Field(title="Image info", description="A string with the parameters used to generate the image")