@recoupable/cli) is a command-line wrapper around the Recoup API. It’s available as a global npm package and is pre-installed in sandbox environments.
Installation
Authentication
Set your API key as an environment variable. You can get a key from the API Keys page.Configuration
| Variable | Required | Default | Description |
|---|---|---|---|
RECOUP_API_KEY | Yes | — | Your Recoup API key |
RECOUP_API_URL | No | https://recoup-api.vercel.app | API base URL override |
--json for machine-readable output and --help for usage info.
whoami
Show the authenticated account. SeeGET /api/accounts/id.
orgs
Manage organizations. SeeGET /api/organizations.
artists
Manage artists. SeeGET /api/artists.
notifications
Send a notification email to the authenticated account’s email address. The recipient is automatically resolved from your API key — no need to specify ato address.
| Flag | Required | Description |
|---|---|---|
--subject <text> | Yes | Email subject line |
--text <body> | No | Plain text or Markdown body (rendered as HTML) |
--html <body> | No | Raw HTML body (takes precedence over --text) |
--cc <email> | No | CC recipient (repeatable) |
--room-id <id> | No | Room ID for a chat link in the email footer |
--account <accountId> | No | Send to a specific account (org keys only) |
POST /api/notifications.
chats
Manage chats. SeeGET /api/chats and POST /api/chats.
sandboxes
Manage sandboxes. SeeGET /api/sandboxes and POST /api/sandboxes.
tasks
Check the status of background task runs. SeeGET /api/tasks/runs.
| Flag | Required | Description |
|---|---|---|
--run <id> | Yes | Trigger.dev run ID |
content
Content-creation pipeline commands. Generate AI-powered social videos for artists.List templates
List available content templates. SeeGET /api/content/templates.
Validate artist
Check that an artist has the required assets (face-guide, songs, context files) before creating content. SeePOST /api/content/validate.
| Flag | Required | Description |
|---|---|---|
--artist <id> | Yes | Artist account ID |
Estimate cost
Preview the estimated cost and duration for a content run without starting it. SeePOST /api/content/estimate.
| Flag | Required | Description |
|---|---|---|
--artist <id> | Yes | Artist account ID |
--template <name> | No | Template name (default: random) |
--lipsync | No | Enable lipsync mode |
--upscale | No | Enable upscaling |
Create content
Trigger the full content-creation pipeline. Returns a run ID you can check withrecoup tasks status. See POST /api/content.
| Flag | Required | Description |
|---|---|---|
--artist <id> | Yes | Artist account ID |
--template <name> | No | Template name (default: random) |
--lipsync | No | Enable lipsync mode |
--upscale | No | Enable upscaling |
--caption-length <n> | No | Max caption length in characters |
