Skip to main content
Every command the CLI exposes, grouped by resource. 120 commands. Run contenthero schema get 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)

contenthero audio split <source>

Split an audio or video file into vocals, drums, bass and other sounds (four files). Asynchronous.

contenthero audio split-clips <projectId>

Split the audio of clips into vocals, drums, bass and other sounds, in place.

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 and sheets

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>

Take a look off an avatar (the image stays in the library)

contenthero avatar sheet add <avatarId>

Attach images you already own to an avatar as sheets (costs nothing)

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 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, its scenes with —kind scenes, or its videos with —kind video (every video the post holds, its one video or each video slide of a carousel, downloaded into shared analysis copies, each with its cut list once stored, never your library). 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

download

contenthero download <id> [path]

Download any file of yours to disk: a generation, one of its outputs, an upload, an import, a library file, or a project’s export (free)

export

contenthero export <projectId>

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

contenthero export get <exportId>

Read one export by id: its file, state and details; wait for one with contenthero status --kind export (requires editor:read)

contenthero export list <projectId>

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

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 image [prompt]

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

contenthero generate video [prompt]

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

import

contenthero import [url]

Bring something into your own library or a new project: a url (a file, free, or a video page on a supported site, which spends) into the library, or a deck into a new canvas project (—pptx, —canva). See —cost. A tracked post’s video is content analyze —kind video

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 list

List media you can place: the account’s files (every file, or one part of the library), or with —source stock the stock catalog, which comes back in its own order and does not take the library’s filters or sort

contenthero media search <query>

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

contenthero media update <id>

Rename a stored file or give it a description. Pass —name, —description or both; an empty —description clears it. Only library files can be changed, never a generated output or a stock item

contenthero media zoom <idOrUrl> <region>

Cut a region from an image’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)

post

contenthero post publish <cardId>

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

project

contenthero project apply <projectId>

Edit a video timeline with a batch of operations, the same ones every ContentHero agent uses, applied by the server and shown in the open editor at once. Each operation is an object with an op name and its fields. get_schema kind ‘timeline’ lists every operation with its shape and the rules they all follow; read an operation in full by its name before using one you have not read, and build a clip from its type’s example there. A code clip imports project modules, which an operation sets or copies from another of your projects. Read clip, track and transition ids from get_project. A batch is ordered and atomic: when any operation is refused, nothing is stored, and the result says which and why. The result reports each operation, with what the compiler found in any code an operation wrote, and what the edit left in the project that may not render as intended, clip by clip. Prefer an edit the person can review and turn back over one that cannot be reversed, and make a destructive one only when they asked for it. A clip’s length on the timeline follows its source and its speed: change its speed, not its length. Project settings change with update_project. expectedRevision is the project revision you last read, and it means the same on update_project, update_timeline and update_canvas. An edit built on an older revision still applies when no change since touched what it touches. When one did, nothing is written and the answer is a conflict naming the current revision and what overlapped: read the project again and redo the edit. Omit it to apply to the project as it is. Every edit can be undone, and each returns the new revision. A retry that repeats the same operation id returns the revision already committed and never applies the batch twice. Requires the editor:write scope.

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> [versionId]

Copy a project: the same type, size, composition and brand kit, as it is now or from a saved version (requires editor:write)

contenthero project edit redo <projectId>

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

contenthero project edit undo <projectId>

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

contenthero project get <projectId>

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

contenthero project list

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

contenthero project transcript get [projectId]

Read the words of a project’s timeline or of one recording (requires editor:read)

contenthero project update <projectId>

Change a project: its title, brand kit and cover, and its settings, which are the project’s and shared by everyone who edits it: canvas size, and a video project’s frame rate, loudness and editing settings (requires editor:write)

contenthero project version create <projectId>

Save the project’s current state as a new 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 restore <projectId> <versionId>

Put a version back into its project; the current state is saved as a version first. To make a new project from a version, use project duplicate \<projectId\> \<versionId\> (requires editor:write)

contenthero project version update <projectId> <versionId>

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

schema

contenthero schema get <kind> [command]...

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

share

contenthero share <assetType> [ids]...

Make an item’s public link, or stop sharing it with —off; a stopped link never opens again. Media: one output gives its generation’s link, several a new link to them as a set (requires studio:write). A project: its live link, which shows it as it is now (requires editor:write)

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

status

contenthero status <ids>...

Show where background jobs are; blocks until they finish unless —no-wait

style-library

contenthero style-library create <name>

Create a style library on this account, and publish its first version when modules are sent. A style library is shared code, not a CSS style. Its modules come from modules sent inline, from fromProject (modules of one project, read from its saved state, with imports between them rewritten to the library’s own), or both; a name sent by both is refused. A library module may import the sandbox’s modules and its own library’s modules, never a project module. The name is fixed once created, because the code of every clip that imports the library names it. Publishing runs the same checks as saving a project module: code that does not compile, an import it cannot resolve, or a module that reads something another module does not provide is refused with the reason.

contenthero style-library get <name>

Read one style library by name: its description and every published version with its notes, newest first. With a version, read that version’s modules instead, each by name with its code. A published version never changes. A project uses a library only after set_style_library pins a version in it.

contenthero style-library list

List the style libraries on this account. A style library is shared code that projects pin and import: components, design tokens, motion and sound cues, never a CSS style. Each entry gives its name, description, latest version and when it was last updated. Archived libraries are left out unless archived is true. Returns a page at a time; pass the answer’s cursor for the next.

contenthero style-library update <name>

Publish the next version of a style library, edit its description, or both. A published version never changes: publishing adds one, and notes says what changed. Send modules inline (code, edits against baseVersion, or null to drop a module), from a project with fromProject, or both. A project that pins an earlier version is untouched until its own set_style_library moves it. Archive a style library with the archive tool, never by deleting: its versions are kept so every project that pins one still renders.

tag

contenthero tag create <name>

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

contenthero tag delete <id>

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

contenthero tag list

List the account’s tags

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 add <profile>...

Track social accounts by handle or profile URL (requires inspiration:write)

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 remove <id>

Stop tracking an account; its posts are kept (requires inspiration:write)

contenthero tracked-account update <id>

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

transcribe

contenthero transcribe [audioUrl]

Transcribe speech to text: an audio URL, a public video page with —video-url, or a tracked post’s downloaded video with —content-id (spends credits; price it first with —cost)

upload

contenthero upload <files>...

Upload local files into your library as media (requires library:write)

view

contenthero view

See what the user is looking at, and see or hear your own work (requires context:read)

voice

contenthero voice get <id>

Get one voice by its voiceId

contenthero voice list

List saved voices (favorites first)