# Gemini 3 Pro Image (Nano Banana Pro) 테스트 — 최고 품질 이미지 생성

## 배경
- task-857.1: Gemini Nano Banana 2 (Flash Image) 테스트 완료 → 제이회장님 "Gemini가 제일 낫다" 평가
- task-855.1: GPT Image 1 프롬프트 고도화 완료 → v2 프롬프트 기법 확보
- 이제 Gemini 최고 품질 모델인 **Gemini 3 Pro Image (Nano Banana Pro)** 테스트

## 목표
`gemini-3-pro-image-preview` 모델로 **전문가 수준 프롬프트**를 적용하여 최고 퀄리티 광고 이미지 생성.

## 모델 정보
- **모델 ID**: `gemini-3-pro-image-preview`
- **별칭**: Nano Banana Pro
- **특징**: Google 최고 품질 이미지 생성 모델, Flash Image보다 고품질
- **API**: Gemini API (generateContent with responseModalities: IMAGE)

## 인증 방법 (task-857.1에서 검증됨)
```bash
# gcloud access token 방식 (검증 완료)
TOKEN=$(gcloud auth print-access-token --scopes=https://www.googleapis.com/auth/generative-language)
```
- task-857.1에서 `gemini-3.1-flash-image-preview`로 성공한 동일 인증 방식 사용
- 기존 스크립트 참조: `/home/jay/workspace/tools/ai-image-gen/gemini_nb2_generate.py`

## 프롬프트 (전문가 수준 — task-855.1 v2 기법 적용)

### 시나리오 A: GA 리크루팅 (프리미엄)
```
Create a premium insurance agency recruitment advertisement image.

COMPOSITION: Rule of thirds, subject at right vertical third. Golden hour backlighting.
SUBJECT: Korean male, early 30s, tailored navy double-breasted suit, confident half-smile, chin slightly raised. Standing by floor-to-ceiling window.
ENVIRONMENT: 100th-floor Seoul panoramic office. Minimalist interior, warm oak accents. Seoul skyline (Lotte Tower, Han River) visible through glass.
LIGHTING: Rim lighting from golden hour sun behind subject. Soft fill light on face at 45°. Subtle volumetric light rays through window.
COLOR: Navy blue dominant, warm gold accents. Split-complementary: navy + amber + cream.
CAMERA: Shot on Phase One IQ4 150MP, 85mm f/1.4 portrait lens. Shallow depth of field, background softly bokeh'd.
TEXT: Korean text "새로운 시작" in bold sans-serif, upper right. Small subtitle below.
STYLE: Like a Rolex or Patek Philippe advertisement. No stock photo aesthetic. No watermark. No clipart.
MOOD: Aspirational, confident, premium corporate recruitment.
ASPECT: 1:1 square format, 1080x1080px for Meta advertising.
```

### 시나리오 B: 전문성 브랜딩 (프라이빗 뱅킹 수준)
```
Create a premium insurance consultant personal branding image.

COMPOSITION: 3/4 angle portrait, subject centered. Rembrandt triangle lighting on face.
SUBJECT: Korean male consultant, mid-40s, round gold-rimmed glasses, warm genuine smile. Navy blazer over cream turtleneck. Arms crossed confidently.
ENVIRONMENT: Luxury private consultation room. Dark walnut bookshelf with leather-bound books behind. Mahogany desk with neat documents. Brass desk lamp.
LIGHTING: 45° key light creating Rembrandt triangle. Warm ambient fill from desk lamp. Hair light separating subject from background.
COLOR: Warm palette — amber, cream, dark chocolate brown. Rich earth tones.
CAMERA: Hasselblad H6D-100c, 110mm f/2 lens. Creamy bokeh on background. Sharp focus on eyes.
TEXT: None — pure image quality focus.
STYLE: Like a private banking advertisement for UBS or Goldman Sachs. Trustworthy, sophisticated, premium.
MOOD: Warm trust, deep expertise, approachable authority.
ASPECT: 1:1 square, 1080x1080px.
```

### 시나리오 C: 전직 유도 감성 (시네마틱)
```
Create a cinematic career transition motivational image for insurance professionals.

COMPOSITION: Wide angle, subject as small silhouette walking toward bright doorway. Leading lines from corridor walls converging on door.
SUBJECT: Business professional silhouette walking from dark corridor toward brilliantly lit open door. One hand reaching toward the light.
ENVIRONMENT: Dark corporate corridor with cold fluorescent remnants behind. Warm, golden, volumetric god-rays streaming through the open door ahead. Dust particles visible in light beams.
LIGHTING: Extreme contrast. Behind: cold blue-grey. Ahead: warm golden volumetric rays. Cinematic chiaroscuro.
COLOR: Teal-and-orange cinematic grade. Cold background desaturation, warm foreground saturation.
CAMERA: ARRI Alexa 65, Ultra Prime 16mm wide angle. Deep depth of field. Dramatic perspective.
TEXT: Korean text "지금, 당신의 차례" centered in warm light area. Clean sans-serif.
STYLE: Christopher Nolan / Denis Villeneuve film still. Cinematic 2.39:1 feel cropped to 1:1. No stock photo. Dramatic.
MOOD: Hope, courage, decisive moment, new beginning.
ASPECT: 1:1 square, 1080x1080px.
```

## 산출물 요구사항
- 경로: `/home/jay/workspace/tools/ai-image-gen/output/v3-gemini-pro/`
  - ★ 버전 폴더 분리 필수! 기존 v1, v2 폴더 건드리지 말 것
- 스크립트: 기존 `gemini_nb2_generate.py`를 복사/수정하여 `gemini_pro_generate.py` 생성
  - 모델만 `gemini-3-pro-image-preview`로 변경
  - 프롬프트를 위의 전문가 수준으로 교체
- 결과 파일: `gemini_pro_A.png`, `gemini_pro_B.png`, `gemini_pro_C.png`, `results.json`
- 비교 리포트: Flash Image vs Pro Image 비교 (속도, 크기, 품질 차이)

## 비교 기준
- task-857.1 (Flash/NB2): 평균 27.7초, 738KB (JPEG)
- task-855.1 (GPT high): 평균 38.3초, 1.54MB (PNG)
- 이번 Pro Image: 시간/크기/품질 측정

## 주의사항
- 기존 output 폴더(v1-gpt-poc/, v2-gpt-advanced/, v2-gemini-nb2/) 절대 건드리지 말 것
- API 키/토큰 하드코딩 금지
- 실패 로그 보존 필수
- 모델 ID가 `gemini-3-pro-image-preview`가 아닐 수 있음 — 웹 검색으로 정확한 ID 확인 후 사용
- 생성된 이미지를 제이회장님 텔레그램으로 전송할 것
