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
|
|
|
|
|