Film kit command
graphics.template.list
List Graphics Templates
Lists built-in and user graphics templates, filtered by `query`, `category` or `source`.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
category | string | no | |
query | string | no | search names, categories, descriptions, tags |
source | "builtin" | "user" | no |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "graphics.template.list" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: category, query, source. film_run answers the step’s result in completed[i].result.
Result
Result JSON Schema
json
{
"items": {
"additionalProperties": true,
"properties": {
"author": {
"type": "string"
},
"canvas": {
"items": {
"type": "integer"
},
"type": "array"
},
"category": {
"type": "string"
},
"controls": {
"items": {
"additionalProperties": true,
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"layer": {
"type": "integer"
},
"max": {},
"min": {},
"name": {
"type": "string"
},
"param": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
"duration": {
"type": "integer"
},
"fonts": {
"items": {},
"type": "array"
},
"id": {
"type": "string"
},
"layers": {
"type": "integer"
},
"license": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {},
"roll": {
"type": "string"
},
"seconds": {
"type": "number"
},
"source": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"category": {
"type": "string"
},
"query": {
"description": "search names, categories, descriptions, tags",
"type": "string"
},
"source": {
"enum": [
"builtin",
"user"
],
"type": "string"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.