Film kit command

multicam.editCameras

Edit Cameras

Renames, shows or hides cameras (`cameras` by 0-based `angle`) of a multi-camera source `sequence`, and sets its `audio` mode: camera1, all or switch.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of multicam.editCameras
NameTypeRequiredDescription
audio"camera1" | "all" | "switch"no
camerasobject[]no[{"angle":0-based,"name":str?,"enabled":bool?}]?
sequenceintegerno

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: audio, cameras, sequence. 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": {
    "audio": {
      "enum": [
        "camera1",
        "all",
        "switch"
      ],
      "type": "string"
    },
    "cameras": {
      "description": "[{\"angle\":0-based,\"name\":str?,\"enabled\":bool?}]?",
      "items": {
        "additionalProperties": true,
        "properties": {
          "angle": {
            "description": "0-based"
          },
          "enabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "sequence": {
      "type": "integer",
      "x-khp-types": [
        "Item"
      ]
    }
  },
  "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.