GLabs SDK
TypeScript SDK and CLI for Google Labs AI media generation APIs
GLabs SDK
TypeScript SDK and CLI for Google Labs AI media generation — Imagen 4 image generation and Veo 3.1 video generation.
Packages
| Package | Install |
|---|---|
@getvrex/glabs-sdk | npm install @getvrex/glabs-sdk |
@getvrex/glabs-cli | npm install -g @getvrex/glabs-cli |
Quick Start
CLI
SDK
Features
- Image Generation — Imagen 4 with batch generation (up to 4), 2K/4K upscaling, reference images
- Video Generation — Veo 3.1 text-to-video, image-to-video, multi-reference, extend, camera reshoot
- CLI — Full terminal access to all features, OpenAI-compatible server mode
- Token Management — Auto token refresh, concurrent deduplication, 401 retry
- reCAPTCHA — 7 providers with fallback chains
- Type-Safe — Full TypeScript support with exported types