diff --git a/.claude/commands/daily-cards.md b/.claude/commands/daily-cards.md new file mode 100644 index 0000000..38c8cc3 --- /dev/null +++ b/.claude/commands/daily-cards.md @@ -0,0 +1,16 @@ +--- +description: 오늘 날씨 타로·코디 카드를 둘 다 만들어 검수하고 날씨각 피드와 인스타에 올린다 (/daily-tarot + /daily-ootd) +argument-hint: "<타로 주제> <코디 스타일> 예) 건강 운동 minimal" +--- + +오늘 인스타 카드를 만든다. 인자: `$ARGUMENTS` — 앞은 타로 주제(비어 있으면 Claude 가 오늘 날씨에 맞는 주제를 고른다), 마지막 단어가 casual·semi·formal·street·minimal 중 하나면 코디 스타일(없으면 minimal=꾸안꾸). 코디 포스트 하나는 스타일 하나: 네 사람 모두 같은 스타일. +재확인 질문 없이 순서대로 진행하고, 막히면 그 자리에서 보고하고 멈춘다. 타로는 `/daily-tarot` 의 순서대로, 코디는 `/daily-ootd` 의 순서대로 각각 만들고 검수한 뒤 올린다(두 명령 파일의 단계를 그대로 따른다). + +1. 관리자 서버: `curl -s http://localhost:5175/api/targets` 에 `king` 이 있어야 한다. 없으면 `admin/` 에서 백그라운드로 켠다 (`admin/AGENTS.md` '켜기', 킹서버 키는 `ssh King_admin` 의 `~/proj/o2o-weather/.env` `ADMIN_API_KEY`, 값은 출력하지 않는다). +2. 예보: `curl -s "https://weather.o2o.kr/v1/weather/today?region=1114000000"` 의 `day` 가 오늘인지 보고 slots 의 기온·하늘·비 확률을 적어 둔다. +3. 타로: `cd admin && VITE_API_BASE_URL=https://weather.o2o.kr ADMIN_URL=http://localhost:5175 npm run card -- tarot --topic "<주제>" --color sky --post-wait`. + 출력된 기획 문구를 2의 예보와 대조한다(숫자·하늘 묘사가 틀리면 `--copy <값> --feedback "실제 수치…"` 로 한 번만 다시). "일부 그림을 못 만들어" 가 나오면 멈추고 보고한다. 크롬이 한 장에서 45초 넘게 멈추면 그 프로세스를 죽이고 그 장만 다시 찍는다. +4. 코디(그날 코디): `npm run card -- ootd --daily --style <스타일> --color sky --post-wait`. 무신사 인기 스냅 중 그 스타일 태그(꾸안꾸·오피스룩·캐주얼·스트릿·정장)가 붙은 것에서 사람 4명(20-30대·40대~ 여·남) 코디를 고르고, Claude 가 옷 목록을 뽑고, Codex 가 참고 사진대로 플랫레이 그림을 그린다(사람당 2~4분). 고른 스냅 주소와 옷 목록이 출력된다. "스냅이 없어요"·"저장하지 못했어요" 가 나오면 멈추고 보고한다. +5. 검수(예외 없음): 만든 JPEG 전부를 **한 장씩 원본 크기로** Read 로 연다. 축소 시트로 판단하지 않는다. 볼 것: 글자 잘림·겹침, 그림 누락, 그림 속 사람·얼굴·글자, 코디는 그림 아래 옷 목록의 옷이 그림에 전부 있고 추가 옷이 없는지, 스냅 사진(`out/<날짜>/snaps/<사람>/snap.jpg`)과 옷·색이 같은지, 날씨 줄 수치가 예보와 맞는지. 틀리면 고치고 다시 찍어 다시 본다. +6. 새 타로 그림이 생겼으면 `git add admin/src/assets/gak-card admin/src/assets/tarot-bg` 후 `feat: <날짜> 각 카드 그림(…)` 로 커밋한다 (Claude 서명 없이). 코디 그림(`admin/public/daily`)은 커밋하지 않는다. +7. 보고(한국어, 짧게): 킹서버 카드 번호 2개(승인 대기), 만든 JPEG 경로, 참고한 스냅 주소 4개, 검수에서 고친 것, 남은 이슈. 올리는 건 사용자가 관리자 '만든 카드' 탭이나 "올려" 로 한다. diff --git a/.claude/commands/daily-ootd.md b/.claude/commands/daily-ootd.md new file mode 100644 index 0000000..f7d2d8a --- /dev/null +++ b/.claude/commands/daily-ootd.md @@ -0,0 +1,15 @@ +--- +description: 오늘의 코디 카드 4장(20-30대·40대~ 여·남, 스타일 하나)을 무신사 인기 스냅으로 만들어 검수하고 날씨각 피드와 인스타에 올린다 +argument-hint: "<스타일> minimal(꾸안꾸)·casual·semi(오피스)·formal·street (비우면 minimal)" +--- + +오늘의 코디 카드를 만들어 올린다. 인자: `$ARGUMENTS` — 코디 스타일 하나(minimal=꾸안꾸, casual=캐주얼, semi=세미정장·오피스, formal=정장, street=스트릿). 비어 있으면 minimal. 포스트 하나는 스타일 하나: 네 사람 모두 같은 스타일. +재확인 질문 없이 순서대로 진행하고, 막히면 그 자리에서 보고하고 멈춘다. 검수를 통과한 뒤에만 올린다(올린 건 되돌릴 수 없다). + +1. 관리자 서버: `curl -s http://localhost:5175/api/targets` 에 `king` 이 있어야 한다. 없으면 `admin/` 에서 백그라운드로 켠다 (`admin/AGENTS.md` '켜기', 킹서버 키는 `ssh King_admin` 의 `~/proj/o2o-weather/.env` `ADMIN_API_KEY`, 값은 출력하지 않는다). +2. 만들기(승인 대기로 저장까지): `cd admin && VITE_API_BASE_URL=https://weather.o2o.kr ADMIN_URL=http://localhost:5175 npm run card -- ootd --daily --style <스타일> --color sky --post-wait`. 출력 끝의 `카드 N` 번호를 적어 둔다. + 무신사 인기 스냅 중 그 스타일 태그가 붙은 것에서 사람 4명 코디를 고르고(최근 14일에 쓴 스냅 제외), Claude 가 옷 목록을 뽑고, Codex 가 스냅 사진·상품 썸네일을 참고해 플랫레이 그림을 그린다(사람당 2~4분, 총 10~15분). 고른 스냅 주소·옷 목록이 출력된다. "스냅이 없어요"·"저장하지 못했어요"·"Codex 실행이 실패" 가 나오면 멈추고 보고한다. 로그의 `rmcp … AuthRequired` 는 Codex 내부 경고라 무시한다. 크롬이 한 장에서 45초 넘게 멈추면 그 프로세스를 죽이고 그 장만 다시 찍는다. +3. 검수(예외 없음): 만든 JPEG 4장을 **한 장씩 원본 크기로** Read 로 연다. 축소 시트로 판단하지 않는다. 볼 것: 그림이 비어 있지 않은지, 그림 아래 옷 목록의 옷이 그림에 전부 있고 추가 옷이 없는지, 그림 속 사람·얼굴·글자, 스냅 사진(`admin/out/<날짜>/snaps/<사람>/snap.jpg`)과 옷·색이 같은지, 이름표 줄이 날씨 줄과 겹치지 않는지, 날씨 줄 수치가 예보(`https://weather.o2o.kr/v1/weather/today?region=1114000000`)와 맞는지. 틀리면 고치고 다시 만들어(2번, 새 카드 번호) 다시 본다. 못 고치면 올리지 말고 보고한다. +4. 올리기(검수 통과 시): `curl -s -X POST "http://localhost:5175/api/cards/<카드 N>/publish?target=king"` → `post_id` 확인, 이어서 `curl -s -X POST --max-time 600 "http://localhost:5175/api/cards/<카드 N>/instagram?target=king"` → `ig_media_id`. 인스타 링크: `~/projects/o2o-weather/.env` 의 `INSTAGRAM_ACCESS_TOKEN` 으로 `GET https://graph.instagram.com/v24.0/?fields=permalink` (토큰 값은 출력하지 않는다). +5. TODO.md 인스타 홍보 표에 한 줄(카드·포스트 번호, 인스타 링크, 참고 스냅 4개) 적고 `docs:` 커밋, `git push origin sns:main`. 코디 그림(`admin/public/daily`)은 커밋하지 않는다. +6. 보고(한국어, 짧게): 인스타 링크, 킹서버 카드·포스트 번호, 참고한 스냅 주소 4개, 검수에서 고친 것, 남은 이슈. diff --git a/.claude/commands/daily-tarot.md b/.claude/commands/daily-tarot.md new file mode 100644 index 0000000..b798634 --- /dev/null +++ b/.claude/commands/daily-tarot.md @@ -0,0 +1,16 @@ +--- +description: 오늘의 날씨 타로 카드 5장을 만들어 검수하고 날씨각 피드와 인스타에 올린다 +argument-hint: "<타로 주제> 예) 건강 운동 · 연애 썸 · 경제 주식 (비우면 Claude가 고름)" +--- + +오늘의 날씨 타로 카드를 만들어 올린다. 인자: `$ARGUMENTS` — 타로 주제(대주제 소주제). 비어 있으면 Claude 가 오늘 날씨에 맞는 주제를 고른다. +재확인 질문 없이 순서대로 진행하고, 막히면 그 자리에서 보고하고 멈춘다. 검수를 통과한 뒤에만 올린다(올린 건 되돌릴 수 없다). + +1. 관리자 서버: `curl -s http://localhost:5175/api/targets` 에 `king` 이 있어야 한다. 없으면 `admin/` 에서 백그라운드로 켠다 (`admin/AGENTS.md` '켜기', 킹서버 키는 `ssh King_admin` 의 `~/proj/o2o-weather/.env` `ADMIN_API_KEY`, 값은 출력하지 않는다). +2. 예보: `curl -s "https://weather.o2o.kr/v1/weather/today?region=1114000000"` 의 `day` 가 오늘인지 보고 slots 의 기온·하늘·비 확률을 적어 둔다. +3. 만들기(승인 대기로 저장까지): `cd admin && VITE_API_BASE_URL=https://weather.o2o.kr ADMIN_URL=http://localhost:5175 npm run card -- tarot --topic "<주제>" --color sky --post-wait` (주제가 없으면 `--topic` 없이). 출력 끝의 `카드 N` 번호를 적어 둔다. + 출력된 기획 문구를 2의 예보와 대조한다(숫자·하늘 묘사가 틀리면 `--copy <값> --feedback "실제 수치…"` 로 한 번만 다시). 빠진 각 카드 그림은 Codex 가 자동으로 만든다(장당 1~5분). "일부 그림을 못 만들어" 가 나오면 멈추고 보고한다. 크롬이 한 장에서 45초 넘게 멈추면 그 프로세스를 죽이고 그 장만 다시 찍는다. +4. 검수(예외 없음): 만든 JPEG 5장을 **한 장씩 원본 크기로** Read 로 연다. 축소 시트로 판단하지 않는다. 볼 것: 글자 잘림·겹침, 카드 그림 누락, 그림 속 사람·글자, 리딩 문구의 수치·하늘 묘사가 예보와 맞는지, 말투(3문장, "~할 수 있어요" 남발·덕담 금지). 틀리면 고치고 다시 만들어(3번, 새 카드 번호) 다시 본다. 못 고치면 올리지 말고 보고한다. +5. 올리기(검수 통과 시): `curl -s -X POST "http://localhost:5175/api/cards/<카드 N>/publish?target=king"` → `post_id` 확인, 이어서 `curl -s -X POST --max-time 600 "http://localhost:5175/api/cards/<카드 N>/instagram?target=king"` → `ig_media_id`. 인스타 링크: `~/projects/o2o-weather/.env` 의 `INSTAGRAM_ACCESS_TOKEN` 으로 `GET https://graph.instagram.com/v24.0/?fields=permalink` (토큰 값은 출력하지 않는다). +6. 새 그림이 생겼으면 `git add admin/src/assets/gak-card admin/src/assets/tarot-bg` 후 `feat: <날짜> 각 카드 그림(…)` 로 커밋한다 (Claude 서명 없이). TODO.md 인스타 홍보 표에 한 줄(카드·포스트 번호, 인스타 링크) 적고 `docs:` 커밋, `git push origin sns:main`. +7. 보고(한국어, 짧게): 인스타 링크, 킹서버 카드·포스트 번호, 새 그림 수, 검수에서 고친 것, 남은 이슈. diff --git a/README.md b/README.md new file mode 100644 index 0000000..2421e1e --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# 날씨각 + +날씨를 보면 오늘 할 일을 알려 주는 서비스. https://weather.o2o.kr + +| 폴더 | 내용 | 문서 | +|---|---|---| +| `backend/` | FastAPI 백엔드 (날씨·각 점수·피드·카드 API) | `backend/docs/README.md` | +| `frontend/` | React 서비스 화면 | `frontend/README.md` | +| `admin/` | 관리자: 인스타 카드(날씨 타로·오늘의 코디) 제작 | `admin/AGENTS.md` | +| `docs/` | 기획·설계·운영 문서 | 아래 | + +## 인스타 카드 올리기 + +Claude Code에서 한 줄: + +``` +/daily-tarot 건강 운동 ← 날씨 타로 5장 +/daily-ootd minimal ← 오늘의 코디 4장 +``` + +만들고 검수하고 날씨각 피드·인스타까지 올린 뒤 링크를 보고한다. 자세한 건 [docs/인스타_카드_사용법.md](docs/인스타_카드_사용법.md). + +## 주요 문서 + +- [서비스 동작 안내](docs/서비스_동작_안내.md) — 날씨를 언제 받고 점수를 어떻게 매기나 +- [각 계산 기준](docs/각_계산기준.md) · [점수 계산식](docs/점수_계산식.md) +- [피드 동작 방식](docs/피드_동작방식.md) · [콘텐츠 설계서](docs/콘텐츠_설계서.md) +- [인스타 카드 사용법](docs/인스타_카드_사용법.md) +- [TODO](TODO.md) — 결정 필요·미해결 항목 +- 회의록: `docs/meetings/` + +## 배포 + +킹서버에서 `./deploy.sh` (init.sql 재실행, docker compose). 운영 `.env`는 서버에 따로 있다. diff --git a/TODO.md b/TODO.md index 92bdf98..fcda7a2 100644 --- a/TODO.md +++ b/TODO.md @@ -269,10 +269,28 @@ | [ ] | **[결정 필요]** 전국 단풍 랭킹 — 백엔드에 전국 단풍 순위 데이터가 없음. 데이터 출처(산림청·기상청 단풍 시기, 단풍각 점수로 대표 30곳 계산 등) 결정 필요 | 사용자 요청 (10/21) | `backend/` | | [ ] | 관리자 '날씨각·인스타에 올리기' 버튼 — 10/23 날씨각 쪽 됨: 카드뉴스 포스트 타입 16·`card_set`/`card_image` 테이블·`/v1/card` API(X-Admin-Key)·피드 이미지 슬라이드·관리자 '지금 올리기/승인 대기로 저장'·`npm run card --post/--post-wait`. 10/23 운영 반영: main 병합·킹서버 배포·`ADMIN_API_KEY` 설정, 관리자에서 로컬·킹서버 골라 올리기. 인스타는 토큰만 넣으면 됨(인스타 연결 행) | 사용자 요청 (10/21) | `admin/src/pages/CardsPage.tsx`, `backend/router/v1/feed/` | | [ ] | 주제별 타로 카드 뒷면 5장(하트·동전·별·클로버·반짝이) — 프롬프트 템플릿 `admin/image-prompts/tarot.json` 준비됨, Codex 한도 풀리면(10/21 14:36~) `cd admin && npm run gen-image -- tarot missing`. 생기면 카드에 자동으로 붙음 | 주제 베리에이션 (10/21) | `admin/image-prompts/tarot.json`, `admin/src/assets/tarot/` | -| [ ] | 인스타 연결 — 계정 @nalssigak(프로페셔널 전환 됨, 10/23). 남은 것: ① https://developers.facebook.com/apps 에서 앱 만들기(유형 '기타' → '비즈니스') ② 제품 'Instagram' 추가 → 'Instagram API with Instagram Login' 설정 ③ 'Instagram 계정 추가'에 @nalssigak 로그인해 테스터로 추가 ④ '액세스 토큰 생성'으로 토큰 발급(권한 instagram_business_basic, instagram_business_content_publish, instagram_business_manage_insights) ⑤ 토큰·계정 ID(`GET https://graph.instagram.com/v24.0/me?fields=user_id&access_token=…`)를 킹서버 .env `INSTAGRAM_ACCESS_TOKEN`·`INSTAGRAM_USER_ID`에 넣기 ⑥ 토큰은 60일마다 갱신 필요(`/refresh_access_token`) — 자동 갱신은 추후. 코드는 10/23 준비됨(`POST /v1/card/{id}/instagram`, 관리자 '인스타에도 올리기') | 사용자 요청 (10/23) | `backend/services/external/instagram.py`, `backend/router/v1/card/card.py` | +| [x] | 인스타 연결 — 계정 @nalssigak(BUSINESS), Meta 앱 토큰·계정 ID를 로컬 `~/projects/o2o-weather/.env`와 킹서버 `.env`에 넣고 백엔드 재생성(10/23). 관리자 '인스타에 올리기'로 킹서버 카드 1 → 인스타 미디어 18240295243316450 게시 성공. 남은 것: 토큰 60일 갱신(`GET /refresh_access_token?grant_type=ig_refresh_token`, 만료 2026-12-22쯤) 자동화 | 사용자 요청 (10/23) | `backend/services/external/instagram.py` | | [ ] | **[결정 필요]** 인스타 카드 매일 자동화(서버) — 흐름: 매일 아침 서버가 Claude 기획(Claude Code 플랜, `claude setup-token` 토큰) → 카드 이미지까지 생성 → Teams 채널에 미리보기 카드(Workflows 웹훅 + Adaptive Card, 승인 / 고치기 버튼은 우리 서버 링크 — 그날 게시물에만 통하고 기한 지나면 막힘, 이미지는 공개 주소 필요) → 승인 시 정한 시각에 인스타·날씨각 업로드 → 성과 추적. 마감까지 승인 없으면 올리지 않음. 정할 것: 알림 받을 Teams 채널·Workflows 웹훅 만들 계정(만든 사람 소유라 공용 계정 권장)·생성/마감/게시 시각, 서버에 Claude Code CLI·Chrome·admin 설치(운영 변경, 확인 받고), 플랜 토큰을 서버 자동 실행에 쓰는 것이 약관상 괜찮은지 확인 | 사용자 제안 (10/21) | `admin/`, `backend/scheduler/` | | [ ] | 기존 실패 테스트 2개 — `test_feed.py::test_feed_assembles_hero_stories_posts_and_bands`(stories 40 기대, 실제 42: 각 개수 늘어남), `test_weather_today.py::test_today_fetches_stores_and_returns_8_slots`(18시 칸 아이콘이 시각에 따라 sunset/moon). 카드뉴스 작업 전 코드에서도 같은 실패 | 카드뉴스 작업 중 발견 (10/23) | `backend/tests/test_feed.py`, `backend/tests/test_weather_today.py` | | [ ] | 인스타 카드 서버 매일 자동 생성 + Teams 승인 — 서버에 Claude Code CLI(플랜 토큰)·Codex·Chrome·admin 설치, 매일 `npm run card -- tarot --post-wait` 후 Teams 웹훅(이미 있는 `backend/services/external/teams_webhook.py`)으로 미리보기·승인 링크. 운영 변경이라 확인 받고 | 인스타 홍보 7장 | `admin/scripts/card.mjs`, `backend/router/v1/card/card.py` | | [x] | Playwright 끝까지 테스트 — 관리자(5175) → 연애·썸 → 만들기(Claude) → 지금 올리기 → 로컬 날씨각(9812 테스트 DB) 피드 2번째에 '날씨각 카드' 노출·이미지 로드 확인 (10/23 통과). 스크립트는 세션 임시 폴더에만 있음 | 사용자 요청 (10/23) | `admin/`, `frontend/src/b/Post.tsx` | | [ ] | 로컬 Postgres(docker 5440) 반복 크래시 — 10/23 2시간에 4번 복구 모드, 10/20 로그에 'No space left on device'. 도커 VM 디스크 98G 중 46G 사용, 이미지 29G 중 19.8G·볼륨 15.9G 중 13.5G 정리 가능. 다른 프로젝트 공용이라 정리 전 확인 필요 | 테스트 중 발견 (10/23) | docker | | [x] | 킹서버 반영 (10/23) — main 병합·배포 2회(카드뉴스 API·nginx 본문 한도 40m), `ADMIN_API_KEY` 설정, '오늘의 썸 타로' 카드 1 → 포스트 3337로 오늘 피드 2번째에 게시, 이미지 https://weather.o2o.kr/v1/card/1/1.jpg 확인 | 사용자 요청 | `deploy.sh`, `frontend/nginx.conf` | +| [ ] | 인스타 토큰 자동 갱신 — 장기 토큰은 60일 만료. 워커에 주 1회 `refresh_access_token` 잡을 넣고 새 토큰을 어디에 둘지(.env는 재생성 필요 → DB/Redis 저장) 결정 | 인스타 연결 (10/23) | `backend/scheduler/`, `backend/services/external/instagram.py` | +| [ ] | 킹서버 `.env` 바꾼 뒤 `docker compose restart`는 환경변수를 다시 읽지 않음 — `docker compose up -d --force-recreate <서비스>`로 해야 함. deploy.sh/문서에 적기 | 인스타 연결 중 발견 (10/23) | `deploy.sh`, `backend/docs/README.md` | +| [ ] | 어제(10/23) 인스타 썸 타로 글(https://www.instagram.com/p/De1E3uRIKHE/)은 3번 장(드라이브각)이 그림 없이 아이콘 — 드라이브각 그림은 10/24 만들었지만 날짜가 지나 재게시 안 함. 그 글을 앱에서 지울지 그냥 둘지 결정 | 10/24 | — | +| [x] | 10/24 나들이 타로(등산각·드라이브각·한강각, 질문 "어느 곳으로 나들이를 가면 좋을까요?") 킹서버 카드 2 → 포스트 3648, 인스타 https://www.instagram.com/p/De3N7LnIJyZ/ 게시. 같은 날 오늘의 코디(캐주얼, mild 구간 그림 재사용) 킹서버 카드 3 → 포스트 3649, 인스타 https://www.instagram.com/p/De3OVz6oC9e/. 그림 생성 모델: `gpt-6-luna`는 그림을 파일로 저장 못 해 실패, `gpt-6-sol`·low로 바꿔 성공(장당 ~28k 토큰) | 사용자 요청 (10/24) | `admin/scripts/gen-image.mjs` | +| [x] | 10/24 날씨각 소개 카드(인스타 전용, 8장, `intro` 템플릿 — Codex gpt-6-sol이 설계) 인스타 https://www.instagram.com/p/De3SUTtoDGR/ 게시. 킹서버엔 카드 4로 저장만(승인 대기, 피드엔 안 나감). 해시태그는 `card_set.hashtags`로 인스타 캡션에만 붙음(타로·코디 템플릿도 적용) | 사용자 요청 (10/24) | `admin/src/cards/templates.tsx`, `backend/router/v1/card/card.py` | +| [ ] | 인스타 릴스(20초, 2.5D: Codex 3D 렌더풍 배경 + 카메라 패럴랙스, 무료 BGM, API로 업로드) — 백엔드에 mp4 공개 주소 + REELS 게시 추가 필요 | 사용자 요청 (10/24) | `backend/services/external/instagram.py` | +| [ ] | 인스타에 올라간 불량 게시물 삭제(앱에서만 가능): 소개 카드 De3SUTtoDGR·De3ycbAIPVw(스샷 잘림)·De31G7VIBEc(7·8번 장 치우침), 릴스 18152745022535272(폰 잘림), 10/25 꾸안꾸 코디 De58VfXINy0(20-30대와 40대~ 옷이 같음)·De5-8gboL-c(40대 여자 롱가디건·여름 옷)·De6B2gwIMXF(이름표 자리 어긋남) — 킹서버 포스트 3961·3962·3963은 deleted=true로 숨김 | 10/24·10/25 검수 실패 | — | +| [ ] | 소개 카드 최종본(`admin/out/2026-10-24/소개카드_1~8.jpg`, 10/24 21:54 — 8장 1:1 검수 완료, 모서리 캐릭터는 1번만·4·6·8번은 3D 스틸 안 캐릭터)과 3D 릴스(`admin/out/2026-10-24/릴스_3D.mp4`·표지 `릴스_3D_표지.jpg`, 21프레임 검수 완료) — 사용자가 "올려"라고 할 때만 올림. 릴스 음악은 HeyGen 로그인(`~/.local/bin/heygen auth login --oauth`) 뒤 `npx hyperframes media-use resolve --type bgm` | 10/24 | `admin/reels/intro3d/` | +| [x] | 코디 옷 데이터 — 세미정장·정장·스트릿·꾸안꾸 4스타일은 7개 기온 구간 전부 20-30대와 40대~ 옷이 같음(캐주얼만 다름, warm·꾸안꾸는 10/25 고침). 40대~ 여/남 옷 목록 54개를 새로 써서 검토받고 반영 — 10/26 그날 코디(--daily)로 대체해 고정 데이터는 예비용만 | 10/25 발견 | `admin/image-prompts/ootd.json` | +| [x] | 코디 카드 매일 다르게 — 고정 옷 데이터 대신 무신사 스냅 공개 API에서 오늘 구간 인기 코디를 사람별(40대~ 단정 태그 우선)로 골라 Claude가 옷 목록 추출, Codex가 참고 사진 첨부로 플랫레이 생성(`npm run card -- ootd --daily`, `/daily-cards`). 10/26 4장 검수 통과. 에이블리는 공개 API 없음(앱 전용)이라 미사용 | 사용자 요청 (10/26) | `admin/scripts/daily-ootd.mjs`, `snap.mjs`, `outfit.mjs`, `codex-image.mjs` | +| [x] | 10/26 세미정장 코디(그날 코디 첫 게시) — 킹서버 카드 12→포스트 4275, 인스타 https://www.instagram.com/p/De8O2kqATrl/. 무신사 스냅 4개 참고, 4장 1:1 검수 | 사용자 요청 (10/26) | `admin/scripts/daily-ootd.mjs` | +| [x] | 10/26 몸 컨디션 타로(건강: 등산각·자전거각·산책각) — 킹서버 카드 13→포스트 4276, 인스타 https://www.instagram.com/p/De8Zw7MIEVW/. 기획에서 3번 산책각 비 시점 틀린 것 피드백으로 고침. card.mjs --post-wait 가 ECONNRESET 으로 두 번 실패해 post-king.py 로 저장 | 사용자 요청 (10/26) | `admin/scripts/card.mjs` | +| [x] | 각 카드 그림 미리 생성 — 가을에 나올 만한 28장(피크닉·캠핑·놀이공원·빨래·단풍·억새·테니스·골프·군고구마·붕어빵·군밤·사진산책·별보기·환기·세차·이불빨래·데이트·치맥·막걸리·파전·우산·넷플릭스·집콕·한강밤바람·멍뭉산책·센치·감성노래·낚시) + 기존 8 = 36/68. 여름·한겨울 전용 32장은 철 되면 생성 | 사용자 요청 (10/26) | `admin/src/assets/gak-card/` | +| [ ] | 카드 자동화 다음 단계 — ① 생성 직후 자동 검사(Claude 비전: 옷 개수·사람·글자·추가 옷, 불합격 1회 재생성) ② 승인 대기 카드 메일/Teams 알림 + 서명 토큰 승인 링크(`GET /v1/card/{id}/approve`) ③ 맥 launchd 매일 06:30 `claude -p "/daily-cards"` ④ 그림 세트가 차면 킹서버로 이전 | 사용자 요청 (10/26) | `backend/router/v1/card/card.py`, `admin/scripts/` | +| [ ] | 앱 헤더가 400~448px 폭에서 컨테이너를 넘쳐 로그인 버튼이 잘림(`frontend/src/b/BLayout.tsx` TopBar). 캡처는 456px로 찍어 피했지만 실제 폰(430·440px)에서도 잘릴 수 있음 | 10/24 캡처 중 발견 | `frontend/src/b/BLayout.tsx` | +| [ ] | `npm run card`가 크롬 멈춤에 시간 제한이 없음 — 10/24 소개 카드 7번 장에서 헤드리스 크롬이 75분 멈춰 있었음(`--virtual-time-budget`만으론 안 끝남). `execFileSync`에 `timeout`(예: 60초) 주고 실패 시 그 장만 재시도 | 10/24 렌더 중 발견 | `admin/scripts/card.mjs` | +| [x] | 10/25 건강·운동 타로(킹서버 카드 7→포스트 3960, 인스타 https://www.instagram.com/p/De5iLg4AS_M/)·꾸안꾸 코디는 처음 올린 카드 8→포스트 3961(인스타 De58VfXINy0)이 40대~ 옷이 20-30대와 같아 숨기고, 40대~ 옷을 새로 써서 카드 9→포스트 3962(인스타 De5-8gboL-c)로 재게시했으나 40대 여자 그림에 롱가디건이 끼고 전체가 여름 옷으로 보여 다시 숨김. 일교차 8도 이상이면 겉옷을 5번째 옷으로 넣게 고쳐 카드 10→포스트 3963(인스타 De6B2gwIMXF)으로 올렸으나 그림 배치와 이름표 자리가 어긋나 숨김. 프롬프트에 옷 자리를 적고 다시 그려 카드 11→포스트 3964, 인스타 https://www.instagram.com/p/De6JRIkoKbT/ 로 최종 게시. 07:52 예약(세션 크론)이 세션 종료로 안 돌아 09:46 수동 실행. 코디는 사용자 결정으로 사람 구분을 20-30대·40대~ 4장으로 바꿈(f30·m30 그림 파일 8장은 남아 있으나 미사용). 새 그림 8장(러닝각·자전거각·warm 꾸안꾸 6) | 사용자 요청 (10/24) | `admin/image-prompts/ootd.json`, `admin/scripts/card.mjs` | + diff --git a/admin/.gitignore b/admin/.gitignore index 0e60994..8412058 100644 --- a/admin/.gitignore +++ b/admin/.gitignore @@ -25,3 +25,6 @@ dist-ssr # npm run card 결과 out + +# 그날 코디 그림 (scripts/daily-ootd.mjs 가 만들고 카드가 /daily/... 로 읽는다) +public/daily diff --git a/admin/AGENTS.md b/admin/AGENTS.md index b7a4921..46f4aff 100644 --- a/admin/AGENTS.md +++ b/admin/AGENTS.md @@ -33,6 +33,10 @@ VITE_API_BASE_URL=http://localhost:9810 npm run dev # http://localhost:5175 - **카드**: 날씨각 각 카드(`../backend/seed/index_definition.json`, 53장). 오늘 점수가 높은 각 중 질문과 엮이는 3장을 고르고, 각 카드로 질문을 리딩한다. 카드 그림은 그 각의 아이콘. - 대주제·소주제·아이콘을 늘리려면 `topics.json`만 고친다. 새 꾸밈 모양은 CSS와 `image-prompts/tarot.json`에 같이 더한다. +## 매일 올리기 (슬래시 명령) + +사용자용 안내는 `docs/인스타_카드_사용법.md`. Claude Code에서 `/daily-tarot <주제>`, `/daily-ootd <스타일>`, `/daily-cards <주제> <스타일>` 을 치면 만들기 → 장마다 검수 → 킹서버 피드·인스타 게시 → 링크 보고까지 한 번에 한다. 명령 정의는 `.claude/commands/`. + ## 대화로 만들 때 (Claude·Codex) 사용자가 "오늘 주식 날씨 타로 만들어 줘"처럼 말하면 아래 명령을 실행한다. 관리자 화면(`npm run dev`)이 켜져 있어야 한다. @@ -55,6 +59,25 @@ VITE_API_BASE_URL=http://localhost:9810 npm run card -- tarot --topic 주식 [-- - 관리자 서버가 비밀값을 `/api/post`·`/api/cards`에서만 붙인다. 브라우저엔 안 나간다. 킹서버 키는 킹서버 `.env`의 `ADMIN_API_KEY`와 같은 값. - 켜는 예: `VITE_API_BASE_URL=http://localhost:9810 ADMIN_API_KEY=… KING_ADMIN_API_KEY=… npm run dev` +## 그날 코디 (무신사 인기 스냅 → 옷 추출 → 참고 사진대로 그림) + +코디 카드는 고정 데이터(`image-prompts/ootd.json` 구간×스타일 옷) 대신 **그날 무신사 인기 스냅**으로 만든다. 같은 날씨라도 매일 다른 코디가 나온다. + +```bash +VITE_API_BASE_URL=https://weather.o2o.kr npm run card -- ootd --daily --style minimal --color sky --post-wait +``` + +포스트 하나는 스타일 하나(`--style`, 기본 minimal=꾸안꾸): 네 사람 모두 그 스타일 태그(`scripts/snap.mjs STYLE_TAGS`)가 붙은 스냅에서 고르고 제목도 그 스타일로 통일한다. + +흐름(`scripts/daily-ootd.mjs`): +1. 오늘 예보로 기온 구간을 정한다(`scripts/daily-ootd.mjs weatherToday`). +2. `scripts/snap.mjs`: 무신사 스냅 공개 API에서 구간에 맞는 태그(가을코디·간절기코디·겨울코디…)와 단정 키워드(오피스룩·댄디룩…)로 인기 스냅을 모으고, 상품 카테고리로 상의·하의·신발이 다 있는 것만 남긴 뒤 사람별(40대~ 먼저, 단정 태그 가산점)로 하나씩 고른다. 45일 지난 스냅, 구간에 안 맞는 아우터(패딩·코트 등)·반바지는 뺀다. 사진·상품 썸네일은 `out/<날짜>/snaps/<사람>/`에 참고용으로만 받고 어디에도 올리지 않는다. +3. `scripts/outfit.mjs`: Claude CLI(sonnet, Read 로 사진을 봄)가 자리별(top·outer·bottom·shoes·bag) 한글 이름표와 영어 그림 설명을 뽑는다. +4. `scripts/codex-image.mjs`: Codex 에 스냅 사진·상품 썸네일을 첨부(`-i`)해 같은 옷·색으로 우리 플랫레이 스타일 그림을 그린다 → `public/daily/<날짜>-<사람>.webp` (git 에 넣지 않음). +5. 카드는 `copy.outfits`(JSON 문자열)로 이름표·그림 주소를 받는다(`src/cards/ootd.ts dailyOutfits`). 제목은 Claude 가 정한 스타일 한 단어(꾸안꾸·오피스룩…). + +에이블리는 공개 API가 없어 쓰지 않는다(앱 전용). 고정 데이터 방식(`--daily` 없이)은 그대로 남아 있다. + ## 카드 그림 만들기 (Codex 이미지 생성) **그림은 그날 만드는 카드에 필요한 것만 그때 만든다.** 조합(기온 구간 × 스타일 × 사람, 타로 78장)을 미리 일괄로 만들지 않는다. Codex 사용량이 한정돼 있다. @@ -70,12 +93,23 @@ npm run gen-image -- ootd cool casual # 한 구간·한 스타일 6 npm run gen-image -- ootd cool-f20-casual --force # 한 장 다시 그리기 ``` -- `codex` CLI(로그인 필요)와 `cwebp`가 있어야 한다. 그림 생성은 `gpt-6-luna`(가장 싼 모델)·추론 low 로 고정돼 있다(`CODEX_IMAGE_MODEL`로 바꿀 수 있음). Codex 기본 모델(gpt-6-astra·xhigh)을 쓰면 한도를 금방 소진한다. +- `codex` CLI(로그인 필요)와 `cwebp`가 있어야 한다. 그림 생성은 `gpt-6-sol`(중간 모델)·추론 low 로 고정돼 있다(`CODEX_IMAGE_MODEL`로 바꿀 수 있음). 가장 싼 `gpt-6-luna`는 그림을 만들고도 파일로 저장하지 못하고, Codex 기본 모델(gpt-6-astra·xhigh)을 쓰면 한도를 금방 소진한다. - 결과는 `src/assets/ootd/<구간>-<사람>-<스타일>.webp`이고, 카드에 자동으로 붙는다(`src/cards/ootd.ts`). - 옷 목록(`items`, 영어 프롬프트)과 카드 글자(`labels`·`outer`)는 `image-prompts/ootd.json` 한 파일에 같이 있다. 하나를 바꾸면 다른 쪽도 맞춘다. - 유행: `styles.<스타일>.trends.<사람>`에 요즘 한국 유행(실루엣·색·소재)을, `bands.<구간>.layering`에 기온별 레이어링을 적어 프롬프트에 넣는다. 2026-10-23 조사(무신사·에이블리·29CM·W컨셉·지그재그·크림 기사·보그·엘르). 연령별 판매 자료는 거의 없어 플랫폼 주 고객층(에이블리·지그재그·W컨셉=2030 여성, 무신사·크림=2030 남성)으로 나눈 것이다. 철이 바뀌면 다시 조사해 고친다. - 만든 그림은 직접 열어 사람·얼굴·글자가 없는지 확인한다. +## 올리기 전 검수 (예외 없음) + +인스타·날씨각에 올리는 건 되돌릴 수 없다(인스타는 API로 삭제도 못 한다). 올리기 전에 반드시: + +1. **장마다 1:1(원본 크기)로 본다.** 축소한 시안 시트(contact sheet)만 보고 판단하지 않는다. 스크린샷·그림이 들어간 장은 그 부분을 잘라 원본 크기로 본다. +2. **스크린샷은 찍힌 원본부터 확인한다.** 앱 화면은 뷰포트가 좁으면 오른쪽이 잘려 찍힌다(머리 줄의 로그인 버튼까지 다 보이려면 가로 470px 이상, `--force-device-scale-factor=2`). 카드 CSS를 고치기 전에 원본 파일이 온전한지 본다. +3. **고친 뒤에는 고친 부분을 다시 1:1로 본다.** "고쳤으니 됐다"로 올리지 않는다. 같은 포스트를 다시 올리면 예전 글은 사용자가 앱에서 지워야 하므로, 재게시는 확인된 뒤 한 번만. +4. 영상(릴스)은 렌더된 mp4에서 프레임을 뽑아 본다(`ffmpeg -vf fps=2,tile=…`). 스크린샷이 들어간 장면은 그 프레임을 원본 크기로. + +2026-10-24 소개 카드를 축소 시트만 보고 두 번 올렸다가 두 번 다 폰 스크린샷 오른쪽이 잘린 채 나간 일에서 정한 규칙이다. + ## 규칙 - 카드 모양은 `src/cards/templates.tsx`(템플릿)와 `src/cards/cards.css`(모양)에서만 정한다. 웹 화면과 `npm run card`가 같은 템플릿을 쓰므로, 한 번 바꾸면 둘 다 바뀐다. 포스트마다 따로 디자인하지 않는다. diff --git a/admin/image-prompts/ootd.json b/admin/image-prompts/ootd.json index 61ecdf1..428d4d2 100644 --- a/admin/image-prompts/ootd.json +++ b/admin/image-prompts/ootd.json @@ -1,16 +1,14 @@ { - "about": "오늘의 코디 옷 그림. 기온 구간(bands) × 스타일(styles: 캐주얼·세미정장·정장·스트릿·꾸안꾸) × 사람(personas)마다 옷 목록(items)만 바꾸고 나머지 문장(style)은 그대로 써서 모든 그림이 같은 모양으로 나오게 한다. labels·outer는 카드에 나가는 한국어. 그림은 src/assets/ootd/<구간>-<사람>-<스타일>.webp 유행: styles.<스타일>.trends.<사람>(2026 가을·겨울 무신사·에이블리·29CM·W컨셉 조사, 10/23), 기온별 레이어링: bands.layering. 조사 근거·출처는 admin/AGENTS.md.", - "style": "Use case: stylized-concept. Asset type: text-free clothing flat-lay image for a Korean weather Instagram card, styled for {persona}, {style}. View straight down at a tasteful arranged collection on a perfectly flat pale sky-blue background near #e9f3ff. The complete outfit is: {items}. Style these items in the current 2026 fall-winter Korean trend seen on Musinsa, Ably, 29CM and W Concept for this person: {trend} (keep the listed items, borrow the trend's silhouette, colors and materials). Layering for today's temperature: {layering}. Every item is a separate article, fully visible, elegantly spaced, naturally laid flat, no overlap hiding them. Balanced, compact product flat-lay. Each garment is empty and flattened, with sleeves spread. Square 1:1 composition, generous clean margin around all objects, complete silhouettes, nothing cropped. No extras beyond the listed items. Absolutely no people, human bodies, faces, hands, skin, legs, mannequins, models, ghosts, stuffed garments, or human-shaped assembly. NO TEXT anywhere: no lettering, labels, logos, brand marks, watermark, numbers, graphics printed on clothes. It is just the clothes and accessories, not a card layout. Style: bright, cheerful, premium 3D clay-toy illustration. Soft rounded shapes, matte clay/rubber-like texture, gentle sculpted folds and clean seams, believable clothing shapes, visually charming but no facial features. Palette accents: orange #ff7a45, warm ivory, soft beige, navy #28304a, soft studio shadows, beautiful diffused daylight. Crisp high quality product arrangement.", + "about": "오늘의 코디 옷 그림. 기온 구간(bands) × 스타일(styles: 캐주얼·세미정장·정장·스트릿·꾸안꾸) × 사람(personas)마다 옷 목록(items)만 바꾸고 나머지 문장(style)은 그대로 써서 모든 그림이 같은 모양으로 나오게 한다. labels·outer는 카드에 나가는 한국어. 그림은 src/assets/ootd/<구간>-<사람>-<스타일>.webp 유행: styles.<스타일>.trends.<사람>(2026 가을·겨울 무신사·에이블리·29CM·W컨셉 조사, 10/23), 기온별 레이어링: bands.layering. 조사 근거·출처는 admin/AGENTS.md. 일교차 8도 이상이면 겉옷(outer)을 5번째 옷으로 그린 <구간>-<사람>-<스타일>-outer.webp 를 쓴다. outers 는 겉옷 한국어 → 영어 프롬프트.", + "style": "Use case: stylized-concept. Asset type: text-free clothing flat-lay image for a Korean weather Instagram card, styled for {persona}, {style}. View straight down at a tasteful arranged collection on a perfectly flat pale sky-blue background near #e9f3ff. The complete outfit is: {items}. Style these items in the current 2026 fall-winter Korean trend seen on Musinsa, Ably, 29CM and W Concept for this person: {trend} (keep the listed items, borrow the trend's silhouette, colors and materials). Draw ONLY the listed items: exactly {count} articles, no extra garment, no outerwear, no cardigan, coat or jacket unless it is one of the listed items. Layering for today's temperature: {layering}. Every item is a separate article, fully visible, elegantly spaced, naturally laid flat, no overlap hiding them. Fixed positions (the card puts name tags at these spots): {layout} Balanced, compact product flat-lay. Each garment is empty and flattened, with sleeves spread. Square 1:1 composition, generous clean margin around all objects, complete silhouettes, nothing cropped. No extras beyond the listed items. Absolutely no people, human bodies, faces, hands, skin, legs, mannequins, models, ghosts, stuffed garments, or human-shaped assembly. NO TEXT anywhere: no lettering, labels, logos, brand marks, watermark, numbers, graphics printed on clothes. It is just the clothes and accessories, not a card layout. Style: bright, cheerful, premium 3D clay-toy illustration. Soft rounded shapes, matte clay/rubber-like texture, gentle sculpted folds and clean seams, believable clothing shapes, visually charming but no facial features. Palette accents: orange #ff7a45, warm ivory, soft beige, navy #28304a, soft studio shadows, beautiful diffused daylight. Crisp high quality product arrangement.", "styles": { "casual": { "label": "캐주얼", "prompt": "a relaxed everyday casual look", "trends": { "f20": "cropped short trench, deep V-neck knit, wide washed jeans, khaki field jacket, sneakers", - "f30": "camel suede jacket, curved barrel jeans, hairy mohair knit, loafers", "f40": "lightweight quilted down vest, fine-gauge knit, straight jeans, leather sneakers", "m20": "nylon windbreaker, oversized check shirt, wide jeans, retro sneakers", - "m30": "canvas work jacket, heavyweight tee, raw straight denim, boots", "m40": "lightweight down jacket, cotton chinos, knit polo, leather sneakers" } }, @@ -19,10 +17,8 @@ "prompt": "a neat smart-casual, semi-formal office look", "trends": { "f20": "high-neck double-button trench, satin midi skirt, fine knit, mid-heel pumps", - "f30": "cocoon-shoulder blazer, cinched waist belt, aubergine knit, knee-high boots", "f40": "soft tailored blazer, velvet trousers, silk scarf, low block heels", "m20": "navy knit polo, relaxed pleated trousers, suede blouson, loafers", - "m30": "suede trucker jacket, merino turtleneck, wool trousers, loafers", "m40": "unstructured navy blazer, oxford shirt, wool trousers, suede loafers" } }, @@ -31,10 +27,8 @@ "prompt": "a polished formal business suit look", "trends": { "f20": "cropped tailored jacket, matching midi skirt suit, sheer tights, slingback heels", - "f30": "structured skirt suit with nipped waist, charcoal grey wool, pointed pumps", "f40": "classic camel wool coat, tailored grey trouser suit, leather tote", "m20": "boxy single-breasted suit, open-collar shirt, black derby shoes", - "m30": "slim 1960s-style charcoal suit, knit tie, oxford shoes", "m40": "classic charcoal suit, white shirt, single-breasted overcoat, oxford shoes" } }, @@ -43,10 +37,8 @@ "prompt": "a trendy oversized Korean streetwear look", "trends": { "f20": "hooded zip-up, oversized nylon windbreaker, balloon pants, chunky sneakers, red accent", - "f30": "utility work jacket, check balloon skirt, patterned tights, heavy boots", "f40": "quilted short puffer, half-zip fleece, wide cargo pants, clean sneakers", "m20": "padded vest over hoodie, balloon cargo pants, red accent beanie, chunky sneakers", - "m30": "buffalo-check overshirt, olive field jacket, fatigue pants, trail sneakers", "m40": "faux-leather blouson, sweatshirt, tapered cargo pants, clean sneakers" } }, @@ -55,30 +47,20 @@ "prompt": "an effortless minimal basic look with simple neutral pieces", "trends": { "f20": "oatmeal V-neck knit, mermaid midi skirt, ballet flats, soft beige and ivory", - "f30": "boucle cardigan, straight grey trousers, oversized wool scarf, muted taupe and burgundy", - "f40": "long cardigan layered over knit, wide slacks, loafers, ivory and grey tones", + "f40": "fine-knit short-sleeve top, wide slacks, loafers, ivory and grey tones", "m20": "grey sweatshirt, straight chinos, short puffer, minimal white sneakers", - "m30": "corduroy duffle coat, cable knit, grey slacks, navy and cream tones", "m40": "single-breasted trench, fine knit crewneck, grey slacks, muted earth tones" } } }, "personas": { "f20": { - "label": "20대 여자", - "prompt": "a Korean woman in her 20s" + "label": "20-30대 여자", + "prompt": "a Korean woman in her 20s or 30s" }, "m20": { - "label": "20대 남자", - "prompt": "a Korean man in his 20s" - }, - "f30": { - "label": "30대 여자", - "prompt": "a Korean woman in her 30s" - }, - "m30": { - "label": "30대 남자", - "prompt": "a Korean man in his 30s" + "label": "20-30대 남자", + "prompt": "a Korean man in his 20s or 30s" }, "f40": { "label": "40대~ 여자", @@ -115,26 +97,6 @@ ], "outer": "얇은 셔츠" }, - "f30": { - "items": "(1) an IVORY sleeveless linen BLOUSE, (2) BEIGE wide linen pants with two full legs, (3) a pair of flat TAN leather SANDALS, (4) a woven RATTAN handbag", - "labels": [ - "민소매 블라우스", - "린넨 팬츠", - "샌들", - "라탄백" - ], - "outer": "얇은 가디건" - }, - "m30": { - "items": "(1) a NAVY short-sleeve linen SHIRT, (2) BEIGE chino SHORTS, (3) a pair of plain WHITE low-top sneakers, (4) black SUNGLASSES", - "labels": [ - "린넨 셔츠", - "면 반바지", - "운동화", - "선글라스" - ], - "outer": "얇은 셔츠" - }, "f40": { "items": "(1) a LIGHT-BLUE short-sleeve cotton BLOUSE, (2) WHITE linen slacks with two full legs, (3) a pair of low BEIGE wedge SANDALS, (4) a wide-brim straw SUN HAT", "labels": [ @@ -177,26 +139,6 @@ ], "outer": "린넨 셔츠" }, - "f30": { - "items": "(1) an IVORY sleeveless linen BLOUSE, (2) BEIGE linen wide slacks with two full legs, (3) a pair of TAN leather slingback flats, (4) a small BLACK structured handbag", - "labels": [ - "린넨 블라우스", - "린넨 슬랙스", - "슬링백", - "핸드백" - ], - "outer": "린넨 셔츠" - }, - "m30": { - "items": "(1) a WHITE short-sleeve linen SHIRT, (2) LIGHT GREY cotton slacks with two full legs, (3) a pair of BROWN suede LOAFERS, (4) a BROWN leather BELT", - "labels": [ - "린넨 셔츠", - "면 슬랙스", - "로퍼", - "벨트" - ], - "outer": "린넨 셔츠" - }, "f40": { "items": "(1) an IVORY sleeveless linen BLOUSE, (2) BEIGE linen wide slacks with two full legs, (3) a pair of TAN leather slingback flats, (4) a small BLACK structured handbag", "labels": [ @@ -239,26 +181,6 @@ ], "outer": "여름 정장 재킷" }, - "f30": { - "items": "(1) an IVORY short-sleeve silk BLOUSE, (2) a LIGHT GREY linen SUIT JACKET, (3) matching LIGHT GREY suit trousers with two full legs, (4) a pair of NUDE PUMPS", - "labels": [ - "블라우스", - "린넨 재킷", - "정장 바지", - "펌프스" - ], - "outer": "린넨 재킷" - }, - "m30": { - "items": "(1) a WHITE dress SHIRT, (2) a LIGHT GREY summer SUIT JACKET, (3) matching LIGHT GREY suit trousers with two full legs, (4) a pair of BLACK oxford dress SHOES", - "labels": [ - "드레스 셔츠", - "여름 정장 재킷", - "정장 바지", - "구두" - ], - "outer": "여름 정장 재킷" - }, "f40": { "items": "(1) an IVORY short-sleeve silk BLOUSE, (2) a LIGHT GREY linen SUIT JACKET, (3) matching LIGHT GREY suit trousers with two full legs, (4) a pair of NUDE PUMPS", "labels": [ @@ -301,26 +223,6 @@ ], "outer": "오버핏 셔츠" }, - "f30": { - "items": "(1) a boxy BLACK short-sleeve T-shirt, (2) a KHAKI cargo MINI SKIRT, (3) a pair of chunky WHITE sneakers, (4) a plain BLACK baseball CAP", - "labels": [ - "박시 티", - "카고 스커트", - "어글리 슈즈", - "볼캡" - ], - "outer": "오버핏 셔츠" - }, - "m30": { - "items": "(1) an oversized BLACK short-sleeve T-shirt, (2) KHAKI cargo SHORTS, (3) a pair of chunky WHITE sneakers, (4) a plain BEIGE BUCKET HAT", - "labels": [ - "오버핏 티", - "카고 반바지", - "어글리 슈즈", - "버킷햇" - ], - "outer": "오버핏 셔츠" - }, "f40": { "items": "(1) a boxy BLACK short-sleeve T-shirt, (2) a KHAKI cargo MINI SKIRT, (3) a pair of chunky WHITE sneakers, (4) a plain BLACK baseball CAP", "labels": [ @@ -363,26 +265,6 @@ ], "outer": "얇은 셔츠" }, - "f30": { - "items": "(1) a plain WHITE cotton T-shirt, (2) BEIGE linen pants with two full legs, (3) a pair of simple TAN leather SANDALS, (4) an IVORY canvas tote bag", - "labels": [ - "흰 티", - "린넨 팬츠", - "샌들", - "에코백" - ], - "outer": "얇은 셔츠" - }, - "m30": { - "items": "(1) a plain WHITE cotton T-shirt, (2) BEIGE cotton SHORTS, (3) a pair of plain WHITE low-top sneakers, (4) an IVORY canvas tote bag", - "labels": [ - "흰 티", - "면 반바지", - "운동화", - "에코백" - ], - "outer": "얇은 셔츠" - }, "f40": { "items": "(1) a plain WHITE cotton T-shirt, (2) BEIGE linen pants with two full legs, (3) a pair of simple TAN leather SANDALS, (4) an IVORY canvas tote bag", "labels": [ @@ -432,26 +314,6 @@ ], "outer": "반팔 셔츠" }, - "f30": { - "items": "(1) an IVORY short-sleeve knit TOP, (2) BEIGE wide slacks with two full legs, (3) a pair of BLACK ballet FLATS, (4) a TAN leather tote bag", - "labels": [ - "반팔 니트", - "와이드 슬랙스", - "플랫슈즈", - "토트백" - ], - "outer": "얇은 가디건" - }, - "m30": { - "items": "(1) a WHITE short-sleeve oxford SHIRT, (2) NAVY chino pants with two full legs, (3) a pair of plain WHITE low-top sneakers, (4) a simple silver WRIST WATCH", - "labels": [ - "반팔 셔츠", - "면바지", - "운동화", - "시계" - ], - "outer": "얇은 셔츠" - }, "f40": { "items": "(1) a SAGE-GREEN short-sleeve BLOUSE, (2) NAVY wide slacks with two full legs, (3) a pair of BEIGE low MULES, (4) a small BLACK handbag", "labels": [ @@ -494,26 +356,6 @@ ], "outer": "얇은 셔츠" }, - "f30": { - "items": "(1) a LIGHT-BLUE short-sleeve BLOUSE, (2) a NAVY pleated MIDI SKIRT, (3) a pair of BEIGE low-heel PUMPS, (4) a TAN leather tote bag", - "labels": [ - "반팔 블라우스", - "미디 스커트", - "펌프스", - "토트백" - ], - "outer": "얇은 가디건" - }, - "m30": { - "items": "(1) a NAVY knit POLO shirt, (2) BEIGE chino pants with two full legs, (3) a pair of BROWN leather LOAFERS, (4) a simple silver WRIST WATCH", - "labels": [ - "니트 폴로", - "치노 팬츠", - "로퍼", - "시계" - ], - "outer": "얇은 셔츠" - }, "f40": { "items": "(1) a LIGHT-BLUE short-sleeve BLOUSE, (2) a NAVY pleated MIDI SKIRT, (3) a pair of BEIGE low-heel PUMPS, (4) a TAN leather tote bag", "labels": [ @@ -556,26 +398,6 @@ ], "outer": "정장 재킷" }, - "f30": { - "items": "(1) a WHITE BLOUSE, (2) a NAVY SUIT JACKET, (3) a NAVY pencil SKIRT, (4) a pair of BLACK PUMPS", - "labels": [ - "블라우스", - "정장 재킷", - "H라인 스커트", - "펌프스" - ], - "outer": "정장 재킷" - }, - "m30": { - "items": "(1) a WHITE dress SHIRT, (2) a NAVY SUIT JACKET, (3) matching NAVY suit trousers with two full legs, (4) a plain NAVY silk TIE", - "labels": [ - "드레스 셔츠", - "정장 재킷", - "정장 바지", - "넥타이" - ], - "outer": "정장 재킷" - }, "f40": { "items": "(1) a WHITE BLOUSE, (2) a NAVY SUIT JACKET, (3) a NAVY pencil SKIRT, (4) a pair of BLACK PUMPS", "labels": [ @@ -618,26 +440,6 @@ ], "outer": "오버핏 셔츠" }, - "f30": { - "items": "(1) a fitted WHITE cropped baby T-shirt, (2) wide KHAKI cargo pants with two full legs, (3) a pair of WHITE platform sneakers, (4) a small BLACK nylon shoulder bag", - "labels": [ - "크롭 티", - "카고 팬츠", - "운동화", - "숄더백" - ], - "outer": "오버핏 셔츠" - }, - "m30": { - "items": "(1) an oversized LIGHT-BLUE short-sleeve SHIRT, (2) wide mid-blue denim JEANS with two full legs, (3) a pair of WHITE high-top sneakers, (4) a plain NAVY baseball CAP", - "labels": [ - "오버핏 셔츠", - "와이드 데님", - "하이탑", - "볼캡" - ], - "outer": "오버핏 셔츠" - }, "f40": { "items": "(1) a fitted WHITE cropped baby T-shirt, (2) wide KHAKI cargo pants with two full legs, (3) a pair of WHITE platform sneakers, (4) a small BLACK nylon shoulder bag", "labels": [ @@ -680,45 +482,25 @@ ], "outer": "얇은 셔츠" }, - "f30": { - "items": "(1) a NAVY-and-white STRIPED T-shirt, (2) mid-blue straight JEANS with two full legs, (3) a pair of plain WHITE low-top sneakers, (4) an IVORY canvas tote bag", - "labels": [ - "스트라이프 티", - "청바지", - "운동화", - "에코백" - ], - "outer": "얇은 셔츠" - }, - "m30": { - "items": "(1) a plain heather GREY T-shirt, (2) BEIGE chino pants with two full legs, (3) a pair of plain WHITE low-top sneakers, (4) an IVORY canvas tote bag", - "labels": [ - "회색 티", - "면바지", - "운동화", - "에코백" - ], - "outer": "얇은 셔츠" - }, "f40": { - "items": "(1) a NAVY-and-white STRIPED T-shirt, (2) mid-blue straight JEANS with two full legs, (3) a pair of plain WHITE low-top sneakers, (4) an IVORY canvas tote bag", + "items": "(1) a BEIGE thin summer-weight short-sleeve fine-knit TOP, (2) NAVY wide-leg lightweight SLACKS with two full legs, (3) a pair of BEIGE leather LOAFERS, (4) a small BLACK leather shoulder bag", "labels": [ - "스트라이프 티", - "청바지", - "운동화", - "에코백" + "반팔 니트", + "와이드 슬랙스", + "로퍼", + "숄더백" ], - "outer": "얇은 셔츠" + "outer": "얇은 가디건" }, "m40": { - "items": "(1) a plain heather GREY T-shirt, (2) BEIGE chino pants with two full legs, (3) a pair of plain WHITE low-top sneakers, (4) an IVORY canvas tote bag", + "items": "(1) a plain WHITE short-sleeve POLO shirt, (2) CHARCOAL grey tapered SLACKS with two full legs, (3) a pair of BROWN leather LOAFERS, (4) a simple silver WRIST WATCH", "labels": [ - "회색 티", - "면바지", - "운동화", - "에코백" + "반팔 폴로", + "슬랙스", + "로퍼", + "시계" ], - "outer": "얇은 셔츠" + "outer": "얇은 가디건" } } }, @@ -749,26 +531,6 @@ ], "outer": "바람막이" }, - "f30": { - "items": "(1) an IVORY long-sleeve BLOUSE, (2) a light BEIGE knit CARDIGAN, (3) BLACK straight slacks with two full legs, (4) a pair of BLACK leather LOAFERS", - "labels": [ - "블라우스", - "가디건", - "슬랙스", - "로퍼" - ], - "outer": "가디건" - }, - "m30": { - "items": "(1) a LIGHT-BLUE long-sleeve oxford SHIRT, (2) a light NAVY cotton JACKET, (3) GREY slacks with two full legs, (4) a pair of plain WHITE low-top sneakers", - "labels": [ - "옥스퍼드 셔츠", - "얇은 자켓", - "슬랙스", - "운동화" - ], - "outer": "얇은 자켓" - }, "f40": { "items": "(1) a soft IVORY knit TOP, (2) a light CAMEL CARDIGAN, (3) NAVY wide slacks with two full legs, (4) a pair of BEIGE ballet FLATS", "labels": [ @@ -811,26 +573,6 @@ ], "outer": "블레이저" }, - "f30": { - "items": "(1) an IVORY long-sleeve BLOUSE, (2) a light BEIGE cotton BLAZER, (3) BLACK straight slacks with two full legs, (4) a pair of BLACK leather LOAFERS", - "labels": [ - "블라우스", - "블레이저", - "슬랙스", - "로퍼" - ], - "outer": "블레이저" - }, - "m30": { - "items": "(1) a LIGHT-BLUE oxford SHIRT, (2) a NAVY unstructured BLAZER, (3) GREY slacks with two full legs, (4) a pair of BROWN leather LOAFERS", - "labels": [ - "옥스퍼드 셔츠", - "블레이저", - "슬랙스", - "로퍼" - ], - "outer": "블레이저" - }, "f40": { "items": "(1) an IVORY long-sleeve BLOUSE, (2) a light BEIGE cotton BLAZER, (3) BLACK straight slacks with two full legs, (4) a pair of BLACK leather LOAFERS", "labels": [ @@ -873,26 +615,6 @@ ], "outer": "정장 재킷" }, - "f30": { - "items": "(1) an IVORY BLOUSE, (2) a CHARCOAL SUIT JACKET, (3) matching CHARCOAL suit trousers with two full legs, (4) a pair of BLACK PUMPS", - "labels": [ - "블라우스", - "정장 재킷", - "정장 바지", - "펌프스" - ], - "outer": "정장 재킷" - }, - "m30": { - "items": "(1) a LIGHT-BLUE dress SHIRT, (2) a CHARCOAL SUIT JACKET, (3) matching CHARCOAL suit trousers with two full legs, (4) a pair of BLACK oxford dress SHOES", - "labels": [ - "드레스 셔츠", - "정장 재킷", - "정장 바지", - "구두" - ], - "outer": "정장 재킷" - }, "f40": { "items": "(1) an IVORY BLOUSE, (2) a CHARCOAL SUIT JACKET, (3) matching CHARCOAL suit trousers with two full legs, (4) a pair of BLACK PUMPS", "labels": [ @@ -935,26 +657,6 @@ ], "outer": "트랙 재킷" }, - "f30": { - "items": "(1) a heather GREY ZIP HOODIE, (2) light-blue wide JEANS with two full legs, (3) a pair of chunky WHITE sneakers, (4) a plain BLACK baseball CAP", - "labels": [ - "집업 후드", - "와이드 데님", - "어글리 슈즈", - "볼캡" - ], - "outer": "집업 후드" - }, - "m30": { - "items": "(1) a plain IVORY SWEATSHIRT, (2) a NAVY nylon TRACK JACKET with white stripes on the sleeves, (3) wide KHAKI cargo pants with two full legs, (4) a pair of chunky WHITE sneakers", - "labels": [ - "맨투맨", - "트랙 재킷", - "카고 팬츠", - "어글리 슈즈" - ], - "outer": "트랙 재킷" - }, "f40": { "items": "(1) a heather GREY ZIP HOODIE, (2) light-blue wide JEANS with two full legs, (3) a pair of chunky WHITE sneakers, (4) a plain BLACK baseball CAP", "labels": [ @@ -997,26 +699,6 @@ ], "outer": "가디건" }, - "f30": { - "items": "(1) a plain WHITE long-sleeve T-shirt, (2) a NAVY knit CARDIGAN, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", - "labels": [ - "긴팔 티", - "가디건", - "청바지", - "운동화" - ], - "outer": "가디건" - }, - "m30": { - "items": "(1) a plain WHITE long-sleeve T-shirt, (2) a LIGHT GREY knit CARDIGAN, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", - "labels": [ - "긴팔 티", - "가디건", - "청바지", - "운동화" - ], - "outer": "가디건" - }, "f40": { "items": "(1) a plain WHITE long-sleeve T-shirt, (2) a NAVY knit CARDIGAN, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", "labels": [ @@ -1066,26 +748,6 @@ ], "outer": "코치 자켓" }, - "f30": { - "items": "(1) an IVORY crewneck KNIT sweater, (2) a BEIGE single-breasted BLAZER, (3) mid-blue straight JEANS with two full legs, (4) a pair of BLACK leather LOAFERS", - "labels": [ - "니트", - "블레이저", - "청바지", - "로퍼" - ], - "outer": "블레이저" - }, - "m30": { - "items": "(1) a soft OATMEAL crewneck KNIT sweater, (2) a NAVY casual cotton JACKET, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", - "labels": [ - "니트", - "자켓", - "청바지", - "운동화" - ], - "outer": "자켓" - }, "f40": { "items": "(1) a CREAM thin turtleneck KNIT, (2) a long CAMEL knit CARDIGAN, (3) BLACK slacks with two full legs, (4) a pair of BLACK leather LOAFERS", "labels": [ @@ -1128,26 +790,6 @@ ], "outer": "블레이저" }, - "f30": { - "items": "(1) a CREAM fine-knit SWEATER, (2) a CAMEL BLAZER, (3) CHARCOAL wide slacks with two full legs, (4) a pair of BLACK leather ANKLE BOOTS", - "labels": [ - "니트", - "블레이저", - "슬랙스", - "앵클부츠" - ], - "outer": "블레이저" - }, - "m30": { - "items": "(1) a WHITE button SHIRT, (2) a GREY crewneck KNIT sweater, (3) a NAVY BLAZER, (4) CHARCOAL slacks with two full legs", - "labels": [ - "셔츠", - "니트", - "블레이저", - "슬랙스" - ], - "outer": "블레이저" - }, "f40": { "items": "(1) a CREAM fine-knit SWEATER, (2) a CAMEL BLAZER, (3) CHARCOAL wide slacks with two full legs, (4) a pair of BLACK leather ANKLE BOOTS", "labels": [ @@ -1190,26 +832,6 @@ ], "outer": "정장 재킷" }, - "f30": { - "items": "(1) a BLACK fine-knit TOP, (2) a GREY SUIT JACKET, (3) matching GREY suit trousers with two full legs, (4) a pair of BLACK leather LOAFERS", - "labels": [ - "니트", - "정장 재킷", - "정장 바지", - "로퍼" - ], - "outer": "정장 재킷" - }, - "m30": { - "items": "(1) a WHITE dress SHIRT, (2) a GREY SUIT JACKET, (3) matching GREY suit trousers with two full legs, (4) a plain BURGUNDY silk TIE", - "labels": [ - "드레스 셔츠", - "정장 재킷", - "정장 바지", - "넥타이" - ], - "outer": "정장 재킷" - }, "f40": { "items": "(1) a BLACK fine-knit TOP, (2) a GREY SUIT JACKET, (3) matching GREY suit trousers with two full legs, (4) a pair of BLACK leather LOAFERS", "labels": [ @@ -1252,26 +874,6 @@ ], "outer": "아노락" }, - "f30": { - "items": "(1) a heather GREY HOODIE, (2) a NAVY-and-ivory VARSITY JACKET with no letters or patches, (3) light-blue wide JEANS with two full legs, (4) a pair of chunky WHITE sneakers", - "labels": [ - "후드티", - "바시티 재킷", - "와이드 데님", - "어글리 슈즈" - ], - "outer": "바시티 재킷" - }, - "m30": { - "items": "(1) a BLACK HOODIE, (2) a KHAKI ANORAK windbreaker, (3) BLACK cargo pants with two full legs, (4) a pair of WHITE high-top sneakers", - "labels": [ - "후드티", - "아노락", - "카고 팬츠", - "하이탑" - ], - "outer": "아노락" - }, "f40": { "items": "(1) a heather GREY HOODIE, (2) a NAVY-and-ivory VARSITY JACKET with no letters or patches, (3) light-blue wide JEANS with two full legs, (4) a pair of chunky WHITE sneakers", "labels": [ @@ -1314,26 +916,6 @@ ], "outer": "니트" }, - "f30": { - "items": "(1) a soft OATMEAL crewneck KNIT sweater, (2) mid-blue straight JEANS with two full legs, (3) a pair of plain WHITE low-top sneakers, (4) an IVORY canvas tote bag", - "labels": [ - "니트", - "청바지", - "운동화", - "에코백" - ], - "outer": "니트" - }, - "m30": { - "items": "(1) a NAVY crewneck KNIT sweater, (2) BEIGE chino pants with two full legs, (3) a pair of plain WHITE low-top sneakers, (4) an IVORY canvas tote bag", - "labels": [ - "니트", - "면바지", - "운동화", - "에코백" - ], - "outer": "니트" - }, "f40": { "items": "(1) a soft OATMEAL crewneck KNIT sweater, (2) mid-blue straight JEANS with two full legs, (3) a pair of plain WHITE low-top sneakers, (4) an IVORY canvas tote bag", "labels": [ @@ -1383,26 +965,6 @@ ], "outer": "야상" }, - "f30": { - "items": "(1) a NAVY crewneck KNIT sweater, (2) a BEIGE belted TRENCH COAT, (3) BLACK slacks with two full legs, (4) a pair of BLACK leather ANKLE BOOTS", - "labels": [ - "니트", - "트렌치코트", - "슬랙스", - "앵클부츠" - ], - "outer": "트렌치코트" - }, - "m30": { - "items": "(1) a GREY crewneck SWEATSHIRT, (2) a NAVY short MAC COAT, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", - "labels": [ - "맨투맨", - "하프코트", - "청바지", - "운동화" - ], - "outer": "하프코트" - }, "f40": { "items": "(1) a CREAM crewneck KNIT sweater, (2) a CAMEL belted TRENCH COAT, (3) NAVY wide slacks with two full legs, (4) a soft printless silk SCARF in orange", "labels": [ @@ -1445,26 +1007,6 @@ ], "outer": "트렌치코트" }, - "f30": { - "items": "(1) an IVORY TURTLENECK knit, (2) a BEIGE belted TRENCH COAT, (3) BLACK slacks with two full legs, (4) a pair of BLACK leather LOAFERS", - "labels": [ - "터틀넥", - "트렌치코트", - "슬랙스", - "로퍼" - ], - "outer": "트렌치코트" - }, - "m30": { - "items": "(1) a LIGHT-BLUE button SHIRT, (2) a GREY crewneck KNIT sweater, (3) a BEIGE TRENCH COAT, (4) NAVY slacks with two full legs", - "labels": [ - "셔츠", - "니트", - "트렌치코트", - "슬랙스" - ], - "outer": "트렌치코트" - }, "f40": { "items": "(1) an IVORY TURTLENECK knit, (2) a BEIGE belted TRENCH COAT, (3) BLACK slacks with two full legs, (4) a pair of BLACK leather LOAFERS", "labels": [ @@ -1507,26 +1049,6 @@ ], "outer": "트렌치코트" }, - "f30": { - "items": "(1) a WHITE BLOUSE, (2) a BLACK SUIT JACKET, (3) matching BLACK suit trousers with two full legs, (4) a BEIGE belted TRENCH COAT", - "labels": [ - "블라우스", - "정장 재킷", - "정장 바지", - "트렌치코트" - ], - "outer": "트렌치코트" - }, - "m30": { - "items": "(1) a WHITE dress SHIRT, (2) a NAVY SUIT JACKET, (3) matching NAVY suit trousers with two full legs, (4) a BEIGE TRENCH COAT", - "labels": [ - "드레스 셔츠", - "정장 재킷", - "정장 바지", - "트렌치코트" - ], - "outer": "트렌치코트" - }, "f40": { "items": "(1) a WHITE BLOUSE, (2) a BLACK SUIT JACKET, (3) matching BLACK suit trousers with two full legs, (4) a BEIGE belted TRENCH COAT", "labels": [ @@ -1569,26 +1091,6 @@ ], "outer": "항공점퍼" }, - "f30": { - "items": "(1) a knit CREAM BEANIE, (2) a BLACK leather BIKER JACKET, (3) light-blue wide JEANS with two full legs, (4) a pair of BLACK lace-up COMBAT BOOTS", - "labels": [ - "비니", - "라이더 재킷", - "와이드 데님", - "워커" - ], - "outer": "라이더 재킷" - }, - "m30": { - "items": "(1) a heather GREY HOODIE, (2) an OLIVE MA-1 BOMBER JACKET, (3) BLACK cargo pants with two full legs, (4) a pair of chunky WHITE sneakers", - "labels": [ - "후드티", - "항공점퍼", - "카고 팬츠", - "어글리 슈즈" - ], - "outer": "항공점퍼" - }, "f40": { "items": "(1) a knit CREAM BEANIE, (2) a BLACK leather BIKER JACKET, (3) light-blue wide JEANS with two full legs, (4) a pair of BLACK lace-up COMBAT BOOTS", "labels": [ @@ -1631,26 +1133,6 @@ ], "outer": "맥코트" }, - "f30": { - "items": "(1) a plain heather GREY SWEATSHIRT, (2) a NAVY MAC COAT, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", - "labels": [ - "맨투맨", - "맥코트", - "청바지", - "운동화" - ], - "outer": "맥코트" - }, - "m30": { - "items": "(1) a plain heather GREY SWEATSHIRT, (2) a KHAKI MAC COAT, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", - "labels": [ - "맨투맨", - "맥코트", - "청바지", - "운동화" - ], - "outer": "맥코트" - }, "f40": { "items": "(1) a plain heather GREY SWEATSHIRT, (2) a NAVY MAC COAT, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", "labels": [ @@ -1700,26 +1182,6 @@ ], "outer": "플리스" }, - "f30": { - "items": "(1) a long CAMEL wool overcoat, (2) a CREAM turtleneck knit sweater, (3) CHARCOAL wool slacks with two full legs, (4) a pair of BLACK chelsea boots", - "labels": [ - "롱코트", - "터틀넥", - "슬랙스", - "부츠" - ], - "outer": "롱코트" - }, - "m30": { - "items": "(1) a CHARCOAL turtleneck KNIT, (2) a NAVY wool overcoat, (3) GREY wool slacks with two full legs, (4) a pair of BLACK chelsea boots", - "labels": [ - "터틀넥", - "울코트", - "슬랙스", - "첼시부츠" - ], - "outer": "울코트" - }, "f40": { "items": "(1) a soft OATMEAL KNIT sweater, (2) a long GREY wool COAT, (3) a CAMEL wool MUFFLER, (4) BLACK slacks with two full legs", "labels": [ @@ -1762,26 +1224,6 @@ ], "outer": "울 코트" }, - "f30": { - "items": "(1) a soft GREY KNIT sweater, (2) a long CAMEL wool COAT, (3) BLACK slacks with two full legs, (4) a pair of BLACK leather ANKLE BOOTS", - "labels": [ - "니트", - "울 코트", - "슬랙스", - "앵클부츠" - ], - "outer": "울 코트" - }, - "m30": { - "items": "(1) a WHITE button SHIRT, (2) a NAVY crewneck KNIT sweater, (3) a CHARCOAL wool OVERCOAT, (4) GREY slacks with two full legs", - "labels": [ - "셔츠", - "니트", - "울 코트", - "슬랙스" - ], - "outer": "울 코트" - }, "f40": { "items": "(1) a soft GREY KNIT sweater, (2) a long CAMEL wool COAT, (3) BLACK slacks with two full legs, (4) a pair of BLACK leather ANKLE BOOTS", "labels": [ @@ -1824,26 +1266,6 @@ ], "outer": "울 코트" }, - "f30": { - "items": "(1) an IVORY BLOUSE, (2) a CHARCOAL SUIT JACKET, (3) matching CHARCOAL suit trousers with two full legs, (4) a long BLACK wool COAT", - "labels": [ - "블라우스", - "정장 재킷", - "정장 바지", - "롱코트" - ], - "outer": "롱코트" - }, - "m30": { - "items": "(1) a WHITE dress SHIRT, (2) a CHARCOAL SUIT JACKET, (3) matching CHARCOAL suit trousers with two full legs, (4) a NAVY wool OVERCOAT", - "labels": [ - "드레스 셔츠", - "정장 재킷", - "정장 바지", - "울 코트" - ], - "outer": "울 코트" - }, "f40": { "items": "(1) an IVORY BLOUSE, (2) a CHARCOAL SUIT JACKET, (3) matching CHARCOAL suit trousers with two full legs, (4) a long BLACK wool COAT", "labels": [ @@ -1886,26 +1308,6 @@ ], "outer": "뽀글이" }, - "f30": { - "items": "(1) a heather GREY HOODIE, (2) an IVORY fleece ZIP JACKET, (3) light-blue wide JEANS with two full legs, (4) a pair of BLACK lace-up COMBAT BOOTS", - "labels": [ - "후드티", - "플리스", - "와이드 데님", - "워커" - ], - "outer": "플리스" - }, - "m30": { - "items": "(1) a BLACK HOODIE, (2) a fuzzy CREAM sherpa BOA FLEECE jacket, (3) wide CHARCOAL pants with two full legs, (4) a pair of chunky WHITE sneakers", - "labels": [ - "후드티", - "뽀글이", - "와이드 팬츠", - "어글리 슈즈" - ], - "outer": "뽀글이" - }, "f40": { "items": "(1) a heather GREY HOODIE, (2) an IVORY fleece ZIP JACKET, (3) light-blue wide JEANS with two full legs, (4) a pair of BLACK lace-up COMBAT BOOTS", "labels": [ @@ -1948,26 +1350,6 @@ ], "outer": "울 코트" }, - "f30": { - "items": "(1) a CREAM crewneck KNIT sweater, (2) a GREY wool COAT, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", - "labels": [ - "니트", - "울 코트", - "청바지", - "운동화" - ], - "outer": "울 코트" - }, - "m30": { - "items": "(1) a GREY crewneck KNIT sweater, (2) a NAVY wool COAT, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", - "labels": [ - "니트", - "울 코트", - "청바지", - "운동화" - ], - "outer": "울 코트" - }, "f40": { "items": "(1) a CREAM crewneck KNIT sweater, (2) a GREY wool COAT, (3) mid-blue straight JEANS with two full legs, (4) a pair of plain WHITE low-top sneakers", "labels": [ @@ -2017,26 +1399,6 @@ ], "outer": "숏패딩" }, - "f30": { - "items": "(1) a long BEIGE down PADDED coat, (2) an IVORY KNIT sweater, (3) BLACK fleece-lined slacks with two full legs, (4) a chunky CAMEL knit MUFFLER", - "labels": [ - "롱패딩", - "니트", - "기모 슬랙스", - "머플러" - ], - "outer": "롱패딩" - }, - "m30": { - "items": "(1) a puffy NAVY long down PADDED parka, (2) a chunky ORANGE knit SCARF, (3) dark GREY fleece-lined pants with two full legs, (4) a pair of IVORY knit GLOVES", - "labels": [ - "롱패딩", - "목도리", - "기모 바지", - "장갑" - ], - "outer": "롱패딩" - }, "f40": { "items": "(1) a long BLACK down COAT, (2) a soft GREY cashmere MUFFLER, (3) CHARCOAL fleece-lined slacks with two full legs, (4) a pair of BLACK leather GLOVES", "labels": [ @@ -2079,26 +1441,6 @@ ], "outer": "롱 다운 코트" }, - "f30": { - "items": "(1) a CREAM TURTLENECK knit, (2) a long BLACK belted DOWN COAT, (3) GREY wool slacks with two full legs, (4) a CAMEL cashmere MUFFLER", - "labels": [ - "터틀넥", - "롱 다운 코트", - "울 슬랙스", - "머플러" - ], - "outer": "롱 다운 코트" - }, - "m30": { - "items": "(1) a GREY TURTLENECK knit, (2) a long NAVY DOWN COAT, (3) CHARCOAL wool slacks with two full legs, (4) a pair of BLACK leather GLOVES", - "labels": [ - "터틀넥", - "롱 다운 코트", - "울 슬랙스", - "장갑" - ], - "outer": "롱 다운 코트" - }, "f40": { "items": "(1) a CREAM TURTLENECK knit, (2) a long BLACK belted DOWN COAT, (3) GREY wool slacks with two full legs, (4) a CAMEL cashmere MUFFLER", "labels": [ @@ -2141,26 +1483,6 @@ ], "outer": "캐시미어 코트" }, - "f30": { - "items": "(1) a CREAM fine KNIT top, (2) a BLACK SUIT JACKET, (3) a long BLACK cashmere COAT, (4) a soft GREY MUFFLER", - "labels": [ - "니트", - "정장 재킷", - "캐시미어 코트", - "머플러" - ], - "outer": "캐시미어 코트" - }, - "m30": { - "items": "(1) a WHITE dress SHIRT, (2) a CHARCOAL SUIT JACKET, (3) a long BLACK cashmere OVERCOAT, (4) a soft GREY MUFFLER", - "labels": [ - "드레스 셔츠", - "정장 재킷", - "캐시미어 코트", - "머플러" - ], - "outer": "캐시미어 코트" - }, "f40": { "items": "(1) a CREAM fine KNIT top, (2) a BLACK SUIT JACKET, (3) a long BLACK cashmere COAT, (4) a soft GREY MUFFLER", "labels": [ @@ -2203,26 +1525,6 @@ ], "outer": "숏패딩" }, - "f30": { - "items": "(1) a short glossy BLACK PUFFER jacket, (2) a knit GREY BEANIE, (3) fleece-lined wide JEANS with two full legs, (4) a pair of BLACK lace-up COMBAT BOOTS", - "labels": [ - "숏패딩", - "비니", - "기모 청바지", - "워커" - ], - "outer": "숏패딩" - }, - "m30": { - "items": "(1) an oversized short CREAM PUFFER jacket, (2) a BLACK HOODIE, (3) fleece-lined KHAKI cargo pants with two full legs, (4) a knit BLACK BEANIE", - "labels": [ - "숏패딩", - "후드티", - "기모 카고", - "비니" - ], - "outer": "숏패딩" - }, "f40": { "items": "(1) a short glossy BLACK PUFFER jacket, (2) a knit GREY BEANIE, (3) fleece-lined wide JEANS with two full legs, (4) a pair of BLACK lace-up COMBAT BOOTS", "labels": [ @@ -2265,26 +1567,6 @@ ], "outer": "롱패딩" }, - "f30": { - "items": "(1) a CREAM crewneck KNIT sweater, (2) a long IVORY down PADDED coat, (3) mid-blue straight JEANS with two full legs, (4) a chunky knit OATMEAL MUFFLER", - "labels": [ - "니트", - "롱패딩", - "청바지", - "머플러" - ], - "outer": "롱패딩" - }, - "m30": { - "items": "(1) a GREY crewneck KNIT sweater, (2) a long BLACK down PADDED coat, (3) mid-blue straight JEANS with two full legs, (4) a chunky knit GREY MUFFLER", - "labels": [ - "니트", - "롱패딩", - "청바지", - "머플러" - ], - "outer": "롱패딩" - }, "f40": { "items": "(1) a CREAM crewneck KNIT sweater, (2) a long IVORY down PADDED coat, (3) mid-blue straight JEANS with two full legs, (4) a chunky knit OATMEAL MUFFLER", "labels": [ @@ -2309,5 +1591,43 @@ }, "layering": "puffer or heavy coat, scarf and beanie, fleece-lined pants, knit layering" } - ] + ], + "outers": { + "라이더 재킷": "a BLACK leather biker jacket", + "맥코트": "a BEIGE single-breasted mac coat", + "야상": "a KHAKI field jacket", + "퀼팅 자켓": "a NAVY quilted jacket", + "트렌치코트": "a BEIGE classic trench coat", + "항공점퍼": "a BLACK bomber jacket", + "롱코트": "a CHARCOAL long wool coat", + "뽀글이": "an IVORY fleece sherpa jacket", + "숏코트": "a CAMEL short wool coat", + "울 코트": "a CAMEL wool coat", + "울코트": "a CAMEL wool coat", + "플리스": "a GREY fleece zip jacket", + "니트": "a GREY crewneck knit sweater", + "롱 가디건": "a BEIGE long knit cardigan", + "바시티 재킷": "a NAVY varsity jacket with cream sleeves", + "블레이저": "a NAVY single-breasted blazer", + "아노락": "a BLACK anorak jacket", + "정장 재킷": "a CHARCOAL suit jacket", + "청자켓": "a mid-blue denim jacket", + "코치 자켓": "a BLACK coach jacket", + "다운 자켓": "a BLACK short down jacket", + "롱 다운 코트": "a BLACK long down coat", + "롱패딩": "a BLACK long padded coat", + "숏패딩": "a BLACK short puffer jacket", + "캐시미어 코트": "a CAMEL cashmere coat", + "린넨 셔츠": "a WHITE linen overshirt", + "린넨 재킷": "a BEIGE linen jacket", + "얇은 가디건": "a BEIGE thin lightweight cardigan", + "얇은 셔츠": "a LIGHT-BLUE thin long-sleeve overshirt", + "여름 정장 재킷": "a LIGHT GREY lightweight summer suit jacket", + "오버핏 셔츠": "a WHITE oversized long-sleeve shirt", + "가디건": "a GREY knit cardigan", + "바람막이": "a BLACK lightweight windbreaker", + "집업 후드": "a GREY zip-up hoodie", + "트랙 재킷": "a NAVY track jacket", + "반팔 셔츠": "a LIGHT-BLUE short-sleeve button shirt worn open" + } } \ No newline at end of file diff --git a/admin/image-prompts/reel-bg.json b/admin/image-prompts/reel-bg.json new file mode 100644 index 0000000..8d16203 --- /dev/null +++ b/admin/image-prompts/reel-bg.json @@ -0,0 +1,11 @@ +{ + "about": "인스타 릴스(9:16) 배경 그림. 2.5D — 한 장을 깊이별로 레이어처럼 보이게 그려 카메라 패럴랙스를 얹는다. 글자가 올라갈 위쪽 가운데는 비워 둔다. npm run gen-image -- reel-bg ", + "style": "Use case: stylized-concept. Asset type: text-free VERTICAL 9:16 background illustration for a Korean weather app's Instagram Reel. Look: soft 3D clay render, rounded matte shapes, gentle studio lighting, pastel base with saturated accents (sky blue #4f97e3, orange #ff7a45), matching cute 3D fluent-emoji style icons. Composition: strong depth layering — foreground objects touching the bottom and side edges, a mid-ground subject, a far background; keep the upper-middle 40% of the frame calm and uncluttered so text can be overlaid. No people, no animals, no text, no letters, no numbers, no logos, no UI. Scene: {motif}. Output exactly one portrait image, ratio 9:16.", + "items": [ + { "id": "sky", "motif": "a dreamy daytime sky with fluffy 3D clouds at several depths, a soft sun upper right, a few floating leaves, and rolling green hills along the bottom edge" }, + { "id": "rain-city", "motif": "an overcast rainy city seen from above the rooftops: grey-blue clouds, soft rain streaks, wet rooftops and puddles reflecting lights, muted palette with a single orange accent roof" }, + { "id": "beach", "motif": "a sunny beach bay seen from a low grassy hill: turquoise water, pale sand, a striped parasol and a picnic mat in the near corner, big clear sky, Korean east-coast feel" }, + { "id": "mountain", "motif": "an autumn mountain trail: red and yellow maple trees, rounded rocks, a blank wooden signpost, misty ridgelines far away, clear blue sky above" }, + { "id": "hangang-sunset", "motif": "Seoul Han river at sunset: orange-pink sky, a long bridge silhouette with warm lights, river reflections, a grassy riverbank with a picnic mat in the foreground, Namsan tower silhouette far away" } + ] +} diff --git a/admin/reels/.gitignore b/admin/reels/.gitignore new file mode 100644 index 0000000..2599fd9 --- /dev/null +++ b/admin/reels/.gitignore @@ -0,0 +1,4 @@ +node_modules/ +.hyperframes/ +out/ +*.mp4 diff --git a/admin/reels/intro/AGENTS.md b/admin/reels/intro/AGENTS.md new file mode 100644 index 0000000..31e19f3 --- /dev/null +++ b/admin/reels/intro/AGENTS.md @@ -0,0 +1,109 @@ +# HyperFrames Composition Project + +This folder is a [HyperFrames](https://hyperframes.heygen.com) video: HTML, CSS and seekable +animations (GSAP by default) that the `hyperframes` CLI previews in the browser and renders to +MP4. + +## Skills — read these first + +**Invoke the relevant skill before writing or modifying compositions.** Skills encode framework-specific patterns (e.g., `window.__timelines` registration, `data-*` attribute semantics, shader-compatible CSS rules) that generic web docs don't cover, so compositions written without them break. + +**Doing anything with HyperFrames?** Start at `/hyperframes`. Make any video by asking for it; the `/hyperframes` skill carries the contract and the references (each kind of film, story, motion, look, sound, review, captions, overlays). Read it first, especially when there's no project context to orient you. + +- `/hyperframes` — read first for any request to make, edit, animate or render a video, motion graphic, captions or overlays. Holds the render contract and the work loop. +- `/hyperframes-cli` — the CLI by job: scaffold, check, look at frames, edit the timeline, preview, render, publish, project history. +- `/hyperframes-registry` — ready-made blocks and components installed as editable source. Search it before hand-building any named visual. +- `/media-use` — get or make any media (music, sound effects, images, voiceover, avatar and generated video, transcripts, cutouts, colour grades) and mix placed audio. +- `/figma` — bring a Figma design, frame, logo or brand into a video. +- `/slideshow` — a presentation or pitch deck. Output is a navigable deck, not a rendered MP4. +- `/remotion-to-hyperframes` — bring existing video code or footage into HyperFrames (Remotion first; also Motion Canvas, Lottie, Three.js, canvas, or renders from other tools) and verify it frame by frame against the original. + +**Changing how real footage or images look or reveal?** Load `/media-use` and read its `references/media-treatments.md` before editing, even when the request only says dark, flat, boring, retro, private, or “make the reveal cooler.” It governs how footage is treated, never whether media may be used. Use canonical media treatments and seek-safe motion; do not improvise equivalent CSS/SVG filters or overlays. + +> **Tailwind v4 projects** (`hyperframes init --tailwind`): see `hyperframes-cli/references/init-and-scaffold.md` (Tailwind). + +> **Using a HyperFrames plugin?** Load skills from that installed bundle and follow +> its `hyperframes/references/plugin-installation.md` execution rules. Update via +> the plugin manager, not the standalone commands below. +> +> **Standalone skill missing or stale?** Run `npx hyperframes skills update ` to install/refresh +> the specific skill you need, or bare `npx hyperframes skills update` to refresh the core set plus +> everything already installed — neither pulls the full set. Restart the agent session so +> newly installed skills load. + +## Commands + +```bash +npm run dev # human-operated foreground preview (blocks until stopped) +npx hyperframes preview --background # agent-safe persistent Studio preview +npx hyperframes preview --status # verify the persistent preview is listening +npx hyperframes preview --stop # stop it when review is finished +npm run check # lint + runtime + layout + motion + contrast (one command) +npx hyperframes snapshot --at 1,3,5 # PNG frames at those seconds, to look at before rendering +npm run render # render to MP4 +npm run publish # publish and get a shareable link +npx hyperframes lint --verbose # include info-level findings +npx hyperframes lint --json # machine-readable output for CI +npx hyperframes docs # reference docs in terminal +``` + +> **Agents must use `npx hyperframes preview --background` for Studio handoff.** Do not rely +> on a shell/tool `run_in_background` wrapper around `npm run dev`: that foreground process +> remains owned by the invoking session and can disappear while the browser stays open, +> leaving refreshes at `ERR_CONNECTION_TIMED_OUT`. Verify with `preview --status`, keep it +> alive through review, and stop it explicitly with `preview --stop` afterward. + +> **Back from the desktop app.** Once this project was opened in the HyperFrames desktop app, run `npx hyperframes catch-up` before your next change here: it lists what the person asked Framey in the app and which files changed since. + +> **Pinned CLI version.** These scripts pin an exact `hyperframes@X.Y.Z` so this project re-renders identically over time. Weeks later that pin lags fixes shipped since. To move up: `npx hyperframes@latest upgrade --project . --check` (shows the delta), then `npx hyperframes@latest upgrade --project .` to rewrite the pins. Always unpinned — the pinned script re-runs the old version against itself. + +## Documentation + +**For quick reference**, use the local CLI docs command (no network required): + +```bash +npx hyperframes docs +``` + +Topics: `data-attributes`, `gsap`, `compositions`, `rendering`, `examples`, `troubleshooting` + +**For full documentation**, discover pages via the machine-readable index — do NOT guess URLs: + +``` +https://hyperframes.heygen.com/llms.txt +``` + +## Project Structure + +- `index.html` — main composition (root timeline) +- `compositions/` — sub-compositions referenced via `data-composition-src` +- `meta.json` — project metadata (id, name) +- `transcript.json` — whisper word-level transcript (if generated) + +## Linting — ALWAYS RUN AFTER CHANGES + +After creating or editing any `.html` composition, **always** run the full check before considering the task complete: + +```bash +npm run check +``` + +Fix all errors before presenting the result. Warnings should be reviewed before rendering. + +Then look at what you changed: `npx hyperframes snapshot --at ` (or `--range START,END`, `--composition `) at the moments you edited, and read the frames before you reply. A passing check does not show how it looks. + +## Key Rules + +1. Every timed element needs `data-start` and a duration. `data-start` is what marks it as timed; `data-track-index` is an optional Studio display lane the render never reads +2. Give timed visual elements `class="clip"`. The framework keys visibility off `data-start`, not the class, but the shared `.clip` CSS is what gives a scene its full-frame box, and `lint` warns without it +3. Register one paused root timeline per composition on `window.__timelines`: + ```js + window.__timelines = window.__timelines || {}; + window.__timelines["composition-id"] = gsap.timeline({ paused: true }); + ``` + Scene timelines manually added to this root must not be paused. A paused + child does not advance when the root is seeked. The runtime activates + registered composition siblings, not arbitrary nested scene timelines. +4. A video with sound keeps it on the `