@@ -4,8 +4,8 @@ from modules.shared import sd_upscalers
...
@@ -4,8 +4,8 @@ from modules.shared import sd_upscalers
classTextToImageResponse(BaseModel):
classTextToImageResponse(BaseModel):
images:list[str]=Field(default=None,title="Image",description="The generated image in base64 format.")
images:list[str]=Field(default=None,title="Image",description="The generated image in base64 format.")
parameters:Json
parameters:str
info:Json
info:str
classExtrasBaseRequest(BaseModel):
classExtrasBaseRequest(BaseModel):
resize_mode:Literal[0,1]=Field(default=0,title="Resize Mode",description="Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w.")
resize_mode:Literal[0,1]=Field(default=0,title="Resize Mode",description="Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w.")