Motion kit command

renderQueue.templates

Render Templates

Lists the render settings and output module templates with their settings and which ones are the defaults per slot.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
no

Parameters

None.

Call through motion_run

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

The required parameters, with placeholders for their types: not a tested example. motion_run answers the step’s result in completed[i].result.

Result

Result of renderQueue.templates
NameTypeRequiredDescription
defaultsobjectno
outputModulesobject[]no
renderSettingsobject[]no
resizePresetsobject[]no
slotsobject[]no
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "defaults": {
      "additionalProperties": true,
      "properties": {
        "outputModules": {
          "additionalProperties": true,
          "properties": {
            "Movie": {
              "type": "string"
            },
            "MovieProxy": {
              "type": "string"
            },
            "PreRender": {
              "type": "string"
            },
            "Still": {
              "type": "string"
            },
            "StillProxy": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "renderSettings": {
          "additionalProperties": true,
          "properties": {
            "Movie": {
              "type": "string"
            },
            "MovieProxy": {
              "type": "string"
            },
            "PreRender": {
              "type": "string"
            },
            "Still": {
              "type": "string"
            },
            "StillProxy": {
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "outputModules": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "builtin": {
            "type": "boolean"
          },
          "module": {
            "additionalProperties": true,
            "properties": {
              "alpha_mode": {
                "type": "string"
              },
              "audio": {
                "type": "string"
              },
              "audio_channels": {
                "type": "integer"
              },
              "audio_format": {
                "type": "string"
              },
              "audio_sample_rate": {
                "type": "integer"
              },
              "bitrate_kbps": {
                "type": "integer"
              },
              "channels": {
                "type": "string"
              },
              "codec": {},
              "crop": {},
              "format": {
                "type": "string"
              },
              "gif_loop": {
                "type": "boolean"
              },
              "include_project_link": {
                "type": "boolean"
              },
              "keyframe_interval": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "opus_application": {
                "type": "string"
              },
              "opus_bitrate_kbps": {
                "type": "integer"
              },
              "output": {
                "type": "string"
              },
              "prores_profile": {
                "type": "string"
              },
              "quality": {
                "type": "integer"
              },
              "resize": {},
              "webm_bitrate": {
                "type": "boolean"
              },
              "webm_codec": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "renderSettings": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "builtin": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "settings": {
            "additionalProperties": true,
            "properties": {
              "color_depth": {
                "type": "string"
              },
              "effects": {
                "type": "string"
              },
              "field_render": {
                "type": "string"
              },
              "frame_blending": {
                "type": "string"
              },
              "frame_rate": {},
              "guide_layers": {
                "type": "string"
              },
              "motion_blur": {
                "type": "boolean"
              },
              "motion_blur_mode": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "proxy_use": {
                "type": "string"
              },
              "pulldown": {
                "type": "string"
              },
              "quality": {
                "type": "string"
              },
              "resolution": {
                "type": "number"
              },
              "skip_existing": {
                "type": "boolean"
              },
              "solo": {
                "type": "string"
              },
              "storage_overflow": {
                "type": "boolean"
              },
              "time_span": {}
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "resizePresets": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "height": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "width": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "slots": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.