---
title: "renderQueue.setOutputModule: Output Module Settings — Motion kit command — Kition"
description: "Changes a Render Queue item's output module: `format` (h264, hevc, av1, prores, webm, image sequences, gif, audio), channels and alpha, quality or bitrate, codec profile, crop, resize, audio settings and post-render action, or a `template`."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/renderQueue.setOutputModule"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/renderQueue.setOutputModule](https://developer.kition.ai/docs/kits/motion/commands/renderQueue.setOutputModule)

# renderQueue.setOutputModule

**Output Module Settings.** Changes a Render Queue item's output module: `format` (h264, hevc, av1, prores, webm, image sequences, gif, audio), channels and alpha, quality or bitrate, codec profile, crop, resize, audio settings and post-render action, or a `template`.

- Kit: Motion 0.1.0 (.kmotion); reference: [Motion kit commands](https://developer.kition.ai/docs/kits/motion.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `audio` | `"auto" \| "on" \| "off"` | no |  |
| `audioBitrate` | `number` | no | Opus kbps |
| `audioChannels` | `"mono" \| "stereo"` | no |  |
| `audioFormat` | `16 \| 24 \| 32` | no |  |
| `bitrate` | `number` | no | kbps |
| `channels` | `"rgb" \| "rgba" \| "alpha"` | no |  |
| `color` | `"straight" \| "premultiplied"` | no |  |
| `crop` | `boolean` | no | bool\|{useRoi? |
| `cropBottom` | `any` | no |  |
| `cropLeft` | `any` | no |  |
| `cropRight` | `any` | no |  |
| `cropTop` | `any` | no |  |
| `format` | `"h264" \| "hevc" \| "av1" \| "prores" \| "webm" \| "png" \| "jpeg" \| "tiff" \| "exr" \| "gif" \| "wav" \| "aiff"` | no |  |
| `includeProjectLink` | `boolean` | no |  |
| `index` | `integer` | no | a position counted from 0 (the first is 0); one of several alternative parameters |
| `item` | `integer` | no | one of several alternative parameters |
| `keyframeInterval` | `integer` | no | frames; 0 = auto |
| `level` | `number` | no | auto\|4.1 |
| `loop` | `boolean` | no |  |
| `module` | `integer` | no | 1 = first |
| `opusApplication` | `"audio" \| "voice"` | no |  |
| `output` | `string` | no |  |
| `postRenderAction` | `"none" \| "import" \| "importAndReplace" \| "setProxy"` | no |  |
| `profile` | `"main" \| "main10"` | no | HEVC/AV1 |
| `proresProfile` | `string` | no | proxy\|lt\|standard\|hq\|4444\|4444xq |
| `quality` | `integer` | no | 1-100 |
| `rateControl` | `"bitrate" \| "quality"` | no |  |
| `resize` | `object` | no | bool\|{preset?, width?, height?, lockAspect?, quality?: low\|high} |
| `resizeHeight` | `any` | no |  |
| `resizeWidth` | `any` | no |  |
| `sampleRate` | `integer` | no |  |
| `template` | `string` | no |  |
| `webmBitrate` | `boolean` | no |  |
| `webmCodec` | `"vp9" \| "av1"` | no |  |

## Call through motion_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `audio`, `audioBitrate`, `audioChannels`, `audioFormat`, `bitrate`, `channels`, `color`, `crop`, `cropBottom`, `cropLeft`, `cropRight`, `cropTop`, `format`, `includeProjectLink`, `index`, `item`, `keyframeInterval`, `level`, `loop`, `module`, `opusApplication`, `output`, `postRenderAction`, `profile`, `proresProfile`, `quality`, `rateControl`, `resize`, `resizeHeight`, `resizeWidth`, `sampleRate`, `template`, `webmBitrate`, `webmCodec`. motion_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": {
      "enum": [
        "auto",
        "on",
        "off"
      ],
      "type": "string"
    },
    "audioBitrate": {
      "description": "Opus kbps",
      "type": "number"
    },
    "audioChannels": {
      "enum": [
        "mono",
        "stereo"
      ],
      "type": "string"
    },
    "audioFormat": {
      "enum": [
        16,
        24,
        32
      ],
      "type": "integer"
    },
    "bitrate": {
      "description": "kbps",
      "type": "number"
    },
    "channels": {
      "enum": [
        "rgb",
        "rgba",
        "alpha"
      ],
      "type": "string"
    },
    "color": {
      "enum": [
        "straight",
        "premultiplied"
      ],
      "type": "string"
    },
    "crop": {
      "description": "bool|{useRoi?",
      "type": "boolean"
    },
    "cropBottom": {},
    "cropLeft": {},
    "cropRight": {},
    "cropTop": {},
    "format": {
      "enum": [
        "h264",
        "hevc",
        "av1",
        "prores",
        "webm",
        "png",
        "jpeg",
        "tiff",
        "exr",
        "gif",
        "wav",
        "aiff"
      ],
      "type": "string"
    },
    "includeProjectLink": {
      "type": "boolean"
    },
    "index": {
      "description": "a position counted from 0 (the first is 0); one of several alternative parameters",
      "type": "integer"
    },
    "item": {
      "description": "one of several alternative parameters",
      "type": "integer"
    },
    "keyframeInterval": {
      "description": "frames; 0 = auto",
      "type": "integer"
    },
    "level": {
      "description": "auto|4.1",
      "type": "number"
    },
    "loop": {
      "type": "boolean"
    },
    "module": {
      "description": "1 = first",
      "type": "integer"
    },
    "opusApplication": {
      "enum": [
        "audio",
        "voice"
      ],
      "type": "string"
    },
    "output": {
      "type": "string"
    },
    "postRenderAction": {
      "enum": [
        "none",
        "import",
        "importAndReplace",
        "setProxy"
      ],
      "type": "string"
    },
    "profile": {
      "description": "HEVC/AV1",
      "enum": [
        "main",
        "main10"
      ],
      "type": "string"
    },
    "proresProfile": {
      "description": "proxy|lt|standard|hq|4444|4444xq",
      "type": "string"
    },
    "quality": {
      "description": "1-100",
      "type": "integer"
    },
    "rateControl": {
      "enum": [
        "bitrate",
        "quality"
      ],
      "type": "string"
    },
    "resize": {
      "additionalProperties": true,
      "description": "bool|{preset?, width?, height?, lockAspect?, quality?: low|high}",
      "type": "object"
    },
    "resizeHeight": {},
    "resizeWidth": {},
    "sampleRate": {
      "type": "integer"
    },
    "template": {
      "type": "string"
    },
    "webmBitrate": {
      "type": "boolean"
    },
    "webmCodec": {
      "enum": [
        "vp9",
        "av1"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
