Film kit command

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)
Changes the document
yes
Acts on
clip (one id), which a run step’s on fills

Parameters

Parameters of effect.deleteKeyframe
NameTypeRequiredDescription
clipintegerno
effectstringnostr|index
inInfluencenumbernoread by the command beside its listed parameters
interpolationstringnoread by the command beside its listed parameters
maskintegerno
mediaTimeintegernoticks (254016000000 per second)
outInfluencenumbernoread by the command beside its listed parameters
paramstringno
tointegernoread by the command beside its listed parameters
valueanynoread 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/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.