ShortGenius CLI
Install the ShortGenius CLI and draft scripts, render videos, generate images and speech, start recurring series, and manage your account — all from the command line, with JSON output on every command.
The ShortGenius CLI (@shortgenius/cli, binary shortgenius) is a JSON-first command line over the ShortGenius API. You log in once with an API key and run commands to draft scripts, generate videos, images, and text-to-speech, start scheduled recurring series, and manage your library — without leaving your terminal. Every command can emit structured JSON with --json, so it slots cleanly into scripts, pipelines, and automation.
Once CLI is connected, you can drive ShortGenius with plain-language prompts.
Authenticate once, then script every endpoint.
Install globally, or run it ad-hoc with npx.
npm install -g @shortgenius/cli
Authenticate with a key from https://shortgenius.com/developers/keys. It's saved to ~/.shortgenius/config.json.
shortgenius login --api-key sg-YOURKEY
Check your balance or draft a video. Add --json for machine-readable output.
shortgenius credits shortgenius videos draft --topic "The history of coffee" --duration 60
Create and verify webhook endpoints from the terminal.
shortgenius webhooks create --url https://example.com/hooks --events "video.completed,image.completed"
Frequently Asked Questions
You log in once with a ShortGenius API key, which is stored in ~/.shortgenius/config.json. After that, every command authenticates automatically using that key.
Create a free account and generate an API key to get started in minutes.