Skip to content

Commit 0445501

Browse files
sweetmantechclaude
andauthored
docs: add CLI content command documentation (#61)
* docs: add CLI content command documentation Documents the new recoup content command suite: templates, validate, estimate, create, and status subcommands with flags and examples. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs: move run status to recoup tasks, remove from content Run status is a general tasks concept, not content-specific. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat: rename SDK page to CLI, add content commands after tasks section - Rename sdk.mdx → cli.mdx with /cli route - Update docs.json navigation reference - Re-add content section (templates, validate, estimate, create) after tasks Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat: add API reference links to content CLI commands Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: use artist_account_id instead of artistSlug in content CLI docs Aligns CLI docs with the API reference which uses artist_account_id. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: link 'recoup tasks status' to tasks section in create content docs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0c74a3f commit 0445501

2 files changed

Lines changed: 74 additions & 1 deletion

File tree

sdk.mdx renamed to cli.mdx

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,76 @@ recoup sandboxes create
107107
recoup sandboxes create --command "ls -la"
108108
recoup sandboxes list --json
109109
```
110+
111+
## tasks
112+
113+
Check the status of background task runs. See [`GET /api/tasks/runs`](/api-reference/tasks/runs).
114+
115+
```bash
116+
recoup tasks status --run <runId>
117+
recoup tasks status --run <runId> --json
118+
```
119+
120+
| Flag | Required | Description |
121+
|------|----------|-------------|
122+
| `--run <id>` | Yes | Trigger.dev run ID |
123+
124+
## content
125+
126+
Content-creation pipeline commands. Generate AI-powered social videos for artists.
127+
128+
### List templates
129+
130+
List available content templates. See [`GET /api/content/templates`](/api-reference/content/templates).
131+
132+
```bash
133+
recoup content templates
134+
recoup content templates --json
135+
```
136+
137+
### Validate artist
138+
139+
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).
140+
141+
```bash
142+
recoup content validate --artist <artistAccountId>
143+
recoup content validate --artist <artistAccountId> --json
144+
```
145+
146+
| Flag | Required | Description |
147+
|------|----------|-------------|
148+
| `--artist <id>` | Yes | Artist account ID |
149+
150+
### Estimate cost
151+
152+
Preview the estimated cost and duration for a content run without starting it. See [`POST /api/content/estimate`](/api-reference/content/estimate).
153+
154+
```bash
155+
recoup content estimate --artist <artistAccountId>
156+
recoup content estimate --artist <artistAccountId> --template <name> --json
157+
```
158+
159+
| Flag | Required | Description |
160+
|------|----------|-------------|
161+
| `--artist <id>` | Yes | Artist account ID |
162+
| `--template <name>` | No | Template name (default: random) |
163+
| `--lipsync` | No | Enable lipsync mode |
164+
| `--upscale` | No | Enable upscaling |
165+
166+
### Create content
167+
168+
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).
169+
170+
```bash
171+
recoup content create --artist <artistAccountId>
172+
recoup content create --artist <artistAccountId> --template <name> --lipsync --upscale
173+
recoup content create --artist <artistAccountId> --json
174+
```
175+
176+
| Flag | Required | Description |
177+
|------|----------|-------------|
178+
| `--artist <id>` | Yes | Artist account ID |
179+
| `--template <name>` | No | Template name (default: random) |
180+
| `--lipsync` | No | Enable lipsync mode |
181+
| `--upscale` | No | Enable upscaling |
182+
| `--caption-length <n>` | No | Max caption length in characters |

docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"index",
2020
"quickstart",
2121
"mcp",
22-
"sdk",
22+
"cli",
2323
"api-reference/sandboxes/create"
2424
]
2525
}

0 commit comments

Comments
 (0)