adding the logic to generate the image

This commit is contained in:
2026-03-14 02:50:54 -04:00
parent 6b651d3c4f
commit 21533ff4f5
14 changed files with 188 additions and 56 deletions

View File

@@ -0,0 +1,8 @@
from pydantic import BaseModel, Field
class QRRequest(BaseModel):
text: str = Field(..., description="Text or URL to encode into the QR code")
size: int = Field(
500, gt=0, le=2000, description="Output image size in pixels (square)"
)