SJinn
CLI Commands

CLI Commands

Complete command reference for the SJinn CLI.

Command Overview

CommandDescription
sjinn auth loginSign in to SJinn.
sjinn auth whoamiShow the current authenticated user.
sjinn auth logoutSign out and clear stored credentials.
sjinn image generateGenerate an image from a prompt and optional reference images.
sjinn video generateGenerate a video from a prompt and optional input media.
sjinn status <task_id>Query task status.

Run any command with --help for the latest options:

sjinn --help
sjinn auth --help
sjinn image generate --help
sjinn video generate --help

sjinn auth

login

Sign in to your SJinn account. Opens a browser-based authentication flow.

sjinn auth login

whoami

Display the currently authenticated user.

sjinn auth whoami

logout

Sign out and clear stored credentials.

sjinn auth logout

sjinn image generate

Generate an image from a text prompt with optional reference images.

sjinn image generate [options]

Options

OptionDescription
--promptImage description.
--modelImage model. Defaults to gpt-image-2.
--imageComma-separated local paths or URLs for reference images.
--aspectAspect ratio, such as 1:1, 16:9, or 9:16.
--resolutionResolution, such as 1K, 2K, or 4K, where supported.
--asyncReturn the task ID without waiting.
--downloadDownload the result to a local file.
--jsonPrint machine-readable JSON.

sjinn video generate

Generate a video from a text prompt with optional input media.

sjinn video generate [options]

Options

OptionDescription
--promptVideo description.
--modelVideo model. Defaults to veo3.
--imageInput image for image-to-video.
--durationVideo duration in seconds, where supported.
--aspectAspect ratio, such as 16:9, 9:16, or 1:1.
--modeQuality mode: std, pro, fast, or standard, where supported.
--resolutionOutput resolution: 480p, 720p, or 1080p, where supported.
--end-imageEnd frame image, where supported.
--media-urlsComma-separated reference media URLs, where supported.
--multi-shotMulti-shot mode, where supported.
--asyncReturn the task ID without waiting.
--downloadDownload the result to a local file.
--jsonPrint machine-readable JSON.

sjinn status

Query the status of an async task.

sjinn status <task_id>

Returns the current task state including progress, result URLs, or error details.