Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Quickstart

Install

pnpm add -g egaki
Or with npm:
npm install -g egaki

Authenticate

egaki needs provider API keys to generate media. The fastest way to start is with ChatGPT auth (uses your existing ChatGPT subscription) or a Google AI Studio key.

ChatGPT auth (easiest)

egaki login --provider chatgpt
Opens a browser window for OAuth. After approval, you can use OpenAI image models like gpt-image-1.5.

Google AI Studio key

Get a free key from aistudio.google.com, then:
egaki login --provider google --key AIza...
This gives you access to Imagen and Gemini image models, plus Veo video models.

Egaki subscription

One key for all providers. No need to manage separate API keys.
egaki subscribe --plan pro egaki login --provider egaki --key egaki_...
Run egaki login --show at any time to see which providers are configured.

Generate your first image

egaki image "a watercolor fox reading a map" -o fox.png
The CLI picks the best available model based on your configured providers. Override with -m:
egaki image "isometric floating city" -m imagen-4.0-generate-001 -o city.png

Generate your first video

egaki video "a paper boat drifting on a calm lake at sunrise" -o boat.mp4
Video generation takes 1-5 minutes depending on the model. The CLI shows progress.

Discover available models

egaki models egaki models --type image egaki models --type video

What's next