api/app/schemas/tryon.py
2025-04-09 23:00:06 +08:00

10 lines
268 B
Python

from pydantic import BaseModel
from typing import Optional
class TryonRequest(BaseModel):
top_clothing_id: Optional[int] = None
bottom_clothing_id: Optional[int] = None
top_clothing_url: Optional[str] = None
bottom_clothing_url: Optional[str] = None