Clips

Update a blur

Update a blur mask's timing, position, or size. Only the fields you send are changed.

patch/v1/videos/{id}/clips/{clipId}/blurs/{maskId}

Request

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

Path parameters

idstring required

Video ID

clipIdstring required

Clip ID

maskIdstring required

Mask ID

Request body

durationMsinteger
intensitynumber

Strength from 0 to 1. Blur: 0 is the standard blur and 1 blurs three times as heavily; the content stays fully hidden at every value (defaults to 0). Highlight: how dark the area outside the highlight goes, 0 = no dimming, 1 = black (defaults to 0.7).

startTimeMsinteger

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

Example request

{
  "dimensions": {
    "heightPct": 50,
    "widthPct": 50
  },
  "intensity": 0.7,
  "point": {
    "xPct": 25,
    "yPct": 25
  }
}

Response

OK

Example response

{
  "mask": {
    "dimensions": {
      "heightPct": 50,
      "widthPct": 50
    },
    "durationMs": 2000,
    "id": "ly_abc123",
    "intensity": 0.7,
    "point": {
      "xPct": 25,
      "yPct": 25
    },
    "startTimeMs": 1000,
    "type": "blur"
  }
}

Changes

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