ALPHAEarly access — $1 per summon · 5 summons/day · rough edges expected

CLI

Warlok CLI Quickstart

Use the Warlok CLI for local scripts, CI jobs, and agent workflows. All commands support structured output with --json.

Alpha status

The CLI package is published as @warlok-net/cli. It uses the live REST API with API-key auth (see Agents).

1. Install + Verify

pnpm dlx @warlok-net/cli@latest --help

2. Authenticate

Create an API key at /settings/api-keys, then run:

pnpm dlx @warlok-net/cli@latest auth login --base-url https://api.warlok.net --api-key <your_key>

3. Generate a Character

pnpm dlx @warlok-net/cli@latest generate character --name ranger-v1 --prompt "stylized ranger in t-pose, game-ready" --wait

Useful Commands

pnpm dlx @warlok-net/cli@latest status <generation_id>
pnpm dlx @warlok-net/cli@latest list --json
pnpm dlx @warlok-net/cli@latest download <generation_id> --rigged
pnpm dlx @warlok-net/cli@latest doctor --json
pnpm dlx @warlok-net/cli@latest mcp print-config --format json

Notes

  • Use --json for deterministic machine parsing.
  • Never hardcode live keys in committed files.
  • For non-interactive agents, set WARLOK_API_URL and WARLOK_API_KEY.
  • --rigged prefers the alpha character-stage GLB when present; production rigging remains alpha-scoped.