스타일링 1차 기능 추가

This commit is contained in:
jaehwang committed 2026-09-09 10:34:58 +09:00
1 parent 3555fa05a2
commit 2140f7d5c8
12 files changed
+531

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
"""스타일링 ① — 포스터에 인쇄된 글자 판독 응답 스키마
이미지 생성 모델이 한글을 다시 그리며 자모를 바꾸므로(맥주축제 → 백주축제)
읽기 잘하는 모델에 먼저 읽히고 그 문자열을 생성 프롬프트에 못 박는다.
"""
from pydantic import BaseModel
MAX_EXTRA_LINES = 3
class PosterTextAnswer(BaseModel):
title: str
slogan: str
date: str
time: str
place: str
extra: list[str]