---
title: "sequence.applyVideoTransition: Apply Video Transition — Film kit command — Kition"
description: "Applies a video transition (`effect` e.g. cross_dissolve, `frames` long, default from preferences) at the edit nearest the playhead on targeted tracks, or at `clip`'s `edge`; between two clips `align` puts it centred on the cut (default), starting or ending there; `params` and `reverse` set it up. Its length is kept inside the clips it joins."
canonical: "https://developer.kition.ai/docs/kits/film/commands/sequence.applyVideoTransition"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/film/commands/sequence.applyVideoTransition](https://developer.kition.ai/docs/kits/film/commands/sequence.applyVideoTransition)

# sequence.applyVideoTransition

**Apply Video Transition.** Applies a video transition (`effect` e.g. cross_dissolve, `frames` long, default from preferences) at the edit nearest the playhead on targeted tracks, or at `clip`'s `edge`; between two clips `align` puts it centred on the cut (default), starting or ending there; `params` and `reverse` set it up. Its length is kept inside the clips it joins.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes
- Acts on: `clip` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `align` | `"center" \| "start" \| "end"` | no |  |
| `clip` | `integer` | no |  |
| `edge` | `"in" \| "out"` | no |  |
| `effect` | `string` | no | for example cross_dissolve, Cross Dissolve |
| `frames` | `integer` | no |  |
| `params` | `object` | no |  |
| `reverse` | `boolean` | no |  |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `align`, `clip`, `edge`, `effect`, `frames`, `params`, `reverse`. 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": {
    "align": {
      "enum": [
        "center",
        "start",
        "end"
      ],
      "type": "string"
    },
    "clip": {
      "type": "integer",
      "x-khp-types": [
        "Clip"
      ]
    },
    "edge": {
      "enum": [
        "in",
        "out"
      ],
      "type": "string"
    },
    "effect": {
      "description": "for example cross_dissolve, Cross Dissolve",
      "type": "string"
    },
    "frames": {
      "type": "integer"
    },
    "params": {
      "additionalProperties": true,
      "properties": {
        "param": {}
      },
      "type": "object"
    },
    "reverse": {
      "type": "boolean"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
