@airogenia/cliEm breve

CLI

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

A CLI do Airogenia está a caminho. Esta página mostra como vai funcionar; até lá, use a API.

01Install

Needs Node.js 18.3 or newer.

npm install -g @airogenia/cli

02Sign in

Paste your API key once; it is checked and saved. Top up from €3.00 in Billing.

airogenia login
airogenia 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.

airogenia models --type video
airogenia run <model> -h
airogenia 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.

airogenia 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.

airogenia skill install