Skip to main content
Every command the CLI exposes, grouped by resource. 123 commands. Run contenthero schema commands to get this same information as JSON, which is the discovery path for agents.

Global options

These apply to every command.

account

contenthero account get

Show your balance, spend this month, monthly spend cap, plan and auto top-up

contenthero account update

Change an account setting; only the flags you pass change

archive

contenthero archive <assetType> <id>

Archive an asset, or restore it with —off (reversible; requires favorites:write)

audio

contenthero audio enhance <source>

Enhance an audio file (level loudness, clean up background noise). Asynchronous.

contenthero audio enhance-clips <projectId>

Enhance the audio OF EXISTING CLIPS on an editor timeline, in place. One job per SOURCE: a recording’s clips are enhanced together so the level and noise floor stay consistent across cuts, while separate recordings stay separate jobs.

contenthero audio isolate <source>

Isolate vocals from an audio file (remove background noise and music)

auth

contenthero auth login

Authenticate the CLI. Browser-assisted by default; —with-key stores an existing key.

contenthero auth logout

Delete the stored credential (env / —api-key are unaffected)

contenthero auth status

Verify the active API key and show the account it resolves to

avatar

contenthero avatar create <name>

Create an avatar and start generating its first look (spends credits)

contenthero avatar delete <id>

Delete an avatar (its looks survive and can be filed onto another avatar)

contenthero avatar get <id>

Get one avatar with its looks

contenthero avatar list

List avatars (base look + default voice)

contenthero avatar look add <avatarId>

File images you already own onto an avatar as looks (costs nothing)

contenthero avatar look remove <avatarId> <lookId>

Remove a look (trashed, recoverable for 30 days)

contenthero avatar update <id>

Rename an avatar, set its default look or voice, or move it among your avatars

brand-kit

contenthero brand-kit create

Create a brand kit: empty, imported from its websites and accounts, or as a copy (requires brand:write)

contenthero brand-kit extract <id>

Re-run a kit’s import from its websites and own accounts (returns immediately)

contenthero brand-kit get <id>

Get one brand kit: —detail summary lists every section without its body; a section filter returns just those sections with their bodies (add —history for earlier versions); neither returns the whole kit

contenthero brand-kit knowledge add <brandKitId>

Add an item to a brand kit’s knowledge base (requires brand:write)

contenthero brand-kit knowledge get <brandKitId> <knowledgeId>

Get one knowledge item with its stored body

contenthero brand-kit knowledge list <brandKitId>

List the knowledge items in a brand kit (the complete index)

contenthero brand-kit knowledge remove <brandKitId> <knowledgeId>

Remove a knowledge item and its embeddings (requires brand:write)

contenthero brand-kit knowledge search <brandKitId> <query>

Semantic search over a brand kit’s knowledge base

contenthero brand-kit list

List the account’s brand kits (default first; excludes archived unless —archived)

contenthero brand-kit update <id>

Update a brand kit: section content, colors and fonts, media and accounts, and its place among your kits (requires brand:write)

card

contenthero card create <title>

Create a post (requires planner:write)

contenthero card get <id>

Get one card with its posts and assets

contenthero card list

List one space’s cards (newest-updated first; defaults to the default space)

contenthero card publish <id>

Publish a card’s posts NOW (requires publish:write; pushes to live socials)

contenthero card update <id>

Update a post’s fields, including its stage and its place in its column (requires planner:write)

config

contenthero config list

Show the resolved configuration (key source and base URL)

contenthero config path

Print the config and credential file paths

contenthero config set <key> <value>

Set a preference. Supported keys: base-url

connected-account

contenthero connected-account get <id>

Get one connected account’s detail

contenthero connected-account list

List connected accounts (default first)

content

contenthero content analyze <id>

Analyze a tracked post: Break It Down, or its scenes with —kind scenes. Free when the result exists, otherwise it spends credits (see —cost)

contenthero content get <id>

Get one tracked post in full (engagement, hashtags, optional transcript and Break It Down analysis)

contenthero content list

List tracked content, ranked by outlier score, or by relevance when you pass —search

