Getting Started
Install and configure the GLabs SDK and CLI
Getting Started
Installation
This installs the glabs command globally.
Prerequisites
Before using the SDK or CLI, you'll need:
- Bearer Token — Authentication token from Google Labs
- reCAPTCHA Provider — Required for all generation requests. Recommended: Chrome (real browser, highest scores) or YesCaptcha (cloud, no browser needed)
- Project ID — Google Labs project identifier (optional, auto-resolved if omitted)
CLI Setup
The fastest way to get started:
Verify your config:
Then start generating:
SDK Setup
Environment Variables
We recommend using environment variables for sensitive configuration:
Session Management
Each API request requires a session ID: