import_video
Decode workspace videos into animated Krita layers so each frame can be painted, filtered, or adjusted; optionally import into the current document with fps, scale, and frame limits.
Instructions
Decode a video (mp4/mov/webm/mkv/avi/gif...) from the workspace into an animated layer so every frame can be painted, filtered or adjusted. Opens a new document sized to the video unless into_current. start/duration in seconds; fps resamples; width scales (keeps aspect). Max 1000 frames.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "import_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| name | No | ||
| path | Yes | ||
| start | No | ||
| width | No | ||
| duration | No | ||
| max_frames | No | ||
| into_current | No |