Film kit command

color.applyMatch

Apply Match

Color-matches `clip` (default selected) to the reference frame at `referenceTime`/frame/timecode in the sequence, writing Color effect corrections; `faceDetection` weights skin tones.

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 color.applyMatch
NameTypeRequiredDescription
clipintegerno
faceDetectionbooleanno
referenceFrameintegernoone of several alternative parameters
referenceSecondsnumbernothe reference time, in seconds (one spelling of it)
referenceTimeintegernoticks (254016000000 per second); one of several alternative parameters
referenceTimecodestringnoone of several alternative parameters

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: clip, faceDetection, referenceFrame, referenceSeconds, referenceTime, referenceTimecode. 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"
      ]
    },
    "faceDetection": {
      "default": true,
      "type": "boolean"
    },
    "referenceFrame": {
      "description": "one of several alternative parameters",
      "type": "integer"
    },
    "referenceSeconds": {
      "description": "the reference time, in seconds (one spelling of it)",
      "type": "number"
    },
    "referenceTime": {
      "description": "ticks (254016000000 per second); one of several alternative parameters",
      "type": "integer"
    },
    "referenceTimecode": {
      "description": "one of several alternative parameters",
      "type": "string"
    }
  },
  "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.