---
title: "sequence.simplify: Simplify Sequence — Film kit command — Kition"
description: "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."
canonical: "https://developer.kition.ai/docs/kits/film/commands/sequence.simplify"
---

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

# 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); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `closeGaps` | `boolean` | no |  |
| `keep` | `"both" \| "video" \| "audio"` | no |  |
| `moveClipsDown` | `boolean` | no |  |
| `name` | `string` | no |  |
| `removeAudioEffects` | `boolean` | no |  |
| `removeDisabled` | `boolean` | no |  |
| `removeEmptyTracks` | `boolean` | no |  |
| `removeText` | `boolean` | no |  |
| `removeVideoEffects` | `boolean` | no |  |

## 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/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
