# constants.py """Constants and configurations for PPT Generator""" # Example templates (English and Korean versions) EXAMPLE_TOPICS = { "English": { "Business Proposal": "AI-powered Customer Service Automation Platform Investment Proposal", "Product Launch": "Smart Home IoT Security System New Product Launch", "Project Report": "Digital Transformation Project Q3 Performance Report", "Strategy Planning": "2025 Global Market Entry Strategy Development" }, "Korean": { "Business Proposal": "AI 기반 고객 서비스 자동화 플랫폼 투자 제안", "Product Launch": "스마트 홈 IoT 보안 시스템 신제품 런칭", "Project Report": "디지털 전환 프로젝트 3분기 성과 보고", "Strategy Planning": "2025년 글로벌 시장 진출 전략 수립" } } # Audience types definition (English) AUDIENCE_TYPES = { "Executives/C-Level": { "description": "C-level executives, decision makers", "tone": "Strategic, results-focused, ROI emphasis", "focus": "Business value, ROI, strategic impact" }, "Investors": { "description": "VCs, angel investors, institutional investors", "tone": "Data-driven, growth potential, market opportunities", "focus": "Market size, growth rate, competitive advantage, exit strategy" }, "Technical Team": { "description": "Developers, engineers, IT professionals", "tone": "Technical, specific, practical", "focus": "Tech stack, architecture, implementation, performance" }, "General Staff": { "description": "Team members, practitioners", "tone": "Friendly, practical, collaboration-focused", "focus": "Execution plan, roles, processes, collaboration" }, "Customers/Partners": { "description": "B2B customers, business partners", "tone": "Trustworthy, professional, benefit-focused", "focus": "Customer value, benefits, case studies, support" }, "General Public": { "description": "B2C customers, general users", "tone": "Easy and friendly, easy to understand", "focus": "Ease of use, benefits, pricing, differentiation" } } # Design themes definition DESIGN_THEMES = { "Minimal Light": { "name": "Minimal Light", "description": "Bright and clean minimal design", "background": (250, 250, 252), "title_color": (33, 37, 41), "subtitle_color": (52, 58, 64), "text_color": (73, 80, 87), "accent_color": (0, 123, 255), "box_fill": (255, 255, 255), "box_opacity": 0.95, "shadow": True, "gradient": False }, "Modern Gradient": { "name": "Modern Gradient", "description": "Smooth gradients with modern feel", "background": (245, 247, 250), "title_color": (25, 42, 86), "subtitle_color": (68, 85, 102), "text_color": (85, 102, 119), "accent_color": (103, 58, 183), "box_fill": (249, 250, 251), "box_opacity": 0.9, "shadow": True, "gradient": True }, "Dark Elegance": { "name": "Dark Elegance", "description": "Sophisticated dark mode design", "background": (25, 25, 35), "title_color": (240, 240, 245), "subtitle_color": (200, 200, 210), "text_color": (170, 170, 180), "accent_color": (0, 188, 212), "box_fill": (35, 35, 45), "box_opacity": 0.85, "shadow": False, "gradient": False }, "Nature Green": { "name": "Nature Green", "description": "Eco-friendly green theme", "background": (242, 248, 244), "title_color": (27, 67, 50), "subtitle_color": (45, 106, 79), "text_color": (64, 125, 98), "accent_color": (76, 175, 80), "box_fill": (255, 255, 255), "box_opacity": 0.92, "shadow": True, "gradient": False }, "Corporate Blue": { "name": "Corporate Blue", "description": "Professional business style", "background": (244, 247, 252), "title_color": (13, 71, 161), "subtitle_color": (25, 118, 210), "text_color": (42, 63, 84), "accent_color": (33, 150, 243), "box_fill": (255, 255, 255), "box_opacity": 0.95, "shadow": True, "gradient": False } } # Style templates definition STYLE_TEMPLATES = { "Title Slide (Hero)": { "name": "Title Slide", "description": "Impactful hero image for title slide", "use_case": "Cover, Title", "example": "A dramatic wide-angle view of a modern glass skyscraper reaching into clouds with golden sunset lighting, symbolizing growth and ambition. Ultra-realistic photography style, cinematic composition, lens flare, professional corporate aesthetic" }, "Thank You Slide": { "name": "Closing Slide", "description": "Elegant closing slide design with conclusion", "use_case": "Presentation closing", "example": "Abstract elegant background with soft gradient from deep blue to purple, golden particles floating like celebration confetti, subtle light rays, with space for conclusion text. Minimalist, professional, warm feeling" }, "3D Style (Pixar-like)": { "name": "3D Style", "description": "Pixar-esque 3D render with volumetric lighting", "use_case": "Cover, Vision, Future concept", "example": "A fluffy ginger cat wearing a tiny spacesuit, floating amidst a vibrant nebula in a 3D render. The cat is gazing curiously at a swirling planet with rings made of candy. Background is filled with sparkling stars and colorful gas clouds, lit with soft, volumetric lighting. Style: Pixar-esque, highly detailed, playful. Colors: Deep blues, purples, oranges, and pinks. Rendered in Octane, 8k resolution." }, "Elegant SWOT Quadrant": { "name": "SWOT Analysis", "description": "Flat-design 4-grid layout with minimal shadows", "use_case": "Current state analysis, Strategy evaluation", "example": "Elegant SWOT quadrant: flat-design 4-grid on matte-white backdrop, thin pastel separators, top-left 'Strengths' panel shows glowing shield icon and subtle motif, top-right 'Weaknesses' panel with cracked chain icon in soft crimson, bottom-left 'Opportunities' panel with sunrise-over-horizon icon in optimistic teal, bottom-right 'Threats' panel with storm-cloud & lightning icon in deep indigo, minimal shadows, no text, no watermark, 16:9, 4K" }, "Colorful Mind Map": { "name": "Mind Map", "description": "Hand-drawn educational style with vibrant colors", "use_case": "Brainstorming, Idea organization", "example": "A handrawn colorful mind map diagram: educational style, vibrant colors, clear hierarchy, golden ratio layout. Central concept with branching sub-topics, each branch with unique color coding, organic flowing connections, doodle-style icons for each node" }, "Business Workflow": { "name": "Business Process", "description": "End-to-end business workflow with clear phases", "use_case": "Process explanation, Step-by-step progress", "example": "A detailed hand-drawn diagram illustrating an end-to-end business workflow with Market Analysis, Strategy Development, Product Design, Implementation, and Post-Launch Review phases. Clear directional arrows, iconography for each component, vibrant educational yet professional style", "is_process_flow": True }, "Industrial Design": { "name": "Product Design", "description": "Sleek industrial design concept sketch", "use_case": "Product introduction, Concept design", "example": "A sleek industrial design concept: Curved metallic body with minimal bezel, Touchscreen panel for settings, Modern matte black finish, Hand-drawn concept sketch style with annotations and dimension lines" }, "3D Bubble Chart": { "name": "Bubble Chart", "description": "Clean 3D bubble visualization", "use_case": "Comparative analysis, Positioning", "example": "3-D bubble chart on clean white 2×2 grid, quadrant titles hidden, four translucent spheres in lime, azure, amber, magenta, gentle depth-of-field, modern consulting aesthetic, no text, 4K" }, "Timeline Ribbon": { "name": "Timeline", "description": "Horizontal ribbon timeline with cyber-futuristic vibe", "use_case": "Schedule, Roadmap, Milestones", "example": "Horizontal ribbon timeline, milestone pins glowing hot pink on charcoal, year markers as circles, faint motion streaks, cyber-futuristic vibe, no text, 1920×1080" }, "Risk Heat Map": { "name": "Heat Map", "description": "Risk assessment heat map with gradient colors", "use_case": "Risk analysis, Prioritization", "example": "Risk Heat Map: square grid, smooth gradient from mint to fire-red, cells beveled, simple legend strip hidden, long subtle shadow, sterile white frame, no text" }, "Pyramid/Funnel": { "name": "Funnel Chart", "description": "Multi-layer gradient funnel visualization", "use_case": "Step-by-step reduction, Core extraction", "example": "Pyramid / Funnel: 5-layer gradient funnel narrowing downwards, top vivid sky-blue, mid mint-green, bottom sunset-orange, glass reflection, minimal background, no text" }, "KPI Dashboard": { "name": "Dashboard", "description": "Dark-mode analytics dashboard with sci-fi interface", "use_case": "Performance metrics, Results dashboard", "example": "KPI Dashboard: Dark-mode analytic dashboard, three glass speedometers glowing neon lime, two sparkline charts under, black glass background, sci-fi interface, no text, 4K" }, "Value Chain": { "name": "Value Chain", "description": "Horizontal value chain with industrial look", "use_case": "Value chain, Business model", "example": "Value Chain Diagram: Horizontal value chain blocks, steel-blue gradient bars with subtle bevel, small gear icons above each segment, sleek industrial look, shadow cast, no text" }, "Gantt Chart": { "name": "Gantt Chart", "description": "Hand-drawn style Gantt chart with playful colors", "use_case": "Project schedule, Task management", "example": "Gantt Chart: Hand-drawn style Gantt bars sketched with vibrant markers on dotted grid notebook page, sticky-note color palette, playful yet organized, perspective tilt, no text" }, "Mobile App Mockup": { "name": "App Mockup", "description": "Clean wireframe for mobile app design", "use_case": "App/Web UI, Screen design", "example": "MOCKUP DESIGN: A clean hand-drawn style wireframe for a mobile app with Title screen, Login screen, Dashboard with sections, Bottom navigation bar, minimalist design with annotations" }, "Flowchart": { "name": "Flowchart", "description": "Vibrant flowchart with minimalistic icons", "use_case": "Decision making, Process flow", "example": "FLOWCHART DESIGN: A hand-drawn style flowchart, vibrant colors, minimalistic icons showing process flow from START to END with decision points, branches, and clear directional arrows", "is_process_flow": True } } # PPT templates definition (English names) PPT_TEMPLATES = { "Business Proposal": { "description": "For investment pitches and business proposals", "core_slides": [ {"title": "Contents", "style": "Flowchart", "prompt_hint": "Presentation structure"}, {"title": "Problem Definition", "style": "Colorful Mind Map", "prompt_hint": "Current market problems"}, {"title": "Current Analysis", "style": "Elegant SWOT Quadrant", "prompt_hint": "Strengths, Weaknesses, Opportunities, Threats"}, {"title": "Solution", "style": "Industrial Design", "prompt_hint": "Product/Service concept"}, {"title": "Process", "style": "Business Workflow", "prompt_hint": "Implementation steps"}, {"title": "Timeline", "style": "Timeline Ribbon", "prompt_hint": "Key milestones"} ], "optional_slides": [ {"title": "Market Size", "style": "3D Bubble Chart", "prompt_hint": "Market opportunity and growth"}, {"title": "Competition Analysis", "style": "Risk Heat Map", "prompt_hint": "Competitor positioning"}, {"title": "Business Model", "style": "Value Chain", "prompt_hint": "Revenue structure"}, {"title": "Team Introduction", "style": "Colorful Mind Map", "prompt_hint": "Core team and capabilities"}, {"title": "Financial Plan", "style": "KPI Dashboard", "prompt_hint": "Expected revenue and P&L"}, {"title": "Risk Management", "style": "Risk Heat Map", "prompt_hint": "Key risks and mitigation"}, {"title": "Partnership", "style": "Value Chain", "prompt_hint": "Strategic alliances"}, {"title": "Technology Stack", "style": "Industrial Design", "prompt_hint": "Core technology architecture"}, {"title": "Customer Cases", "style": "Industrial Design", "prompt_hint": "Success stories"}, {"title": "Growth Strategy", "style": "Timeline Ribbon", "prompt_hint": "Expansion plan"}, {"title": "Investment Use", "style": "Pyramid/Funnel", "prompt_hint": "Fund allocation plan"}, {"title": "Exit Strategy", "style": "Timeline Ribbon", "prompt_hint": "Exit plan"} ] }, "Product Launch": { "description": "For new product launches and service introductions", "core_slides": [ {"title": "Product Concept", "style": "Industrial Design", "prompt_hint": "Product design"}, {"title": "User Needs", "style": "Colorful Mind Map", "prompt_hint": "Customer pain points"}, {"title": "Features", "style": "Mobile App Mockup", "prompt_hint": "UI/UX screens"}, {"title": "How It Works", "style": "Flowchart", "prompt_hint": "Function flow"}, {"title": "Market Position", "style": "3D Bubble Chart", "prompt_hint": "Competitor comparison"}, {"title": "Launch Schedule", "style": "Timeline Ribbon", "prompt_hint": "Launch roadmap"} ], "optional_slides": [ {"title": "Target Customers", "style": "Colorful Mind Map", "prompt_hint": "Key customer segments"}, {"title": "Pricing Strategy", "style": "Pyramid/Funnel", "prompt_hint": "Pricing approach"}, {"title": "Technical Advantage", "style": "Industrial Design", "prompt_hint": "Core technology"}, {"title": "Use Scenarios", "style": "Mobile App Mockup", "prompt_hint": "Use cases"}, {"title": "Customer Reviews", "style": "KPI Dashboard", "prompt_hint": "User feedback"}, {"title": "Sales Channels", "style": "Value Chain", "prompt_hint": "Distribution strategy"}, {"title": "Marketing Strategy", "style": "Timeline Ribbon", "prompt_hint": "Promotion plan"}, {"title": "Performance Comparison", "style": "3D Bubble Chart", "prompt_hint": "Benchmarks"} ] }, "Project Report": { "description": "For progress and performance reports", "core_slides": [ {"title": "Project Overview", "style": "Business Workflow", "prompt_hint": "Overall process"}, {"title": "Progress Status", "style": "Gantt Chart", "prompt_hint": "Work schedule"}, {"title": "Risk Management", "style": "Risk Heat Map", "prompt_hint": "Risk factors"}, {"title": "Performance Metrics", "style": "KPI Dashboard", "prompt_hint": "Achievement results"}, {"title": "Future Plans", "style": "Timeline Ribbon", "prompt_hint": "Next steps"} ], "optional_slides": [ {"title": "Budget Status", "style": "Pyramid/Funnel", "prompt_hint": "Budget execution"}, {"title": "Team Performance", "style": "3D Bubble Chart", "prompt_hint": "Team contribution"}, {"title": "Issue Management", "style": "Risk Heat Map", "prompt_hint": "Key issues"}, {"title": "Improvements", "style": "Colorful Mind Map", "prompt_hint": "Process improvements"}, {"title": "Lessons Learned", "style": "Colorful Mind Map", "prompt_hint": "Key learnings"} ] }, "Strategy Planning": { "description": "For long-term strategy and vision development", "core_slides": [ {"title": "Vision", "style": "3D Style (Pixar-like)", "prompt_hint": "Future vision"}, {"title": "Environmental Analysis", "style": "Elegant SWOT Quadrant", "prompt_hint": "Internal/External environment"}, {"title": "Strategy Framework", "style": "Colorful Mind Map", "prompt_hint": "Strategy structure"}, {"title": "Value Chain", "style": "Value Chain", "prompt_hint": "Business model"}, {"title": "Implementation Roadmap", "style": "Timeline Ribbon", "prompt_hint": "Phased plan"}, {"title": "Target Metrics", "style": "KPI Dashboard", "prompt_hint": "KPI targets"} ], "optional_slides": [ {"title": "Market Outlook", "style": "3D Bubble Chart", "prompt_hint": "Future market"}, {"title": "Innovation Direction", "style": "Industrial Design", "prompt_hint": "Innovation strategy"}, {"title": "Organizational Change", "style": "Value Chain", "prompt_hint": "Org restructuring"}, {"title": "Digital Transformation", "style": "Industrial Design", "prompt_hint": "DX strategy"}, {"title": "Sustainability", "style": "Timeline Ribbon", "prompt_hint": "ESG strategy"} ] }, "Custom": { "description": "Build your own presentation", "core_slides": [], "optional_slides": [] } } # Korean translations for slide titles SLIDE_TITLE_TRANSLATIONS = { "Contents": "목차", "Problem Definition": "문제 정의", "Current Analysis": "현황 분석", "Solution": "솔루션", "Process": "프로세스", "Timeline": "일정", "Market Size": "시장 규모", "Competition Analysis": "경쟁 분석", "Business Model": "비즈니스 모델", "Team Introduction": "팀 소개", "Financial Plan": "재무 계획", "Risk Management": "위험 관리", "Partnership": "파트너십", "Technology Stack": "기술 스택", "Customer Cases": "고객 사례", "Growth Strategy": "성장 전략", "Investment Use": "투자 활용", "Exit Strategy": "Exit 전략", "Product Concept": "제품 컨셉", "User Needs": "사용자 니즈", "Features": "기능 소개", "How It Works": "작동 원리", "Market Position": "시장 포지션", "Launch Schedule": "출시 일정", "Target Customers": "타겟 고객", "Pricing Strategy": "가격 정책", "Technical Advantage": "기술 우위", "Use Scenarios": "사용 시나리오", "Customer Reviews": "고객 후기", "Sales Channels": "판매 채널", "Marketing Strategy": "마케팅 전략", "Performance Comparison": "성능 비교", "Project Overview": "프로젝트 개요", "Progress Status": "진행 현황", "Performance Metrics": "성과 지표", "Future Plans": "향후 계획", "Budget Status": "예산 현황", "Team Performance": "팀 성과", "Issue Management": "이슈 관리", "Improvements": "개선 사항", "Lessons Learned": "교훈", "Vision": "비전", "Environmental Analysis": "환경 분석", "Strategy Framework": "전략 체계", "Value Chain": "가치 사슬", "Implementation Roadmap": "실행 로드맵", "Target Metrics": "목표 지표", "Market Outlook": "시장 전망", "Innovation Direction": "혁신 방향", "Organizational Change": "조직 변화", "Digital Transformation": "디지털 전환", "Sustainability": "지속가능성" }