Advanced Topics¶
Deep-dive into LooK's advanced features and architecture.
Advanced Guides¶
-
Intelligent Exploration
How LooK's AI discovers and navigates your site automatically.
-
AI Enhancements
Understanding LooK's AI-powered features and customization.
-
Architecture
Technical architecture and system design of LooK.
-
API Integration
Integrate LooK into your CI/CD pipeline and applications.
When to Use Advanced Features¶
Intelligent Exploration¶
Use when:
- You want LooK to automatically discover all pages
- Creating comprehensive site walkthroughs
- Letting AI decide what's most important to show
AI Enhancements¶
Use when:
- Customizing AI analysis behavior
- Adjusting script generation prompts
- Fine-tuning voiceover timing
API Integration¶
Use when:
- Automating demo generation in CI/CD
- Building tools on top of LooK
- Creating custom workflows
import { generateDemo } from 'look-demo';
// Automated demo generation
await generateDemo(url, options);
Architecture Overview¶
graph TB
subgraph Input
URL[Website URL]
APK[Mobile App]
end
subgraph Analysis
Vision[GPT-4 Vision]
Script[Script Generator]
end
subgraph Recording
Browser[Playwright]
Mobile[Appium]
Cursor[Cursor Tracker]
end
subgraph Processing
Zoom[Auto Zoom]
Effects[Click Effects]
Voice[TTS]
end
subgraph Output
Video[Final Video]
end
URL --> Vision
APK --> Mobile
Vision --> Script
Script --> Browser
Browser --> Cursor
Mobile --> Cursor
Cursor --> Zoom
Zoom --> Effects
Effects --> Voice
Voice --> Video Performance Considerations¶
Memory Usage¶
- Default recording uses ~2GB RAM
- Long recordings (>60s) may need more
- Use
NODE_OPTIONS="--max-old-space-size=8192"for large projects
Disk Space¶
- Temporary files: ~500MB per recording
- Project files: ~100MB per project
- Clean up with
rm -rf ~/.look-demo/cache/*
API Costs¶
| Feature | Approximate Cost |
|---|---|
| GPT-4 Vision analysis | $0.01-0.03 |
| Script generation | $0.005-0.01 |
| TTS voiceover | $0.015 per 1K chars |
| Typical demo | $0.05-0.10 |