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

login

Configure API keys for image generation providers. Interactive mode: shows a provider picker and secure key input. Non-interactive mode: pass --provider and --key, or pipe the key via stdin. Browser OAuth runs in the background for AI agents and non-TTY shells.

Usage

sh
egaki login

Options

OptionDefaultDescription
-p, --provider [name]-Provider name for non-interactive login (egaki, chatgpt, google, vertex, openai, replicate, fal, xai, xai-oauth, elevenlabs, cartesia, deepgram, groq)
-k, --key [key]-API key value for non-interactive login
--show-Show which providers are configured and their status
--remove [provider]-Remove the stored key for a provider

Global Options

OptionDefaultDescription
-h, --help-Display this message
-v, --version-Display version number

Examples

sh
# Interactive login (pick provider, paste key)
sh
egaki login
sh
# Non-interactive login with flags
sh
egaki login --provider google --key AIza...
sh
egaki login --provider vertex --key AIza...
sh
# Pipe key from stdin (useful in CI/scripts)
sh
echo "AIza..." | egaki login --provider google
sh
# Show configured providers
sh
egaki login --show
sh
# Remove a stored key
sh
egaki login --remove google