dLazy AIdLazy AI
CLI

Global Flags

Flags accepted by every `dlazy` command.

These flags can appear before or after the subcommand. They mirror the output of dlazy --help:

FlagEffect
--api-key <key>Override stored API key for this run
--base-url <url>Override server (default: DLAZY_BASE_URL or https://dlazy.com)
--verboseDebug logs to stderr
--output <mode>stdout format — json (default) / url / text
-l, --lang <locale>UI / help language: en-US or zh-CN

-l is also picked up from DLAZY_LANG, then LC_ALL, then LANG. The locale chosen at startup is used to translate every command description (so you can swap dlazy --help between English and Chinese without restarting your shell).

Examples

# Use a different account for one call
DLAZY_API_KEY="" dlazy --api-key sk-other gpt-image-2 --prompt "..."

# Run against a local dev server
dlazy --base-url http://localhost:3000 tools list

# Switch help language
dlazy -l zh-CN gpt-image-2 --help

# Verbose mode logs every HTTP call to stderr
dlazy --verbose gpt-image-2 --prompt "..." 2> debug.log

On this page