Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions sdk.mdx → cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,76 @@ recoup sandboxes create
recoup sandboxes create --command "ls -la"
recoup sandboxes list --json
```

## tasks

Check the status of background task runs. See [`GET /api/tasks/runs`](/api-reference/tasks/runs).

```bash
recoup tasks status --run <runId>
recoup tasks status --run <runId> --json
```

| 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. See [`GET /api/content/templates`](/api-reference/content/templates).

```bash
recoup content templates
recoup content templates --json
```

### Validate artist

Check that an artist has the required assets (face-guide, songs, context files) before creating content. See [`POST /api/content/validate`](/api-reference/content/validate).

```bash
recoup content validate --artist <artistAccountId>
recoup content validate --artist <artistAccountId> --json
```

| Flag | Required | Description |
|------|----------|-------------|
| `--artist <id>` | Yes | Artist account ID |

### Estimate cost

Preview the estimated cost and duration for a content run without starting it. See [`POST /api/content/estimate`](/api-reference/content/estimate).

```bash
recoup content estimate --artist <artistAccountId>
recoup content estimate --artist <artistAccountId> --template <name> --json
```

| 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 with [`recoup tasks status`](/cli#tasks). See [`POST /api/content`](/api-reference/content/create).

```bash
recoup content create --artist <artistAccountId>
recoup content create --artist <artistAccountId> --template <name> --lipsync --upscale
recoup content create --artist <artistAccountId> --json
```

| 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 |
2 changes: 1 addition & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"index",
"quickstart",
"mcp",
"sdk",
"cli",
"api-reference/sandboxes/create"
]
}
Expand Down