Detailed installation instructions for OpenCanvas.
- Python 3.8 or higher
- pip package manager
- Chrome/Chromium browser (for PDF conversion)
- Git (optional, for development)
Install the package directly with CLI support:
git clone https://github.com/genmini-ai/OpenCanvas.git
cd OpenCanvas
pip install -e .For full functionality including the REST API:
pip install -r requirements-all.txtFor basic CLI functionality without API dependencies:
pip install -r requirements.txtFor microservices deployment:
pip install -r requirements-api.txtOpenCanvas requires browser automation for HTML-to-PDF conversion.
playwright install chromiumDownload ChromeDriver from https://chromedriver.chromium.org/ and add to your PATH.
-
Copy the example environment file:
cp .env.example .env
-
Edit
.envwith your API keys:# Required ANTHROPIC_API_KEY=your_anthropic_api_key_here # Optional but recommended BRAVE_API_KEY=your_brave_api_key_here GEMINI_API_KEY=your_gemini_api_key_here OPENAI_API_KEY=your_openai_api_key_here
-
Configure evaluation provider (optional):
EVALUATION_PROVIDER=gemini # or claude, gpt EVALUATION_MODEL=gemini-2.5-flash
- Visit https://console.anthropic.com/
- Create an account or sign in
- Navigate to API Keys
- Generate a new key
- Visit https://api.search.brave.com/app/keys
- Sign up for free tier
- Generate an API key
- Visit https://aistudio.google.com/
- Sign in with Google account
- Get API key from settings
- Visit https://platform.openai.com/api-keys
- Create an account or sign in
- Generate a new API key
Test your setup:
# Check configuration
python -c "from opencanvas.config import Config; Config.validate(); print('✅ Configuration valid')"
# Generate a test presentation
opencanvas generate "test topic" --output-dir test_output
# Check if CLI is installed
opencanvas --helpMake sure you installed with the -e flag:
pip install -e .Check if it's in your PATH:
which opencanvasEnsure your .env file exists in the directory where you run opencanvas:
cat .env | grep ANTHROPIC_API_KEYInstall Chromium browser for Playwright:
playwright install chromiumOr use Selenium as fallback:
opencanvas convert slides.html --method selenium- Read the Quick Start Guide
- Explore Usage Examples
- Check Configuration Options