Rescales every time quantity q of the project to round(q * new / old), then repairs what rounding can break: durations that became 0, the source range, overlaps, keyframes, caption words, fades and transitions. effective.adjusted lists every item changed by a repair. A rate is 1 to 120 fps with a denominator of 1 or 1001.
Arguments#
| Argument | Type | Required | Notes |
|---|---|---|---|
fps | any | yes | "30", "30000/1001" or {"num": 30000, "den": 1001}; den is 1 or 1001, 1 to 120 fps. |
Errors#
Scope#
Scope edit. The scope is the one an API key needs in network mode. Run stuarty command:help settings.set_fps for the same description from the binary, or call the command_help tool.
Next steps#
As an MCP call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "edit",
"arguments": {
"project_id": "prj_7k2m9x4q1b",
"base_revision": 12,
"operations": [
{
"op": "settings.set_fps",
"args": {
"fps": "24"
}
}
]
}
}
}As a batch file for the CLI
[
{
"op": "settings.set_fps",
"args": {
"fps": "24"
}
}
]stuarty edit --project prj_7k2m9x4q1b --ops batch.json --jsonOver HTTP
curl -X POST "http://127.0.0.1:7878/api/v1/projects/prj_7k2m9x4q1b/edit" \
-H "Authorization: Bearer $STUARTY_KEY" \
-H "Content-Type: application/json" \
-d '{
"base_revision": 12,
"operations": [
{
"op": "settings.set_fps",
"args": {
"fps": "24"
}
}
]
}'The ids in the example are illustrative: read the real ones with project_get.