Plan Active Speaker Reframe
plan_active_speaker_reframePlan vertical active-speaker reframes or stacked/split layouts from a word timeline and speaker regions, returning framings, switches, keyframes, and apply routes without changing Premiere.
Instructions
Plan an active-speaker vertical reframe (Motion Scale/Position keyframes that follow whoever is talking) or a static stacked/split layout from a word timeline and static speaker regions. Returns framings, switches, keyframes, and apply routes. Local-only; never changes Premiere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | No | auto (default) picks active_speaker for 3+ speakers or a region wider than 0.6, stacked for exactly 2 speakers. | |
| headroom | No | Fraction of the crop height reserved above the region top; defaults to 0.12. | |
| frame_rate | No | Sequence frame rate used to snap times to frames; defaults to 30. | |
| ease_frames | No | Frames to ease each switch with bezier keyframes; 0 (default) emits hold keyframes (hard cuts). | |
| source_frame | Yes | Source clip frame size in pixels, e.g. 1920x1080 or 3840x2160. | |
| target_frame | No | Target sequence frame size in pixels; defaults to 1080x1920. | |
| word_timeline | Yes | Caller-supplied word-timed transcript for one Premiere source item. Words must be ordered by start time and bound to the transcript revision returned by get_clip_transcript_uxp. Different labeled speakers may overlap; same-speaker words may not, even when another speaker is between them. | |
| speaker_regions | Yes | Normalized (0..1) face/body rectangle of every speaker that appears, measured in the source frame. | |
| min_hold_seconds | No | Never switch faster than this; shorter turns are absorbed. Defaults to 1.5. | |
| expected_cep_target | No | Optional reviewed CEP sequence/clip identity and exact tick ranges. Checked before every generated command; UXP refuses this CEP-only guard. | |
| switch_lead_seconds | No | Switch this long before the speaker starts; defaults to 0.15. | |
| expected_project_path | No | Optional absolute saved-project path. Every generated CEP command refuses before its body when the active project differs or is unsaved. UXP commands refuse this CEP-only guard; local-only tools do not inspect Premiere. Omit to keep existing behavior. | |
| base_video_track_index | No | Video track holding the source clip in the target sequence; defaults to 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. | |
| receipt | No | Versioned common mutation receipt; success never implies rendered verification. | |
| idempotency | No | Present when idempotency_key deduplicated this call: replayed is true when the original outcome was returned instead of running again. |