Film kit command

item.newColorMatte

Color Matte

Creates a solid Color Matte item of `color` #rrggbb, `seconds` long.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of item.newColorMatte
NameTypeRequiredDescription
colorstringnolike #rrggbb
heightintegernoread by the command beside its listed parameters
namestringnoread by the command beside its listed parameters
secondsnumberno
widthintegernoread by the command beside its listed parameters

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: color, height, name, seconds, width. 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": {
    "color": {
      "description": "like #rrggbb",
      "type": "string"
    },
    "height": {
      "description": "read by the command beside its listed parameters",
      "type": "integer"
    },
    "name": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "seconds": {
      "type": "number"
    },
    "width": {
      "description": "read by the command beside its listed parameters",
      "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.