Skip to main content
The Recoup CLI (@recoupable/cli) wraps the Recoup API for terminal-first workflows. It’s available as a global npm package and comes pre-installed in sandbox environments.
The CLI is in beta. The commands listed below are what’s shipped today (v0.1.13). For research workflows and most content operations, call the REST API directly — the CLI is gradually catching up.Agents: if a command isn’t listed below, don’t retry — fall back to the corresponding REST endpoint linked under each command.

Install

Authenticate

Set your API key as an environment variable:
Verify it works:
Get an API key from the API Keys page or use the agent signup for instant key generation.

Configuration

All commands support --json for machine-readable output and --help for usage info.

Commands

whoami

Show the authenticated account. See GET /api/accounts/id.

orgs

List organizations. See GET /api/organizations.

artists

List artists. See GET /api/artists.

emails

Send an email to the authenticated account. See POST /api/emails.

chats

Manage chats. See GET /api/chats and POST /api/chats.

sandboxes

Manage sandboxes. See GET /api/sandboxes and POST /api/sandboxes.

tasks

Check background task status. See GET /api/tasks/runs.

songs

Run AI music analysis. See POST /api/songs/analyze and GET /api/songs/analyze/presets.
One of --preset or --prompt is required. The other flags are optional.

content

Content creation pipeline — generate AI-powered social videos for artists.

List templates

Validate an artist

Check that an artist has the required assets before creating content. See GET /api/content/validate.

Estimate cost

Preview estimated cost and duration before kicking off the pipeline. See POST /api/content/estimate.

Create content

Run the full content-creation pipeline for an artist. See POST /api/content/create.
For finer-grained control (individual image, video, caption, transcription, edit, upscale, or analyze operations), call the content REST endpoints directly. Those primitives aren’t yet exposed as individual CLI subcommands.