Skip to main content
The Unsora CLI (unsora) brings the full public API to your terminal: AI video, images, music, voiceovers, thumbnails, influencer portraits, clipping, media uploads, and social post scheduling.

Install

Requires Node.js 20+. Verify with:

Authenticate

Create an API key in the Unsora app under Settings → API Keys, then:
Instead of saving the key you can set environment variables — useful in CI:

First generation

The CLI queues the job, polls until it finishes, prints the output URL, and downloads the file to the current directory (unsora-image-<id>.png). Flags that work on every create command:

All commands

Run any command with --help for its full options.