---
title: "item.newOfflineFile: Offline File — Film kit command — Kition"
description: "Creates an offline placeholder item with name, file and tape names, video/audio format, timecode and duration, to relink later."
canonical: "https://developer.kition.ai/docs/kits/film/commands/item.newOfflineFile"
---

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

# item.newOfflineFile

**Offline File.** Creates an offline placeholder item with name, file and tape names, video/audio format, timecode and duration, to relink later.

- 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 |
| --- | --- | --- | --- |
| `audio` | `boolean` | no |  |
| `channels` | `integer` | no |  |
| `description` | `string` | no |  |
| `fileName` | `string` | no |  |
| `fps` | `number` | no |  |
| `frame` | `integer` | no | the time, as a frame of the sequence (one spelling of it) |
| `height` | `integer` | no |  |
| `name` | `string` | no |  |
| `sampleRate` | `integer` | no |  |
| `seconds` | `number` | no |  |
| `tapeName` | `string` | no |  |
| `time` | `integer` | no | the time, in ticks (one spelling of it) |
| `timecode` | `string` | no | like HH:MM:SS:FF |
| `video` | `boolean` | no |  |
| `width` | `integer` | no |  |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `audio`, `channels`, `description`, `fileName`, `fps`, `frame`, `height`, `name`, `sampleRate`, `seconds`, `tapeName`, `time`, `timecode`, `video`, `width`. 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": {
    "audio": {
      "default": true,
      "type": "boolean"
    },
    "channels": {
      "default": 2,
      "type": "integer"
    },
    "description": {
      "type": "string"
    },
    "fileName": {
      "type": "string"
    },
    "fps": {
      "type": "number"
    },
    "frame": {
      "description": "the time, as a frame of the sequence (one spelling of it)",
      "type": "integer"
    },
    "height": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "sampleRate": {
      "default": 48000,
      "type": "integer"
    },
    "seconds": {
      "default": 10,
      "type": "number"
    },
    "tapeName": {
      "type": "string"
    },
    "time": {
      "description": "the time, in ticks (one spelling of it)",
      "type": "integer"
    },
    "timecode": {
      "description": "like HH:MM:SS:FF",
      "type": "string"
    },
    "video": {
      "default": true,
      "type": "boolean"
    },
    "width": {
      "type": "integer"
    }
  },
  "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).
