Clips
Re-make one clip
Trim it (start and end in seconds of the source video), change the hook (empty removes it), the captions or their look, or let a model add effects. Under a minute in the background; GET /clips/{job_id} shows the new media_id.
https://traceeai.com/api/v1/clips/{job_id}/clips/{clip_id}CLI:tracee clips edit·MCP:mediaaction clip_edit
Authorizations
AuthorizationstringheaderrequiredBearer <key>: a personal key (tracee loginor Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.
Headers
Tracee-WorkspacestringFor a personal key or OAuth token that reaches several workspaces: the workspace id to act on. Workspace keys don't need it.
uuid
Path parameters
job_idstringrequiredThe clip's job
uuid
clip_idstringrequiredThe clip, from clip_status. From GET /api/v1/clips/{job_id} job_id=<job_id>
uuid
Body
startnumberNew start, seconds into the source video
endnumberNew end, seconds into the source video
hookstringThe line over the first 5 seconds; empty string removes it
up to 120 characters
captionsbooleanBurn captions in; default true
caption_stylestringThe caption look
Available options:
defaulthormozipilllimeonewordcleanglowbeasteffectsstringAuto lets a model place zooms, colour pops and flashes; none removes them
Available options:
autonone
Response
- 200Already done.
The action's result, exactly as the MCP tool returns it to agents. A
nextfield, when present, names the endpoint that follows up. - 202Started or still running: follow it with the id in the answer.
The action's result, exactly as the MCP tool returns it to agents. A
nextfield, when present, names the endpoint that follows up.