Create Scene
create_sceneCreate a scene file in scenes/ and register it in composition.json, with frame duration derived from audio segment timing for narration-driven videos.
Instructions
Create a new scene file in scenes/ and register it in composition.json. For narration-driven videos, set durationFrames from audio segment timing: durationFrames = Math.ceil((segmentEndTime - segmentStartTime) * fps) After creating, remind the user to check the preview.
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": {
"projectPath": "<projectPath>",
"sceneId": "<sceneId>",
"sceneName": "<sceneName>",
"sceneType": "<sceneType>",
"durationFrames": "<durationFrames>"
},
"name": "create_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| props | No | ||
| objects | No | ||
| sceneId | Yes | Unique scene ID, e.g. 'scene-001' | |
| sceneName | Yes | Human-readable name, e.g. 'intro' | |
| sceneType | Yes | ||
| transition | No | ||
| projectPath | Yes | ||
| durationFrames | Yes | Duration in frames. At 30fps: 30=1sec, 90=3sec | |
| audioSegmentIds | No |