---
title: "clip.synchronize: Synchronize — Film kit command — Kition"
description: "Aligns the selected timeline clips to a `reference` clip by in, out, timecode, a named clip `marker` or audio waveform, plus `offset` frames."
canonical: "https://developer.kition.ai/docs/kits/film/commands/clip.synchronize"
---

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

# clip.synchronize

**Synchronize.** Aligns the selected timeline clips to a `reference` clip by in, out, timecode, a named clip `marker` or audio waveform, plus `offset` frames.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `clips` | `integer[]` | no |  |
| `ignoreHours` | `boolean` | no |  |
| `marker` | `string` | no |  |
| `method` | `"in" \| "out" \| "timecode" \| "marker" \| "audio"` | no |  |
| `offset` | `integer` | no | frames |
| `reference` | `integer` | no | clip? |
| `track` | `"V1" \| "A1"` | no |  |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `clips`, `ignoreHours`, `marker`, `method`, `offset`, `reference`, `track`. 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": {
    "clips": {
      "items": {
        "description": "an id",
        "type": "integer"
      },
      "type": "array",
      "x-khp-types": [
        "Clip"
      ]
    },
    "ignoreHours": {
      "type": "boolean"
    },
    "marker": {
      "type": "string"
    },
    "method": {
      "enum": [
        "in",
        "out",
        "timecode",
        "marker",
        "audio"
      ],
      "type": "string"
    },
    "offset": {
      "description": "frames",
      "type": "integer"
    },
    "reference": {
      "description": "clip?",
      "type": "integer",
      "x-khp-types": [
        "Clip"
      ]
    },
    "track": {
      "enum": [
        "V1",
        "A1"
      ],
      "type": "string"
    }
  },
  "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).
