CI-friendly output
JSON and field-only output keep scripts clean, while normal terminal mode shows readable status, progress, and download URLs.
Developer workflows
Automate video compression from terminals, deployment jobs, content pipelines, and scheduled scripts with a Convertrilo CLI workflow.
The CLI exposes the same API primitives developers already need, then makes login, encode, wait, status, cancel, balance, doctor, and download workflows easy to compose in shells and CI.
npm install -g @convertrilo/sdk
convertrilo login --open
convertrilo encode https://example.com/input.mp4 \
--codec h264 \
--resolution 1080p \
--quality better \
--waitRun encoding from CI, cron, and internal tooling.
Wait for completion with terminal progress without writing polling loops every time.
Download CDN outputs or send results to configured storage.
Share repeatable commands between engineering and operations teams.
Workflow
Each automation page maps to the same production path: API request, durable job row, queue, Rust worker, storage upload, terminal event, and reconciliation.
Install @convertrilo/sdk from npm to get the convertrilo and convertrilo-mcp binaries.
Run convertrilo login or convertrilo init to save an API key from Developer Settings.
Run an encode command with explicit codec, resolution, and destination settings.
Use human output for operators, or --json, --field, --job-id-only, and --download-url-only for scripts.
JSON and field-only output keep scripts clean, while normal terminal mode shows readable status, progress, and download URLs.
The login command stores credentials at ~/.convertrilo/config.json, and environment variables can still override config in CI.
The npm package also installs convertrilo-mcp, so teams can use one package for scripts, agents, and MCP clients.
Yes. Install @convertrilo/sdk from npm to get the convertrilo CLI and convertrilo-mcp server.
Run convertrilo login --open. The CLI opens Developer Settings, then saves the key locally for future CLI and MCP use.
A CLI is useful for shell scripts, CI jobs, content operations, and one-off automation where writing a custom Node service is unnecessary.
Yes. CLI commands support the same core codec, resolution, quality, priority, VMAF, two-pass, and S3 output options exposed by the API.
Choose your codec, resolution, FPS, bitrate, quality, and optimization settings. Convertrilo shows the NEU estimate before credits are reserved, and failed jobs release reserved credits back to your balance.