Install
openclaw skills install dlazy-startQuickstart for AI orchestrators (Claude Code / Cursor / Codex / Copilot) driving @dlazy/cli. Covers install, auth, capability discovery, invoking cloud + local tools, polling async tasks, and recovering from common failures.
openclaw skills install dlazy-startA minimal contract for AI orchestrators using @dlazy/cli. The CLI is a
tool-dispatch surface: every registered cloud + local tool becomes a top-level
subcommand. There is no built-in project workspace or pipeline state machine —
those are agent-side concepts.
License: AGPL-3.0-or-later.
You drive @dlazy/cli from auth through tool invocation:
state_lock_profile, video_compose,
post_render_gate, scene_detect, frame_sampler, audio_mixer,
audio_probe, transcribe, subtitle, color_grade, extract_segment,
ffmpeg_run, … (full list via dlazy tools list)auth, doctor, tools list, tools describe,
status, plus one top-level subcommand per registered tool.# Install once
npm install -g @dlazy/cli
# Authenticate (device-code flow; works in remote shells)
dlazy auth login
Alternate auth: dlazy auth set YOUR_API_KEY, or set the DLAZY_API_KEY
env var. Config lives at ~/.dlazy/config.json (Windows:
%USERPROFILE%\.dlazy\).
Global flags every command accepts: --api-key, --base-url, --verbose,
--output <json|url|text>, --refresh-manifest, -l/--lang <locale>.
dlazy --help # top-level command surface
dlazy tools list # registered tools with type + cost shape
dlazy tools describe <name> # input/output JSON schema, hasCosts, examples
Optional local runtimes need a one-time install:
dlazy doctor remotion # report Remotion composer state
dlazy doctor remotion --install # ~50s, installs the bundled composer
dlazy doctor yt-dlp --install # for video_downloader on YouTube et al.
dlazy doctor yt-dlp --install --proxy http://127.0.0.1:1087
Some sandboxes restrict the tool surface via DLAZY_DISABLED_TOOLS=<csv>;
disabled tools are hidden from dlazy --help and refuse invocation with a
clear tool_disabled error.
Every tool is a top-level subcommand:
# Inline flags (mirrors the input schema)
dlazy gpt-image-2 --prompt "cyberpunk cat at dusk"
# JSON input file (preferred for complex shapes)
dlazy video_compose --input @work/compose.json --output json
# Dry-run for validation only (no remote call, no credit consumption)
dlazy seedance-2-0 --input @plan.json --dry-run
Per-tool help is generated from the schema:
dlazy <tool-name> --help
Output modes:
--output text (default) — human-readable envelope--output json — single JSON line per call; parse with jq--output url — bare URL when the tool produces a single assetLong-running generations return a generateId instead of the final asset:
dlazy status <generateId>
dlazy status <generateId> --output json
Repeat until status is succeeded (then the asset URL is in the payload) or
failed (with error.code + error.message).
dlazy doctor remotion --install fails on npm install:
node --version).npm_config_proxy / npm_config_https_proxy.video_downloader returns "Sign in to confirm you're not a bot":
"cookies_from_browser": "chrome"
(or firefox / safari / edge) in the input JSON.video_compose returns "render_runtime=hyperframes not yet implemented":
edit_decisions.render_runtime to
remotion or ffmpeg, then re-validate via pre_render_validator.ElevenLabs STT returns an empty words array:
timestamps_granularity: "word" explicitly.Need to know a tool's cost before invoking:
dlazy tools describe <name> exposes hasCosts and the cost shape. Log
the estimate to a local file or your audit log before calling the tool.Unknown command suggestion:
dlazy <typo> returns error: unknown command '<typo>' plus a "Did you
mean …?" suggestion line based on edit distance. Trust the suggestion only
after confirming via dlazy tools list.dlazy tools list.state_lock_profile
post_render_gate parity checks instead).INSTALL npm install -g @dlazy/cli && dlazy auth login
DISCOVER dlazy tools list | dlazy tools describe <name>
LOCAL RT dlazy doctor remotion --install (or yt-dlp)
INVOKE dlazy <tool-name> --input @file.json --output json
DRY RUN dlazy <tool-name> --input @file.json --dry-run
POLL dlazy status <generateId>
HELP dlazy --help | dlazy <tool-name> --help
RECOVER dlazy doctor <target> | dlazy tools describe <name>