| 6 | |
| 7 | |
| 8 | class UploadImageResponse(BaseModel): |
| 9 | status: str = Field( |
| 10 | "success", Literal="success", description="The status of the response." |
| 11 | ) |
| 12 | data: ImageData = Field( |
| 13 | ..., |
| 14 | description="The image data.", |
| 15 | examples=[{"image": "https://tasking.ai/image.png"}], |
| 16 | ) |