Film kit command

effect.list

List Effects

Lists available effects and transitions (filter by `kind` Video, Audio, VideoTransition, AudioTransition, `folder`, or one `effect` by id or name, the exact id first) with ids; `detail` (implied by `effect`) adds `paramInfo`: each parameter's id, type, default, min / max / unit, choice `options`, and `accepts` (the values it takes, e.g. booleans for an amount, left/right/up/down for a direction). Read to find effect ids and transition `params`.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

Parameters of effect.list
NameTypeRequiredDescription
detailbooleanno
effect"push" | "Push"no
folderstringnolike Video Transitions/Wipe
kind"Video" | "Audio" | "VideoTransition" | "AudioTransition"no

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: detail, effect, folder, kind. film_run answers the step’s result in completed[i].result.

Result

Result JSON Schema
json
{
  "items": {
    "additionalProperties": true,
    "properties": {
      "badges": {
        "additionalProperties": true,
        "properties": {
          "accelerated": {
            "type": "boolean"
          },
          "float32": {
            "type": "boolean"
          },
          "yuv": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "category": {
        "items": {},
        "type": "array"
      },
      "folder": {},
      "id": {
        "type": "string"
      },
      "kind": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "params": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "path": {
        "type": "string"
      }
    },
    "type": "object"
  },
  "type": "array"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "type": "boolean"
    },
    "effect": {
      "enum": [
        "push",
        "Push"
      ],
      "type": "string"
    },
    "folder": {
      "description": "like Video Transitions/Wipe",
      "type": "string"
    },
    "kind": {
      "enum": [
        "Video",
        "Audio",
        "VideoTransition",
        "AudioTransition"
      ],
      "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.