Clips

Update a zoom

Update a zoom's type, timing, focus point, or scale. Only the fields you send are changed.

patch/v1/videos/{id}/clips/{clipId}/zooms/{zoomId}

Request

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

Path parameters

idstring required

Video ID

clipIdstring required

Clip ID

zoomIdstring required

Zoom ID

Request body

durationMsinteger
introTransition'smooth' | 'hard_cut'

How one thing gives way to the next: smooth eases across the change, hard_cut swaps instantly.

outroTransition'smooth' | 'hard_cut'

How one thing gives way to the next: smooth eases across the change, hard_cut swaps instantly.

scalenumber

Magnification factor (1 = no zoom, 3.5 = max).

startTimeMsinteger

Start time in ms on the clip's playback timeline (cuts applied)

type'manualZoom' | 'trackingZoom'

manualZoom zooms into a fixed focusPoint on the screen. trackingZoom automatically follows the cursor in the screen recording.

Example request

{
  "focusPoint": {
    "xPct": 50,
    "yPct": 50
  },
  "introTransition": "smooth",
  "outroTransition": "smooth",
  "scale": 2,
  "type": "manualZoom"
}

Response

OK

Example response

{
  "zoom": {
    "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.