Configuration¶
Configure LooK's API keys, default settings, and preferences.
API Keys¶
LooK uses AI services for analysis and voiceover generation.
OpenAI API Key (Required)¶
Required for:
- GPT-4 Vision website analysis
- Voiceover script generation
- TTS voice synthesis
- Run
look serve - Click the ⚙️ Settings button (top right)
- Go to API Keys tab
- Enter your OpenAI API key
- Click Save Settings
Keys are stored in browser localStorage and sent securely with each request.
Get your API key: platform.openai.com/api-keys
Groq API Key (Optional)¶
Groq provides faster inference for script generation:
Get your key: console.groq.com
Configuration File¶
LooK stores configuration in ~/.look-demo/config.json:
{
"openaiKey": "sk-...",
"groqKey": "gsk-...",
"defaultVoice": "nova",
"defaultStyle": "professional",
"defaultDuration": 25,
"defaultPreset": "youtube",
"autoSave": true
}
Default Settings¶
Voice¶
Set your preferred default voice:
Available voices: nova, alloy, echo, fable, onyx, shimmer
Style¶
Set the default script style:
Available styles: professional, casual, energetic
Duration¶
Set default video duration (seconds):
Export Preset¶
Set the default export format:
Available presets: youtube, twitter, instagram, tiktok, gif
Web Editor Settings¶
Theme¶
The web editor defaults to dark mode. Toggle in Settings → Preferences.
Auto-Save¶
Projects auto-save every 30 seconds by default. Disable in Settings → Preferences.
Keyboard Shortcuts¶
View all shortcuts by pressing Shift+? in the editor.
Environment Variables¶
| Variable | Description | Default |
|---|---|---|
OPENAI_API_KEY | OpenAI API key | - |
GROQ_API_KEY | Groq API key (optional) | - |
DEBUG | Enable debug output | false |
LOOK_PORT | Web editor port | 3847 |
Project Storage¶
Projects are stored in:
~/.look-demo/projects/<project-id>/
├── project.json # Project metadata
├── recording.mp4 # Raw recording
├── cursor.json # Cursor data
├── analysis.json # AI analysis
├── script.txt # Voiceover script
└── exports/ # Exported videos
Cleaning Up¶
Delete old projects:
# List all projects
look projects
# Delete a specific project
rm -rf ~/.look-demo/projects/<project-id>
Clear the cache:
Reset All Settings¶
CLI Settings¶
Web Editor Settings¶
In browser console (F12):
CI/CD Configuration¶
For automated pipelines, set API keys as environment variables:
# GitHub Actions example
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- run: look demo https://myapp.com -o demo.mp4
See CI/CD Examples for more patterns.