Motion kit command

text.presets

Text Animation Presets

Lists the built-in text animation presets (id, name, description) layer.applyTextPreset accepts, the promo presets included.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
no

Parameters

Parameters of text.presets
NameTypeRequiredDescription
descriptionstringnoread by the command beside its listed parameters
idstringnoread by the command beside its listed parameters
namestringnoread by the command beside its listed parameters

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "text.presets" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: description, id, name. motion_run answers the step’s result in completed[i].result.

Result

Result JSON Schema
json
{
  "items": {
    "additionalProperties": true,
    "properties": {
      "description": {
        "type": "string"
      },
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      }
    },
    "type": "object"
  },
  "type": "array"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "description": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "id": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "name": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.