CLI Getting Started
Install the SJinn CLI and generate your first image or video from the terminal.
Overview
SJinn CLI lets you generate images and videos directly from your terminal. It supports text-to-image, image-guided generation, text-to-video, image-to-video, async jobs, local downloads, and JSON output for automation.
Install
npm install -g @sjinn-build/cli
Requirements
- Node.js 18 or newer
- Network access to npm and GitHub Releases during installation
- macOS, Linux, or Windows on x64/arm64
Quickstart
Sign In
sjinn auth login
sjinn auth whoami
Generate an Image
sjinn image generate --prompt "a cinematic product shot of a glass perfume bottle"
Generate a Video
sjinn video generate --prompt "a slow dolly shot through a neon city street at night"
Query Task Status
sjinn status <task_id>
Updating
npm install -g @sjinn-build/cli@latest
sjinn --version
Uninstall
npm uninstall -g @sjinn-build/cli
