from pydantic import BaseModel
from typing import Optional

class ImageBase64Request(BaseModel):
    image_base64: str
    image_type: Optional[str] = "jpg"  # 图片类型，如 jpg, png 等
    
# class OCRResponse(BaseModel):
#     success: bool
#     message: str
#     data: Optional[list] = None