1.8 KiB
1.8 KiB
Prompt Templates
Higgsfield Image-to-Video API에 전달할 프롬프트 빌더.
구조
Higgsfield 프롬프트는 다음 4부로 구성:
- Subject Description — 사진 내용 (자동 생성, Claude Vision 사용)
- Camera Motion — 컨셉 프리셋에서 가져옴
- Style Modifiers — 컨셉의
style_keywords결합 - Negative Prompt — 펜션 마케팅 가드레일
템플릿 예시
# Cinematic Trailer 프롬프트
[SUBJECT]: {{ photo_caption }}
[MOTION]: {{ concept.camera_move }}, motion strength {{ concept.motion_strength }}
[STYLE]: {{ concept.style_keywords | join(", ") }}
[NEGATIVE]: distorted faces, extra fingers, fake text, brand logos,
structural deformation, watermarks, low quality
가드레일 (모든 컨셉 공통 Negative Prompt)
distorted human faces,
extra fingers, malformed hands,
fake text or signs,
competitor brand logos,
structural deformation of building,
fake amenities (pool, jacuzzi if not in source),
celebrities or recognizable people,
star ratings, fake reviews,
watermarks, low quality, blurry
펜션 사진 캡션 생성 (Claude Vision)
각 입력 사진에 대해 Claude Vision으로 다음 메타데이터를 추출:
scene_type: "interior" | "exterior" | "nature" | "detail"
time_of_day: "day" | "golden_hour" | "night" | "dawn"
focal_element: "bed | window | view | texture | ..."
mood_keywords: ["cozy", "spacious", "wooden", ...]
structural_features: ["wooden_beams", "floor_to_ceiling_window", ...] # 보존 필수
이 메타데이터를 기반으로 프롬프트 빌더가 컨셉 매칭 점수를 계산 + 프롬프트 구성.
TBD (W2 작성 예정)
- 컨셉별 jinja 템플릿 파일 5개 (
01_cinematic-trailer.j2등) - 한글 자막 자동 생성 프롬프트 (Claude API)
- 음악 매칭 메타데이터 스키마