create_shot
Create a new shot in an edit. Optionally provide a prompt to auto-create a linked MediaDocV2 for image generation. When videoPrompt is omitted, it falls back to the visual image prompt only. Dialogue is never appended automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Position in shot order | |
| editId | Yes | The edit ID | |
| prompt | No | Image prompt for AI generation (visual description ONLY — do NOT include dialogue text). Will create a linked MediaDocV2. | |
| volume | No | Shot video audio volume | |
| clipEnd | No | Source clip trim end in seconds; defaults to duration | |
| sceneId | Yes | The scene ID this shot belongs to | |
| dialogue | No | Visible on-screen character speech for this shot. Stored separately for intentional lip-sync/TTS use. Do not use for off-screen narration or captions. | |
| duration | No | Editorial shot duration in seconds. Five seconds is only a compatibility fallback. For planned edits, choose and pass the duration that fits this shot's narration or story beat. | |
| clipStart | No | Source clip trim start in seconds | |
| mediaRefs | No | Fine-grained shot media refs for image/video/start/end/reference frame tabs | |
| speedRamp | No | Variable playback speed curve | |
| startTime | No | Timeline start time in seconds; usually derived by the editor | |
| rawDuration | No | Full raw source duration in seconds | |
| videoPrompt | No | Video/motion prompt for camera movement and action. Include speech only when visible on-screen character lip-sync is intentionally required. Never include off-screen narration. | |
| workspaceId | Yes | The workspace ID | |
| imageMediaId | No | Existing image media reference | |
| taggedAssets | No | Asset IDs to tag in this shot | |
| videoMediaId | No | Existing video media reference | |
| playbackSpeed | No | Shot playback speed multiplier | |
| hideStartFrame | No | Hide/remove the Start Frame tab | |
| linkEndToNextStart | No | Auto-use next shot start frame as this shot end frame | |
| linkStartToPrevEnd | No | Auto-use previous shot end frame as this shot start frame |