Clips

Add a zoom to a clip

Adds a zoom to the footage in the clip's Screen slot at startTimeMs — the screen recording, or b-roll media a layout puts there (the camera is unaffected). Use manualZoom with a focusPoint, or trackingZoom to follow the cursor.

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

Request

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

Path parameters

idstring required

Video identifier

Example:vid_abc123def456
clipIdstring required

Clip identifier

Example:cl_xyz789ghi012

Request body

durationMsinteger required
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 required

Magnification factor (1 = no zoom, 3.5 = max). Required — a zoom without a scale cannot be rendered.

startTimeMsinteger required

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

type'manualZoom' | 'trackingZoom' required

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

Example request

{
  "durationMs": 2000,
  "focusPoint": {
    "xPct": 50,
    "yPct": 50
  },
  "introTransition": "smooth",
  "outroTransition": "smooth",
  "scale": 2,
  "startTimeMs": 1000,
  "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.