context

contenthero context

Read what the user is currently viewing in the open app (requires context:read)

element

contenthero element create

Create a Kling element from 2-4 images (or 1 video)

contenthero element delete <id>

Delete a Kling element

contenthero element get <id>

Get one Kling element by id

contenthero element list

List your saved Kling elements

contenthero element update <id>

Update a Kling element’s name, description, or category

favorite

contenthero favorite <assetType> <id>

Favorite an asset, or clear it with —off (requires favorites:write)

folder

contenthero folder create <name>

Create a folder (manual by default; —smart for a saved query with —text)

contenthero folder delete <id>

Delete a folder and its subtree (pointers only; assets are never deleted)

contenthero folder get <id>

A folder’s contents (a folder id or a derived key: recents, favorites, edits, canvas, cards)

contenthero folder list

List your folders plus the built-in derived folders

contenthero folder update <id>

Rename, move, re-query a folder, and file or unfile items (requires library:write)

generate

contenthero generate audio

Generate audio with ElevenLabs: speech (TTS), music, or a sound effect

contenthero generate board [prompt]

Generate a Reference Board (dense multi-panel reference sheet, 3:4 / 4K)

contenthero generate image [prompt]

Generate one or more images from a prompt (optionally image-to-image)

contenthero generate lip-sync

Animate a portrait so the subject speaks (image + audio or script)

contenthero generate video [prompt]

Generate a video from a prompt (optionally with frames / references)

generation

contenthero generation status <id>...

Show one or more generations; blocks until they finish unless —no-wait

kling-element

contenthero kling-element create

Create a Kling element from 2-4 images (or 1 video)

contenthero kling-element delete <id>

Delete a Kling element

contenthero kling-element get <id>

Get one Kling element by id

contenthero kling-element list

List your saved Kling elements

contenthero kling-element update <id>

Update a Kling element’s name, description, or category

login

contenthero login

Authenticate the CLI. Browser-assisted by default; —with-key stores an existing key.

logout

contenthero logout

Delete the stored credential (env / —api-key are unaffected)

media

contenthero media get <id>

Get one media item by id (studio output, or an upload/stock item with —source)

contenthero media import <url>

Import a remote URL as first-class media (requires library:write)

contenthero media list

List the library’s files: every file, or one part of the library with —source

contenthero media search <query>

Semantically search your library (creations, uploads, stock, brand) by describing the content

contenthero media share [mediaIds]...

A public link to outputs of your finished generations: one gives its generation’s link, opened at that output; several give a new link to them as a set (requires studio:write)

contenthero media upload <file>

Upload a local file as first-class media (requires library:write)

contenthero media watch <idOrUrl>

Watch a VIDEO as low-res keyframes across a time window (inspect raw footage)

contenthero media zoom <idOrUrl> <region>

Cut a region from a media file’s original and get it at its own detail (never enlarged)

model

contenthero model get <id>

Get one model’s full request shape (the parameters it accepts)

contenthero model list

List the models available to this key (the discovery catalog)

project

contenthero project apply <projectId>

Apply a batch of ops to a project composition. Ops both CREATE (create_clip, insert_track, insert_prebuilt_track, add_transition) and EDIT (move_clip, trim_clip, update_clip, delete_clip, remove_background, disable_ranges, update_transition, remove_transition, …) and KEYFRAME ops (add_keyframe, update_keyframe, remove_keyframe, apply_combo). One-shot cleanups: remove_silence, remove_filler_words, extract_audio. Templates: insert_template places one from template list, branded with the project’s brand kit (see schema timeline for shapes). Build items from the example skeletons in schema timeline / schema layer; run project get first for the current revision and pass it as —expected-revision for safe concurrent edits. Requires editor:write.

contenthero project create

Create a project (requires editor:write)

contenthero project delete <projectId>

PERMANENTLY delete a project, irreversible (requires editor:write)

contenthero project duplicate <projectId>

Copy a project: the same type, size, composition and brand kit (requires editor:write)

contenthero project export <projectId>

