mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-15 07:20:31 +08:00
8 lines
236 B
Python
8 lines
236 B
Python
from pydantic import BaseModel, Field, Json
|
|
|
|
class TextToImageResponse(BaseModel):
|
|
images: list[str] = Field(default=None, title="Image", description="The generated image in base64 format.")
|
|
parameters: Json
|
|
info: Json
|
|
|
|
|