Film kit command

mask.list

List Masks

Lists the masks of `clip` (or every clip with masks) evaluated at the playhead or `time`: effect, index, shape, path points in frame pixels (where the clip's Motion shows them), feather, opacity, mode.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no
Acts on
clip (one id), which a run step’s on fills

Parameters

Parameters of mask.list
NameTypeRequiredDescription
clipintegerno
timeintegernoticks (254016000000 per second)

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "mask.list" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: clip, time. film_run answers the step’s result in completed[i].result.

Result

Result of mask.list
NameTypeRequiredDescription
masksany[]no
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "masks": {
      "items": {},
      "type": "array"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "clip": {
      "type": "integer",
      "x-khp-types": [
        "Clip"
      ]
    },
    "time": {
      "description": "ticks (254016000000 per second)",
      "type": "integer"
    }
  },
  "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.