Film kit command
graphics.setResponsiveTime
Responsive Design - Time
Sets a graphic clip's protected intro and outro (`introFrames`/`outroFrames` or seconds) that keep their timing when the clip is trimmed.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- yes
- Acts on
clip(one id), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
clip | integer | no | |
intro | integer | no | the intro duration, in ticks (one spelling of it) |
introFrames | integer | no | |
introSeconds | number | no | the intro duration, in seconds (one spelling of it) |
outro | integer | no | the outro duration, in ticks (one spelling of it) |
outroFrames | integer | no | or introSeconds / outroSeconds, or ticks as intro / outro |
outroSeconds | number | no | the outro duration, in seconds (one spelling of it) |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "graphics.setResponsiveTime" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: clip, intro, introFrames, introSeconds, outro, outroFrames, outroSeconds. 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": {
"clip": {
"type": "integer",
"x-khp-types": [
"Clip"
]
},
"intro": {
"description": "the intro duration, in ticks (one spelling of it)",
"type": "integer"
},
"introFrames": {
"type": "integer"
},
"introSeconds": {
"description": "the intro duration, in seconds (one spelling of it)",
"type": "number"
},
"outro": {
"description": "the outro duration, in ticks (one spelling of it)",
"type": "integer"
},
"outroFrames": {
"description": "or introSeconds / outroSeconds, or ticks as intro / outro",
"type": "integer"
},
"outroSeconds": {
"description": "the outro duration, in seconds (one spelling of it)",
"type": "number"
}
},
"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.