SnapperAI includes multimodal vision support so you can attach a UI screenshot, hero mockup, or layout reference alongside a text prompt and generate an editable SnapperUI component tree directly on the visual canvas.
1. How SnapperAI Processes Reference Images
When you attach an image in the SnapperAI assistant inside the Builder (/pro/editor/:id), the request is routed to SnapperUI's Gemini vision pipeline (build, section, edit, or improve mode). Rather than flattening your screenshot into a static picture, the engine infers section hierarchy, typography scale, color tokens, spacing, and responsive grid structure as standard SnapperUI JSON nodes.
Privacy & regional availability: Do not upload screenshots containing personal data, private dashboards, passwords, or confidential client documents when using unpaid AI tiers. Note that image-reference generation is unavailable in the EEA, UK, and Switzerland under unpaid AI terms (text-prompt generation remains available).
2. Preparing a Clean Reference Screenshot
- Crop tightly to the target layout: Remove browser chrome, OS taskbars, and unrelated sidebars so the model focuses on the actual page structure.
- Prefer high-contrast captures: Blurry or heavily compressed thumbnails make it harder to infer border colors, card elevation, and font weight differences.
- Split full-page screenshots when needed: For very long landing pages, generate the core hero + feature grid first in Build mode, then use Section mode to add pricing, FAQ, or footer blocks incrementally.
3. Writing a Companion Prompt That Guides Structure
An image alone shows visual appearance, not your brand copy or interactive intent. Pair your screenshot with a concise prompt specifying three details:
Build a dark SaaS landing page matching the attached layout structure:
- Brand: PulseMetrics (developer uptime monitoring)
- Keep the 3-column feature grid and split hero from the reference
- Use crisp neutral-950 surfaces with #2563EB primary CTA buttons
- Replace placeholder text with realistic product copy and navigation links
4. Refining the Generated Nodes on the Canvas
- Inspect the element hierarchy: Select headings, buttons, and grid containers directly on the canvas to verify semantic tags (
<h1>,<p>,<button>,<a>). - Check responsive breakpoints: Switch between Desktop, Tablet, and Mobile views in the Builder toolbar to verify multi-column grids collapse cleanly (
grid-cols-1 md:grid-cols-3). - Replace stock imagery: Use the image properties panel to swap generated Unsplash placeholders with your own uploaded assets hosted via ImageKit.
- Add targeted edits with AI: Select a specific section and switch SnapperAI to Edit mode to refine copy or spacing without regenerating the entire page.
5. Common Mistakes & Troubleshooting
- Crowded mobile grids: If a 4-column desktop grid looks cramped on 375px viewports, check the container's responsive column classes and ensure
grid-cols-1is set for base mobile widths. - Missing link destinations: Always inspect generated navbar and CTA links and update
hrefvalues to real internal routes (e.g.,/pricingor/contact) or external URLs. - Next steps: Continue with How to Build a Website with SnapperUI or Motion Studio & Neural Studio.