
提示词
"Build a professional landscape architecture application called 'EcoLandscape Designer'. CORE FUNCTIONALITY: Site Analysis Input: Create a landing page that allows users to upload a site photo and provide context via 'Location' and 'Site Condition' (e.g., 'Coastal California', 'Full sun, sandy soil'). Ecological Intelligence: Use Gemini 3.1 Pro to analyze the uploaded image and text inputs. It should return a JSON object containing: A list of 6-8 ecologically suitable native plants categorized into 'Canopy', 'Understory', and 'Groundcover'. A 'Design Concept' and a detailed 'Arrangement Description'. Botanical Moodboard: For every suggested plant, use Gemini 2.5 Flash Image to generate a professional botanical photograph in its natural habitat. Proposed Design Rendering: Use Gemini 2.5 Flash Image to generate a 'Proposed Design' visualization. It must maintain the original photo's architecture and background exactly but 'plant' the specific suggested species into the scene according to the arrangement logic. Architectural Section Cut: Generate a competition-style hybrid photomontage section drawing using Gemini 2.5 Flash Image. The section must match the spatial context and topography of the original photo. Include a sectional cut through the longest part of a pool. Feature vertical labeling of vegetation layers and subtle human silhouettes for scale. Use thin guide lines rising to LARGE, PROMINENT circular species callouts above the section. Error Handling: Implement exponential backoff retry logic for all Gemini API calls to handle 429 RESOURCE_EXHAUSTED (quota) errors gracefully. DESIGN & AESTHETIC (WARM ORGANIC): MOOD: APPROACHABLE, REFINED, AND HUMAN.: Typography: Use 'Cormorant Garamond' for elegant serif headings and 'Inter' for clean UI text. Palette: Use earth tones like Olive (#5A5A40), Cream (#F5F5F0), and Off-White. UI Patterns: Use large rounded corners (32px), pill-shaped image containers, and subtle shadows. Interactions: Use 'motion' for smooth entrance animations and 'lucide-react' for consistent iconography.



