Film kit command
clip.remix
Remix
Remixes an audio `clip` (default selected) to a target length (`duration` ticks, `seconds`, `frame` or `timecode`) by cutting and crossfading its musical segments, enabling remix first if needed. Answers the plan.
- 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 | |
duration | integer | no | ticks (254016000000 per second) |
frame | integer | no | |
seconds | number | no | |
segments | integer | no | 0 to 100 |
time | integer | no | the time, in ticks (one spelling of it) |
timecode | string | no | |
variations | integer | no | 0 to 100 |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "clip.remix" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: clip, duration, frame, seconds, segments, time, timecode, variations. 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"
]
},
"duration": {
"description": "ticks (254016000000 per second)",
"type": "integer"
},
"frame": {
"type": "integer"
},
"seconds": {
"type": "number"
},
"segments": {
"description": "0 to 100",
"type": "integer"
},
"time": {
"description": "the time, in ticks (one spelling of it)",
"type": "integer"
},
"timecode": {
"type": "string"
},
"variations": {
"description": "0 to 100",
"type": "integer"
}
},
"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.