Film kit command

sequence.simplify

Simplify Sequence

Creates a simplified copy named `name` of the active sequence: removes disabled clips, empty tracks, effects or text and can close gaps or move clips down; `keep` both, video or audio.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of sequence.simplify
NameTypeRequiredDescription
closeGapsbooleanno
keep"both" | "video" | "audio"no
moveClipsDownbooleanno
namestringno
removeAudioEffectsbooleanno
removeDisabledbooleanno
removeEmptyTracksbooleanno
removeTextbooleanno
removeVideoEffectsbooleanno

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: closeGaps, keep, moveClipsDown, name, removeAudioEffects, removeDisabled, removeEmptyTracks, removeText, removeVideoEffects. 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": {
    "closeGaps": {
      "default": false,
      "type": "boolean"
    },
    "keep": {
      "enum": [
        "both",
        "video",
        "audio"
      ],
      "type": "string"
    },
    "moveClipsDown": {
      "default": false,
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "removeAudioEffects": {
      "default": false,
      "type": "boolean"
    },
    "removeDisabled": {
      "default": true,
      "type": "boolean"
    },
    "removeEmptyTracks": {
      "default": true,
      "type": "boolean"
    },
    "removeText": {
      "default": false,
      "type": "boolean"
    },
    "removeVideoEffects": {
      "default": false,
      "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.