사람이 프롬프트 작성 → AI가 이미지 생성 → 결과 확인
→ 마음에 안 들면 프롬프트 수정 → 재생성 → 반복...Image Analyst가 이미지 분석
→ Image Generator가 분석 결과 + 시장 조사 + 스킬 지침을 조합해서
→ 스스로 프롬프트를 작성하고 → Gemini API를 호출
→ QA가 검수 → 실패하면 자동 재생성✅ 바꿔야 하는 것: 모델(인물), 배경 스타일, 텍스트 언어
❌ 절대 바꾸면 안 되는 것: 제품 색상, 형태, 라벨, 디자인parts = [
# 1~3순위: 제품 원본 컷 (이걸 보고 제품을 보존해!)
types.Part.from_bytes(data=bottle_front), # 정면
types.Part.from_bytes(data=bottle_side), # 측면
types.Part.from_bytes(data=bottle_detail), # 라벨 상세
# 4순위: 실제 편집할 소스 이미지
types.Part.from_bytes(data=source_image),
# 5순위: 프롬프트
types.Part.from_text(text=prompt)
]"Maintain consistent product image across all outputs.
The product bottle must look EXACTLY like the three reference
product images provided. Do NOT modify the product's color,
shape, label, or design in any way."CRITICAL REQUIREMENTS - DO NOT CHANGE:
1. The product bottle must look IDENTICAL to the first reference image
2. The product texture must remain CLEAR and TRANSPARENT
3. The overall composition and layout must stay similar❌ "Japanese text, product image, high quality, mint green
bottle, transparent gel, clean background"✅ "This is a 'How to Use' instructional photo showing two
hands against a soft beige background. The upper hand is
holding a mint green shampoo bottle at an angle, squeezing
out the product. The shampoo being poured is a CLEAR,
TRANSPARENT GEL-LIKE LIQUID - NOT foam, NOT white,
NOT opaque..."⚠️ PRODUCT LABEL TEXT MUST BE SHARP AND LEGIBLE (CRITICAL!)
- "More than 8" brand logo - MUST be SHARP at 200% zoom
- "Restore Shampoo" product name - MUST be clearly readable
- Copy the label EXACTLY as shown in the product cut reference
- If the label appears even slightly blurry, the generation has FAILED## 프롬프트 작성 원칙
#### ❌ 금지: 키워드 나열
"Japanese text, product image, high quality..."
#### ✅ 필수: 서술형 문장
"This is a 'How to Use' instructional photo showing..."
#### 필수 포함 섹션
1. SCENE DESCRIPTION - 원본 이미지 상세 묘사
2. YOUR TASK - 수행할 작업
3. TEXT CHANGES - 변경할 텍스트 목록
4. CRITICAL REQUIREMENTS - 변경 금지 사항