|Docs

Command reference

Use this page as a map of command groups. Use sume <command> --help and sume tools schema <tool> --json for exact local arguments.

Use --json on any command whose output will be parsed by an agent or script.

Command groups

CommandPurposeSafety
setupSave local API base/key/update configuration.Writes local config.
login / logout / auth statusAuthenticate or inspect auth.Writes/removes local config for login/logout.
me / creditsRead account, workspace, plan, credits, and concurrency.Read-only.
brandRead or analyze Brand DNA profiles.brand analyze mutates workspace Brand state.
avatarsList and inspect avatars.Read-only, returns media metadata.
jobsList jobs, inspect status, fetch/download results.Read-only except local downloads.
assetsSearch/get Asset Library scenes; finalize uploads.Search/get read; finalize starts processing.
uploadsCreate temporary upload URLs.Mutating; returns sensitive signed upload URL.
images / videosCreate generation jobs.Paid/provider mutation.
adsCreate Paid Ads video jobs.Paid/provider mutation.
face-swapCreate Face Swap jobs from uploaded source video.Paid/provider mutation.
reference-analysisAnalyze public TikTok/Instagram Reel URLs.Paid/provider mutation.
mcpStart local MCP stdio server.Default read-only; write/paid toolsets require flags.
toolsInspect CLI and MCP tool schemas.Read-only local discovery.
skills / initInstall Sume agent skill instructions.Writes local project files.
version / updateInspect and update the binary.update writes the local binary.

Auth and setup

Remote/headless terminals should use:

On CI, prefer SUME_API_KEY.

Account and credits

Use these before generation to confirm the CLI is pointed at the expected account/workspace and has available credits.

Brand and avatars

brand analyze starts or refreshes workspace Brand DNA analysis for a public website URL. avatars is read-only.

Jobs

Options:

OptionDescription
--limit <n>Page size.
--cursor <cursor>Continue pagination.
--type <type>Filter jobs by type.
--status <status>Filter jobs by status.
--download [path]On jobs result, download safe public media URLs from the result.

See Jobs and assets for the full workflow.

Assets and uploads

Search options:

OptionDescription
--limit <n>Page size.
--cursor <cursor>Continue pagination.
--query <query>Search query for assets list.
--search-mode <auto|text>Public API search mode.
--source-type <type>Filter by source video type, such as generated or upload.
--segment-type <type>Filter by indexed scene segment role.
--brand <brand>Filter by brand mention.
--product <product>Filter by product mention.
--tag <tag>Filter by reusable tag.
--keyword <keyword>Filter by indexed keyword.
--cta-present <bool>Filter by CTA presence.
--min-duration <seconds> / --max-duration <seconds>Filter by scene duration.
--created-after <iso> / --created-before <iso>Filter by creation time.
--sort <sort>relevance, created_at_desc, created_at_asc, or duration_desc.
--download [path]On assets get, download safe public media URLs.

uploads presign returns a temporary signed upload URL. Treat it as sensitive and do not send the Sume API Authorization header to storage.

Images and videos

Generation commands may spend credits. Confirm explicit user intent before running them from an agent.

Key options:

CommandKey options
images generate--prompt, --aspect-ratio, --n, --resolution, --quality, --reference-image-url, --wait, --timeout, --download
videos generate--prompt, --aspect-ratio, --duration, --resolution, --generate-audio, --wait, --timeout, --download

Both command groups create async jobs. Read status and results through jobs.

Reference Analysis

Reference Analysis creates a job. Read status and results through jobs:

Tools and MCP

Tool schemas are local descriptions of CLI and MCP operations. Agents should inspect schemas before constructing create commands.

Skills and init

Targets:

TargetOutput
claude.agents/skills/sume/SKILL.md when .agents/ exists, otherwise .claude/skills/sume/SKILL.md.
cursor.cursor/rules/sume.mdc.
agents-mdA managed <!-- BEGIN sume:sume --> block in AGENTS.md.
allAll supported targets.

If a blank project does not have .agents/ or .claude/, create one before installing Claude-style skills: