dLazy AIdLazy AI
CLI

CLI Overview

Run any dLazy tool from the terminal.

dlazy is a thin wrapper over the dLazy tool runner. It always emits a JSON envelope on stdout and human-readable progress on stderr, so you can pipe it freely.

Core Commands

dlazy --help                     # global usage
dlazy --version                  # CLI version
dlazy tools list                 # registry overview
dlazy tools describe gpt-image-2 # full input + output JSON Schema
dlazy gpt-image-2 --prompt "a foggy mountain at dawn"
dlazy <tool> --help              # per-tool flags + types + defaults

dlazy <tool> --help is always authoritative — it prints the live flag list, every default value, every conditional flag ([only when ...]), and the inline output schema. The pages here describe the shared scaffolding that wraps every tool command.

Per-Tool Run Flags

These flags are added to every tool command. They mirror the help text emitted by dlazy <tool> -h:

FlagEffect
--dry-runPrint payload + cost estimate without calling API
--no-waitFor async tools: return { generateId, status } immediately
--timeout <seconds>Max seconds to wait for async completion (default 1800)
--input <jsonOrFile>Inline JSON or @path/to/file.json — merged under flag values (flags win)
--batch <n>Run the tool N times in parallel and merge all outputs (image / video / audio / text / auto only)

What's in the Rest of This Section

  • Global flags--api-key, --base-url, --verbose, --output, -l
  • Output modesjson / url / text and how to pair them with jq
  • Pipelines — full reference token table (-, @N, @N.path, @*, @stdin)
  • Async & batch--no-wait, dlazy status, --batch
  • Local files — uploading ./file.png and data: URLs

On this page