set_captions
FreeRuns at once; you can set it to Ask first
Same action in the terminal: capturemann ai captions set
Replace a recording's caption lines with edited ones (with language, the lines of that translation.
- Tier: Free, changes something: runs at once; the user can set it to Ask first.
- Read-only: no
- CLI:
capturemann ai captions set - Spec: AI-1
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
lines | array of object {start, end, text} | yes | (max items 5000) | |
language | string | no | A translation's language code (vi, pt-br) made by translate_captions; omit for the original captions. | |
request_id | string | no | Idempotency key; a repeat within 24 h returns the first result. (min length 1, max length 256) | |
capture_id | string | yes | Capture id, e.g. from capture_screenshot or list_library. (min length 1) |
Returns: capture_id, revision, action, by, lines, can_undo, can_redo.
Errors: user_declined, not_found (plus the common errors above).
JSON
{"name": "set_captions", "arguments": {"capture_id": "rec_06GYEVMCKZSRHR46", "lines": [{"start": 1.5, "end": 3, "text": "Welcome to the demo."}]}}