CLI

Run any Genlaxy model from your terminal or coding agent. Every render is priced before it starts and drawn from the same balance as the studio.

01Install

Needs Node.js 18.3 or newer.

npm install -g @genlaxy/cli

02Sign in

Create a key under Settings - API keys, then paste it once. Top up from €5.00 in Billing.

genlaxy login
genlaxy whoami

03Run

List the models, read one model's fields, then render. Every field is a flag; a local file is uploaded for you. Add --dry-run to see the price without spending anything.

genlaxy models --type video
genlaxy run <model> -h
genlaxy run <model> -p "a lighthouse at dusk, 35mm film" -o ./out/

04Scripts

With --json the result is one JSON document on stdout, and progress and errors go to stderr. A failed command exits non-zero, and a failed render is not charged.

genlaxy run <model> -p "..." --json -o ./out/ | jq -r .file

05Coding agents

Writes a skill file that teaches your coding agent to use the CLI: always --json, check the price first, cap it with --max-price.

genlaxy skill install