Export a project to a file: video, stills, documents, and for an editor project its sound, subtitles and transcript (contenthero schema export lists every format) (requires editor:write)

contenthero project export-status <exportId>

Poll an export job by id (requires editor:read)

contenthero project exports <projectId>

List a project’s exports, newest first: finished ones with their download and share page, running ones with their status (requires editor:read)

contenthero project get <projectId>

Read a project’s composition + revision (summary by default; requires editor:read)

contenthero project import

Import a PPTX/Slides file URL or a Canva design into a new canvas project (requires editor:write)

contenthero project list

List projects, both editor + canvas (requires editor:read)

contenthero project redo <projectId>

Re-apply the edit most recently undone, the editor’s own redo (requires editor:write)

contenthero project settings get <projectId>

Read a video project’s timeline settings (requires editor:read)

contenthero project settings update <projectId>

Change some timeline settings; a setting left out is left alone (requires editor:write)

contenthero project share <projectId>

Make the project’s public live link, or revoke it with —off; anyone with the link sees the project as it is now (requires editor:write)

contenthero project transcript <projectId>

Read a project’s transcript mapped to its timeline clips (requires editor:read)

contenthero project undo <projectId>

Reverse the project’s most recent edit, the editor’s own undo (requires editor:write)

contenthero project update <projectId>

Change a project’s own fields: rename, resize, brand kit, cover (requires editor:write)

contenthero project version copy <projectId> <versionId>

Make a new project from a version (requires editor:write)

contenthero project version delete <projectId> <versionId>

Remove a version (requires editor:write)

contenthero project version list <projectId>

List a project’s saved versions, newest first (requires editor:read)

contenthero project version rename <projectId> <versionId> <label>

Name a version; an empty label clears its name (requires editor:write)

contenthero project version restore <projectId> <versionId>

Put a version back into its project; the current state is saved as a version first (requires editor:write)

contenthero project version save <projectId>

Save the project’s current state as a version (requires editor:write)

schema

contenthero schema <kind> [command]...

Read a vocabulary another command accepts: commands, platform, timeline, layer, export, link, code or effect

space

contenthero space create <name>

Create a space. —duplicate-from copies another space’s STAGES, never its cards

contenthero space delete <id>

Delete an EMPTY space. The server refuses one that still holds cards, naming the count

contenthero space get <id>

One space, with its live card count

contenthero space list

List the account’s spaces, most recently active first

contenthero space update <id>

Rename a space or change its cover. A PATCH: a flag you omit leaves that field alone

stage

contenthero stage create <name>

Create a column. The slug is derived from the name and is not settable

contenthero stage delete <id>

Delete a column and move its cards. The server refuses a non-empty column with no —target

contenthero stage list

List a space’s stages, in order (defaults to the default space)

contenthero stage update <id>

Rename, recolor or move a column. A PATCH: a flag you omit leaves that field alone

tag

contenthero tag create <name>

Create a tag (the name is lowercased) (requires planner:write)

contenthero tag list

List the account’s tags

contenthero tag remove <id>

Delete a tag from the account, removing it from every post (requires planner:write)

contenthero tag update <id> <name>

Rename a tag, keeping its post assignments (requires planner:write)

template

contenthero template create

Save a template of your own: from a placed code clip, code layer or shape, as a copy of a template, or from its fields

contenthero template delete <id>

Delete one of your own templates (clips placed from it keep everything)

contenthero template get <id>

Get one template, with its code and controls

contenthero template list

List ContentHero’s templates and your own, without their code

contenthero template update <id>

Change one of your own templates, or move it among them: only the flags given

tracked-account

contenthero tracked-account get <id>

Get one tracked account with its performance and top content

contenthero tracked-account list

List tracked accounts (both kinds by default)

contenthero tracked-account update <id>

Move a tracked account within its list (requires inspiration:write)

transcribe

contenthero transcribe <audioUrl>

Transcribe an audio URL to text (speech-to-text)

upscale

contenthero upscale <source>

Upscale an existing image or video to a higher resolution

voice

contenthero voice get <id>

Get one voice by its voiceId

contenthero voice list

List saved voices (favorites first)