Clips

Auto-generate zooms from mouse activity

Generates tracking zooms from the mouse clicks in the clip's screen recording — the API twin of the editor's "Generate zooms". Every click opens a zoom window; nearby windows are merged. Requires the clip to contain a screen recording; returns an empty list when it has no usable mouse clicks.

post/v1/videos/{id}/clips/{clipId}/zooms/auto

Request

  • Base URL: https://api.tella.com
  • URL: https://api.tella.com/v1/videos/{id}/clips/{clipId}/zooms/auto
  • Auth: HTTP bearer

Path parameters

idstring required

Video identifier

Example:vid_abc123def456
clipIdstring required

Clip identifier

Example:cl_xyz789ghi012

Request body

intensity'slow' | 'medium' | 'fast'

How aggressively to zoom. slow opens fewer, longer windows; fast opens shorter, tighter ones at a higher scale. Defaults to medium.

replaceExistingboolean

Defaults to true: the clip's existing tracking zooms are REMOVED before the generated ones are added, so repeated calls regenerate instead of stacking. Pass false to keep existing tracking zooms. Manual zooms are never touched.

scalenumber

Override the magnification factor (1 = no zoom, 3.5 = max). Defaults to the intensity preset's scale (1.5 for slow/medium, 2 for fast).

Example request

{
  "intensity": "medium",
  "replaceExisting": true,
  "scale": 1.5
}

Response

OK

Example response

{
  "zooms": [
    {
      "durationMs": 2000,
      "focusPoint": {
        "xPct": 50,
        "yPct": 50
      },
      "id": "ef_abc123",
      "introTransition": "smooth",
      "outroTransition": "smooth",
      "scale": 2,
      "startTimeMs": 1000,
      "type": "manualZoom"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.