mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
add preprocess api
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user