Film kit command

clip.automateToSequence

Automate to Sequence

Places the selected project `items` in the active sequence in `ordering` (sort or selection), sequentially or at unnumbered markers, by insert or overwrite, with optional default transitions of `overlapFrames`.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes
Acts on
items (a list of ids), which a run step’s on fills

Parameters

Parameters of clip.automateToSequence
NameTypeRequiredDescription
audioTransitionbooleanno
ignoreAudiobooleanno
ignoreVideobooleanno
itemsinteger[]no
method"insert" | "overwrite"no
ordering"sort" | "selection"no
overlapFramesintegerno
placement"sequentially" | "unnumberedMarkers"no
stillFramesintegerno
videoTransitionbooleanno

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: audioTransition, ignoreAudio, ignoreVideo, items, method, ordering, overlapFrames, placement, stillFrames, videoTransition. 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": {
    "audioTransition": {
      "default": true,
      "type": "boolean"
    },
    "ignoreAudio": {
      "default": false,
      "type": "boolean"
    },
    "ignoreVideo": {
      "default": false,
      "type": "boolean"
    },
    "items": {
      "items": {
        "description": "an id",
        "type": "integer"
      },
      "type": "array",
      "x-khp-types": [
        "Item"
      ]
    },
    "method": {
      "enum": [
        "insert",
        "overwrite"
      ],
      "type": "string"
    },
    "ordering": {
      "enum": [
        "sort",
        "selection"
      ],
      "type": "string"
    },
    "overlapFrames": {
      "default": 30,
      "type": "integer"
    },
    "placement": {
      "enum": [
        "sequentially",
        "unnumberedMarkers"
      ],
      "type": "string"
    },
    "stillFrames": {
      "type": "integer"
    },
    "videoTransition": {
      "default": true,
      "type": "boolean"
    }
  },
  "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.