Skip to content

CLI cheatsheet

Authoritative parameter tables live in the binary itself: run cutcli <command> --help. This page is a curated quick reference.

Global options

bash
cutcli [global options] <command> [subcommand options]
OptionNotes
--env-file <path>Load a specific .env
--prettyPretty-print JSON output
-V, --versionPrint version
-h, --helpPrint help

Commands by category

Cloud authentication

Cloud upload/rendering commands need a cutcli.com API key. You can save it locally once with cutcli auth set, or provide it per process with CUTCLI_API_KEY.

CommandPurpose
cutcli auth set --api-key <key> [--api-base <url>]Save the cloud API key
cutcli auth whoamiShow the account attached to the current API key
cutcli auth clearRemove the locally saved API key

Draft management

CommandPurpose
cutcli draft create [--width N] [--height N]Create a draft
cutcli draft listList all drafts
cutcli draft info <draftId>Show info for a draft
cutcli draft easy <draftId> --audio-url <url>Auto-fit assets to the audio length
cutcli draft zip <draftId> [--output <path>]Zip the draft
cutcli draft upload <draftId>Zip + upload, returns a download URL

Cloud rendering

CommandPurpose
cutcli cloud render <draftId> [--zip <path>]Upload a draft zip and create a cloud render job
cutcli cloud jobs [--status <status>]List cloud render jobs, optionally filtered by status
cutcli cloud job <jobId>Show one cloud render job with events
cutcli cloud result <jobId>Alias for cloud job, useful when looking up final output

Scheduled rendering

CommandPurpose
cutcli timer render [--interval <minutes>] [--count <n>]Create/upload/render drafts on a fixed interval
cutcli timer render --count 1 --prettyRun a single upload/render cycle for smoke testing

Adding content

CommandPurposeDetail
cutcli captions addAdd captionsMore
cutcli images addAdd imagesMore
cutcli videos addAdd videosMore
cutcli audios addAdd audiosMore
cutcli effects addAdd effectsMore
cutcli filters addAdd filtersMore
cutcli sticker addAdd a stickerMore
cutcli keyframes addAdd keyframesMore
cutcli masks addAdd masksMore

Querying

CommandPurpose
cutcli query audio-duration --url <url>Get a remote audio's duration
cutcli query image-animations [--type in|out|loop]Available image animations
cutcli query text-animations [--type in|out|loop]Available text animations
cutcli query stickers --action search|categories|listStickers
cutcli query effects --action search|categories|listEffects
cutcli query filters --action search|categories|listFilters
cutcli query transitions --action search|categories|listTransitions
cutcli query huazi --action list|search|categoriesDecorative text styles ("huazi")

Config and integrations

CommandPurpose
cutcli config show [--pretty]Show current config
cutcli config set-dir <path>Set the draft output directory
cutcli setup <tool> [--force]Install AI tool integration (cursor / claude / openclaw / all)
cutcli docs [topic]Show built-in offline docs
cutcli docs openOpen https://docs.cutcli.com in your browser

A typical workflow

bash
DRAFT_ID=$(cutcli draft create --width 1080 --height 1920 | jq -r '.draftId')

# Add a background image
cutcli images add "$DRAFT_ID" --image-infos '[
  {"imageUrl":"https://cutcli.com/assets/demo/scene-01.jpg",
   "width":1080,"height":1920,"start":0,"end":5000000}
]'

# Add a caption
cutcli captions add "$DRAFT_ID" --captions '[
  {"text":"Hello","start":0,"end":3000000,
   "inAnimation":"渐显","inAnimationDuration":500000}
]' --font-size 8 --bold

# Add background music
cutcli audios add "$DRAFT_ID" --audio-infos '[
  {"audioUrl":"https://cutcli.com/assets/demo/bgm-light.mp3",
   "duration":5000000,"start":0,"end":5000000,"volume":0.5}
]'

# Inspect
cutcli draft info "$DRAFT_ID" --pretty

Cloud render workflow

bash
# Save credentials once, or export CUTCLI_API_KEY for the current shell
cutcli auth set --api-key cut_live_xxx_yyy

# Zip, upload, and submit a local draft to the cloud render queue
cutcli cloud render "$DRAFT_ID" --pretty

# Track queue status and retrieve the final video URL
cutcli cloud jobs --status queued --pretty
cutcli cloud job <renderJobId> --pretty

# Optional: run the built-in scheduler once, useful for CI/smoke checks
cutcli timer render --count 1 --pretty

Where the full reference lives

For exhaustive parameter tables and edge cases:

  • Run cutcli <command> --help — always up to date for your installed version
  • Or run cutcli docs <topic> — colorized offline manual
  • The Chinese full reference at /zh/reference/cli (auto-synced from the source repo)
  • Subcommand pages on this site have JSON field tables: see the side navigation