---
title: "effect.deleteKeyframe: Delete Keyframe — Film kit command — Kition"
description: "Deletes the keyframe of an effect parameter at `mediaTime` (ticks of the clip's media time, as sequence.inspect lists each keyframe's `mediaTime`). `mask` targets a mask's parameter."
canonical: "https://developer.kition.ai/docs/kits/film/commands/effect.deleteKeyframe"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/film/commands/effect.deleteKeyframe](https://developer.kition.ai/docs/kits/film/commands/effect.deleteKeyframe)

# effect.deleteKeyframe

**Delete Keyframe.** Deletes the keyframe of an effect parameter at `mediaTime` (ticks of the clip's media time, as sequence.inspect lists each keyframe's `mediaTime`). `mask` targets a mask's parameter.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes
- Acts on: `clip` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `clip` | `integer` | no |  |
| `effect` | `string` | no | str\|index |
| `inInfluence` | `number` | no | read by the command beside its listed parameters |
| `interpolation` | `string` | no | read by the command beside its listed parameters |
| `mask` | `integer` | no |  |
| `mediaTime` | `integer` | no | ticks (254016000000 per second) |
| `outInfluence` | `number` | no | read by the command beside its listed parameters |
| `param` | `string` | no |  |
| `to` | `integer` | no | read by the command beside its listed parameters |
| `value` | `any` | no | read by the command beside its listed parameters |

## Call through film_run

```text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "effect.deleteKeyframe" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `clip`, `effect`, `inInfluence`, `interpolation`, `mask`, `mediaTime`, `outInfluence`, `param`, `to`, `value`. film_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "clip": {
      "type": "integer",
      "x-khp-types": [
        "Clip"
      ]
    },
    "effect": {
      "description": "str|index",
      "type": "string"
    },
    "inInfluence": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "interpolation": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "mask": {
      "type": "integer"
    },
    "mediaTime": {
      "description": "ticks (254016000000 per second)",
      "type": "integer"
    },
    "outInfluence": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "param": {
      "type": "string"
    },
    "to": {
      "description": "read by the command beside its listed parameters",
      "type": "integer"
    },
    "value": {
      "description": "read by the command beside its listed parameters"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
