Premiere Pro MCP Server

v0.2.0
io.github.zachshallbetter/adobe-mcp-premiere Checked 9 hours ago Published 14 days ago

Drive Adobe Premiere Pro from any MCP client: projects, sequences, timeline edits, effects, export.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_project_info Get Project Info

Describe the active project: name, file path, guid, the active sequence, how many sequences and top-level items it has, and the bin imports go to

create_project Create Project

Create a new project file (.prproj) and make it the active project: empty, or a copy of a template project (its bins, sequences and settings; the template file is not changed). Other open projects stay open

ParameterTypeDescription
filePath *stringAbsolute path of the new .prproj
templatestringAbsolute path of a .prproj to start from (a project template). Default: an empty project

open_project Open Project

Open a project file (.prproj) and make it the active project, with Premiere Pro's convert, locate-file and warning dialogs turned off unless showDialogs is true. Projects already open stay open

ParameterTypeDescription
filePath *stringAbsolute path of the .prproj
addToRecentbooleanAdd the project to File > Open Recent. Default true
showDialogsbooleanLet Premiere Pro show its convert, locate-file and warning dialogs (they wait for the user). Default false

save_project Save Project

Save the active project, or save it as a new .prproj (File > Save As: the project then refers to the new file, not the original)

ParameterTypeDescription
filePathstringSave As to this absolute .prproj path. Omit to save in place
overwritebooleanReplace filePath if it exists. Default false

close_project Close Project

Close the active project, or every open project (File > Close All Projects), without prompting. Unsaved changes are lost unless save is true

ParameterTypeDescription
allbooleanClose every open project, not only the active one. Default false
savebooleanSave before closing. Default false

revert_project Revert Project

Discard the active project's unsaved changes by reopening its last saved version (File > Revert), with Premiere Pro's dialogs off

list_project_items List Project Items

List the items in the project or in one bin, with their id, kind (bin, clip, sequence), bin path and type. Ids and paths are what other tools take

ParameterTypeDescription
binobjectList inside this bin. Default: the project root
depthintegerHow many bin levels to descend. Default 10
kindstringOnly items of this kind
limitintegerAt most this many items. Default 500
selectedbooleanList the items selected in the Project panel instead

search_project_items Search Project Items

Find project items (Edit > Find) by part of their name, part of their media file path, kind, or whether their media is offline, in the whole project or one bin. Returns ids and bin paths as list_project_items does, with the media path and offline state when those were searched

ParameterTypeDescription
binobjectSearch inside this bin. Default: the whole project
kindstringOnly items of this kind
limitintegerAt most this many items. Default 500
mediaPathstringText the media file path contains (any case); only clips match
namestringText the item name contains (any case)
offlinebooleantrue: only clips whose media is offline; false: only online clips

get_clip_info Get Clip Info

Describe a clip or sequence project item: media file path, source in and out points, offline and proxy state, label colour, and footage interpretation (frame rate, pixel aspect ratio, field order, alpha)

ParameterTypeDescription
item *objectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique

import_media Import Media

Import files into the project (File > Import, or Import from Media Browser by path) without Premiere Pro's dialogs, into the root or a bin: video (QuickTime, MP4, HEVC, ProRes, MXF, DNxHD, AVCHD, camera raw such as R3D, ARRIRAW, BRAW), audio (WAV, AIFF, MP3, AAC), stills and layered files (PSD, AI, JPEG, PNG, TIFF, EXR, DPX ...), projects (Premiere Pro, Premiere Elements, Character Animator) and interchange files (AAF, EDL, FCP XML, batch lists). Image sequences import as one clip with numberedStills. Layered files import merged

ParameterTypeDescription
files *arrayAbsolute paths
binobjectImport into this bin. Default: the project root
numberedStillsbooleanTreat numbered still images as one image sequence. Default false

create_bin Create Bin

Add a bin, or a search bin (File > New > Search Bin) that shows the items matching searchQuery, to the project root or inside another bin

ParameterTypeDescription
name *stringBin name
makeUniquebooleanIf the name is taken, let Premiere Pro make it unique. Default true
parentobjectCreate inside this bin. Default: the project root
searchQuerystringMake a search bin showing the items that match this text

manage_items Manage Items

Rename, move to another bin, set the label colour of, or delete project items (bins, clips, sequences). Changes are one undo step

ParameterTypeDescription
deletebooleanRemove the items from the project. Default false
itemsarrayThe items
labelintegerLabel colour by index, 0-15, as in Edit > Label
moveToobjectMove into this bin (moveToRoot for the project root)
moveToRootbooleanMove to the project root
renamestringNew name (one item only)
selectedbooleanAlso act on the items selected in the Project panel

import_project_sequences Import Project Sequences

Import chosen sequences, with the clips they use, from another Premiere Pro project (File > Import of a .prproj, Import Selected Sequences) without the Import Premiere Pro Project dialog. Give the sequences' guids: open that project and run list_sequences to see them. To import a whole project, pass the .prproj to import_media

ParameterTypeDescription
projectPath *stringAbsolute path of the .prproj to import from
sequences *arrayGuids of the sequences to import, as list_sequences reports them in that project

import_after_effects_comps Import After Effects Comps

Import compositions from an After Effects project (.aep, .aepx) as Dynamic Link clips (File > Adobe Dynamic Link > Import After Effects Composition) without the dialog: named compositions, or all of them, into the root or a bin

ParameterTypeDescription
aepPath *stringAbsolute path of the .aep or .aepx
binobjectImport into this bin. Default: the project root
compsarrayComposition names to import. Omit to import every composition

manage_media Manage Media

Refresh clips' media from disk (Refresh Media), take them offline keeping the files (Clip > Make Offline, one undo step), or attach a proxy or the full-resolution file to one clip (Proxy > Attach Proxies, Reconnect Full Resolution Media; not undoable)

ParameterTypeDescription
action *stringWhat to do
itemsarrayThe clip items (from list_project_items)
mediaPathstringWith attach_proxy or attach_full_resolution: absolute path of the proxy or full-resolution file
selectedbooleanAlso act on the items selected in the Project panel

modify_footage Modify Footage

Change how clips' media is interpreted (Clip > Modify > Interpret Footage: frame rate, pixel aspect ratio, field order, alpha channel, remove pulldown), set their starting timecode (Clip > Modify > Timecode), or scale them to the sequence frame size (Clip > Video Options > Scale to Frame Size). One undo step

ParameterTypeDescription
alphaUsagestringHow the alpha channel is interpreted
fieldOrderstringField order: default uses the file's own
frameRatenumberAssume this frame rate, frames per second (e.g. 23.976)
ignoreAlphabooleanIgnore the alpha channel
invertAlphabooleanInvert the alpha channel
itemsarrayThe clip items (from list_project_items)
pixelAspectRationumberConform to this pixel aspect ratio, e.g. 1 for square pixels or 2 for 2:1 anamorphic
removePulldownbooleanRemove 3:2 pulldown
scaleToFrameSizebooleantrue: scale to the sequence frame size (only true is accepted)
selectedbooleanAlso act on the items selected in the Project panel
startTimenumberMedia start timecode, in seconds (3600 = 01:00:00:00)

reveal_media_file Reveal Media File

Show a clip's media file in Finder or File Explorer (Reveal in Finder, Reveal in Explorer). Returns the path

ParameterTypeDescription
item *objectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique

get_project_media_settings Get Project Media Settings

Read the active project's ingest setting and scratch disk folders (File > Project Settings > Ingest Settings, Scratch Disks)

set_project_media_settings Set Project Media Settings

Turn ingest on or off (File > Project Settings > Ingest Settings), choose scratch disk folders (Scratch Disks), and pause or resume refreshing growing files. Settings are one undo step; pausing growing files is not undoable

ParameterTypeDescription
ingestEnabledbooleanRun the project's ingest operation (copy, transcode or create proxies, as set in Premiere Pro) on import
pauseGrowingbooleantrue pauses refreshing growing files (media still being written); false resumes
scratchDisksobjectScratch disk folders to change. Each is "same_as_project", "my_documents" or an absolute path of an existing folder

list_sequences List Sequences

List the project's sequences: name, guid, whether active, frame size, timebase, end time, in/out and zero points, playhead and track counts

create_sequence Create Sequence

Create a sequence: empty with the default settings, from a sequence preset (.sqpreset), or from clips (New Sequence From Clip: settings match the first clip and the clips are placed in order). Opens it in the Timeline unless open is false

ParameterTypeDescription
name *stringSequence name
binobjectWith items: put the new sequence in this bin
itemsarrayClips to build the sequence from, in order
openbooleanOpen it in the Timeline and make it active. Default true
presetstringAbsolute path of a .sqpreset file

open_sequence Open Sequence

Open a sequence in the Timeline and make it the active sequence

ParameterTypeDescription
sequence *objectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

get_sequence_settings Get Sequence Settings

Read a sequence's settings (Sequence > Sequence Settings): editing mode, timebase and frame rate, frame size, pixel aspect ratio, fields, display formats, audio sample rate and channels, preview file format, codec and size, maximum bit depth and render quality, and linear-colour compositing

ParameterTypeDescription
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

set_sequence_settings Set Sequence Settings

Change a sequence's settings: frame size, frame rate (Premiere Pro 26.2 or later), pixel aspect ratio, fields, editing mode, display formats, audio sample rate, preview file format, codec and size, maximum bit depth and render quality, linear-colour compositing. Values as get_sequence_settings reports them. One undo step

ParameterTypeDescription
audioDisplayFormatstring
audioSampleRateintegerSamples per second, e.g. 48000
compositeInLinearColorboolean
editingModestringAs get_sequence_settings reports it
fieldTypestring
frameRatenumberFrames per second, e.g. 23.976, 25, 29.97 (26.2 or later)
heightintegerFrame height in pixels (give with width)
maximumBitDepthboolean
maximumRenderQualityboolean
pixelAspectRatiostringAs get_sequence_settings reports it
previewCodecstringAs get_sequence_settings reports it
previewFileFormatstringAs get_sequence_settings reports it
previewHeightinteger
previewWidthinteger
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
videoDisplayFormatstring
widthintegerFrame width in pixels (give with height)

duplicate_sequence Duplicate Sequence

Duplicate a sequence (Sequence > Duplicate). The copy appears next to the original

ParameterTypeDescription
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

delete_sequence Delete Sequence

Delete a sequence from the project

ParameterTypeDescription
sequence *objectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

set_sequence_times Set Sequence Times

Set a sequence's in and out points, zero point (start time), work area (Premiere Pro 26.5 or later) and playhead position. Times are seconds. In, out and zero point are one undo step; the playhead and work area are not undoable

ParameterTypeDescription
inPointnumberSequence in point, seconds
outPointnumberSequence out point, seconds
playheadnumberMove the playhead here, seconds
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
workAreaInnumberWork area in, seconds (26.5 or later)
workAreaOutnumberWork area out, seconds (26.5 or later)
zeroPointnumberStart time of the timecode, seconds

close_sequence Close Sequence

Close a sequence's Timeline panel (Premiere Pro 26.2 or later). The sequence stays in the project

ParameterTypeDescription
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

create_subsequence Create Subsequence

Make a new sequence from the part of a sequence between its in and out points (Sequence > Make Subsequence), on the targeted tracks or on every track. Set the in and out points first (set_sequence_times or mark_clips)

ParameterTypeDescription
allTracksbooleanTake every track, ignoring track targeting. Default false
openbooleanOpen the new sequence in the Timeline. Default false
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

move_playhead Move Playhead

Move a sequence's playhead: by frames (Step Forward, Step Back), to the next or previous edit point (Go to Next/Previous Edit Point), gap (Sequence > Go To Gap) or marker (Markers > Go to Next/Previous Marker), or to the in or out point (Markers > Go to In, Go to Out). Edits and gaps are on every video and audio track unless track is given. Not an undo step

ParameterTypeDescription
to *string
framesintegerWith next_frame and previous_frame: how many frames. Default 1 (Shift steps 5)
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
trackstringOnly clips on this kind of track (give with trackIndex); default every video and audio track
trackIndexintegerOnly this track, 0 = V1 or A1 (with track)

run_scene_edit_detection Run Scene Edit Detection

Analyse clips for cuts in their footage (Clip > Scene Edit Detection, without the dialog) and add an edit, a clip marker or a subclip at each cut. Runs on the given clips or the Timeline selection; the selection is replaced by those clips. Analysis can continue after the call returns: waitSeconds waits for it

ParameterTypeDescription
clips *objectThe clips to analyse (items from list_clips, or selected: true)
operationstringcut: Apply a cut at each scene edit; marker: Generate clip markers; subclip: Create subclips in the project. Default cut
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
waitSecondsnumberWait up to this long for the analysis to finish. Default 0. Raise PREMIERE_SCRIPT_TIMEOUT_MS for long waits

get_sequence_properties Get Sequence Properties

Read a sequence's custom properties: named values a script stored on it, carried into FCP XML exports. Give the names to read

ParameterTypeDescription
names *arrayProperty names
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

set_sequence_properties Set Sequence Properties

Store or clear custom properties on a sequence: named text, number or true/false values a script keeps with it, carried into FCP XML exports. One undo step

ParameterTypeDescription
cleararrayNames of properties to remove
persistentbooleanSave the values with the project (false keeps them for this session only). Default true
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
valuesobjectNames and the values to store, e.g. { "review.status": "approved" }

list_tracks List Tracks

List a sequence's video, audio and caption tracks: index (0 = V1/A1/C1), name, id, mute state and how many clips each holds

ParameterTypeDescription
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

list_clips List Clips

List the clips on a sequence's tracks with the indexes other tools take (track, trackIndex, clipIndex), name, start and end in the sequence, source in and out points, duration, speed, enabled and selected state, and the project item each comes from. name finds clips by name

ParameterTypeDescription
namestringOnly clips whose name contains this text (any case), to find clips in the sequence
selectedbooleanOnly the clips selected in the Timeline
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
trackstringOnly this kind of track
trackIndexintegerOnly this track (with track)

insert_clip Insert Clip

Insert a project item (clip or sequence) into a sequence at a time: clips after that point on the targeted tracks move later. A track index past the last track adds a track. sourceIn and sourceOut place only that range (for example words found in export_transcript, as Text-Based Editing does)

ParameterTypeDescription
item *objectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique
time *numberSequence time in seconds
audioTrackIndexintegerAudio track for the audio, 0 = A1. Default 0
limitShiftbooleanShift clips only on the targeted tracks, not on every track. Default false
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
sourceInnumberPlace only part of the clip: set its source in point first, seconds into the media (give with sourceOut). The item keeps these in and out points, as when they are marked in the Source Monitor
sourceOutnumberSource out point, seconds into the media (give with sourceIn)
videoTrackIndexintegerVideo track for the video, 0 = V1. Default 0

overwrite_clip Overwrite Clip

Overwrite a sequence with a project item (clip or sequence) at a time: whatever is there on the targeted tracks is replaced. A track index past the last track adds a track. sourceIn and sourceOut place only that range (for example words found in export_transcript, as Text-Based Editing does)

ParameterTypeDescription
item *objectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique
time *numberSequence time in seconds
audioTrackIndexintegerAudio track for the audio, 0 = A1. Default 0
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
sourceInnumberPlace only part of the clip: set its source in point first, seconds into the media (give with sourceOut). The item keeps these in and out points, as when they are marked in the Source Monitor
sourceOutnumberSource out point, seconds into the media (give with sourceIn)
videoTrackIndexintegerVideo track for the video, 0 = V1. Default 0

trim_clip Trim Clip

Trim a clip: set its source in and out points, or its start and end in the sequence (seconds). One undo step

ParameterTypeDescription
clip *objectA clip in the sequence, as list_clips reports it
endnumberEnd in the sequence, seconds
inPointnumberSource in point, seconds into the media
outPointnumberSource out point, seconds into the media
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
startnumberStart in the sequence, seconds

move_clips Move Clips

Move clips later or earlier in the sequence by a number of seconds (negative moves earlier), keeping their tracks. One undo step

ParameterTypeDescription
by *numberSeconds to move by; negative moves earlier
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

remove_clips Remove Clips

Remove clips from the sequence (Clear), or close the gap they leave with ripple: true (Ripple Delete). One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
ripplebooleanClose the gap: later clips move earlier. Default false
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

set_clip_properties Set Clip Properties

Rename clips in the Timeline, or enable or disable them (Clip > Enable). One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
enabledbooleanfalse disables the clips (they stay in place but do not play)
namestringNew clip name
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

set_track_properties Set Track Properties

Mute or unmute a track (Toggle Track Output for video), or rename it (Premiere Pro 26.3 or later). Muting is not an undo step

ParameterTypeDescription
track *string
trackIndex *integer0 = V1, A1 or C1
mutedboolean
namestringNew track name (26.3 or later)
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

insert_mogrt Insert Motion Graphics Template

Place a Motion Graphics template (.mogrt) in a sequence at a time on the given tracks. Its parameters can then be read and set as effect parameters (list_clip_effects, set_effect_param)

ParameterTypeDescription
filePath *stringAbsolute path of the .mogrt
time *numberSequence time in seconds
audioTrackIndexinteger0 = A1. Default 0
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
videoTrackIndexinteger0 = V1. Default 1 (V2)

select_clips Select Clips

Change the Timeline selection: select given clips (Selection tool), every clip (Edit > Select All), none (Edit > Deselect All), the clips under the playhead (Select Clip at Playhead), every clip from a time on or before it (Track Select Forward and Backward tools), or the clip after or before each selected one on its track (Next and Previous in Sequence). Returns the selected clips. Not an undo step

ParameterTypeDescription
mode *stringclips: the given clips; all; none; at_playhead; forward: clips ending after time; backward: clips starting before time; next and previous: the neighbour of each selected clip on its track
clipsobjectWith mode clips: the clips to select (items from list_clips)
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
timenumberWith forward and backward: seconds. Default the playhead
trackstringOnly clips on this kind of track (give with trackIndex); default every video and audio track
trackIndexintegerOnly this track, 0 = V1 or A1 (with track)

edit_clips Edit Clips

Trim edits in the Timeline, each one undo step. slip: move the source in and out points of clips by the same amount, so they show other frames in the same place (Slip tool, Slip Clip Selection). roll: move the edit point between a clip and the next clip on its track (Rolling Edit tool; on an audio clip alone this makes a J or L cut). slide: move a clip between its neighbours, which are trimmed to keep the gap closed (Slide tool). trim_start_to_playhead and trim_end_to_playhead: trim clips under the playhead to it without rippling (Trim Previous and Trim Next Edit to Playhead)

ParameterTypeDescription
operation *string
bynumberslip, roll and slide: seconds; negative is earlier (slip: shows earlier frames)
clipsobjectClips (items from list_clips, or selected: true). roll and slide take one clip. The trims default to every clip under the playhead
framesintegerInstead of by: frames of the sequence (Slip Clip Selection uses 1 or 5)
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

fit_clips_to_frame Fit Clips To Frame

Scale video clips so their frame fits the sequence frame (Clip > Video Options > Set to Frame Size), or fills it, by setting Motion > Scale without resampling. The source frame size comes from the project item's Video Info, or from sourceWidth and sourceHeight. Square pixels are assumed. One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
modestringfit: the whole frame shows (Set to Frame Size); fill: the sequence frame is covered, cropping the rest. Default fit
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
sourceHeightintegerSource frame height in pixels (give with sourceWidth)
sourceWidthintegerSource frame width in pixels, when the Video Info is missing (give with sourceHeight)

list_markers List Markers

List the markers of a sequence or of a clip project item: index, name, type, start, duration, comments, colour index, guid (Premiere Pro 26.3 or later) and web link

ParameterTypeDescription
itemobjectMarkers of this clip project item instead of a sequence
sequenceobjectMarkers of this sequence (default: the active sequence)
typestringOnly markers of this type

add_marker Add Marker

Add a marker to a sequence or a clip project item at a time, with a name, type, duration, comments and colour. The colour is a second undo step

ParameterTypeDescription
start *numberSeconds
colorstring
commentsstring
durationnumberSeconds; 0 for a point marker. Default 0
itemobjectMarkers of this clip project item instead of a sequence
namestring
sequenceobjectMarkers of this sequence (default: the active sequence)
typestringDefault Comment

edit_marker Edit Marker

Change a marker chosen by index (from list_markers) or guid: name, comments, type, duration, colour, or move it to a new start. One undo step

ParameterTypeDescription
colorstring
commentsstring
durationnumberSeconds
guidstringMarker guid (26.3 or later)
indexintegerMarker index from list_markers
itemobjectMarkers of this clip project item instead of a sequence
namestring
sequenceobjectMarkers of this sequence (default: the active sequence)
startnumberMove the marker here, seconds
typestring

remove_markers Remove Markers

Remove markers from a sequence or clip project item, chosen by index or guid, or all of them (optionally of one type). One undo step

ParameterTypeDescription
allbooleanRemove every marker (of type, if given)
guidsarrayMarker guids
indexesarrayMarker indexes from list_markers
itemobjectMarkers of this clip project item instead of a sequence
sequenceobjectMarkers of this sequence (default: the active sequence)
typestringWith all: only this type

mark_clips Mark Clips

Set a sequence's in and out points around clips: the clips under the playhead (Markers > Mark Clip) or the given or selected clips (Markers > Mark Selection), from the earliest start to the latest end. One undo step

ParameterTypeDescription
clipsobjectThe clips to mark around (items from list_clips, or selected: true for Mark Selection). Default the clips under the playhead
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
trackstringOnly clips on this kind of track (give with trackIndex); default every video and audio track
trackIndexintegerOnly this track, 0 = V1 or A1 (with track)

create_subclip Create Subclip

Make a subclip of a clip project item (Clip > Make Subclip): a new project item limited to a range of the source, optionally restricted so it cannot be trimmed past it (Premiere Pro 26.3 or later). Returns the new item

ParameterTypeDescription
end *numberEnd, seconds into the media
item *objectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique
name *stringName of the subclip
start *numberStart, seconds into the media
audiobooleanInclude the audio. Default true
restrictTrimsbooleanRestrict Trims to Subclip Boundaries. Default false
videobooleanInclude the video. Default true

set_source_in_out Set Source In Out

Set or clear the in and out points of clip project items, as marking them in the Source Monitor does (Markers > Mark In, Mark Out, Clear In and Out). Used to choose the part of a clip to edit in, or to line up camera angles for synchronising. One undo step

ParameterTypeDescription
clearbooleanClear both points (Clear In and Out)
inPointnumberIn point, seconds into the media
itemobjectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique
itemsarraySeveral clip project items instead of item
outPointnumberOut point, seconds into the media

scale_to_frame_size Scale To Frame Size

Turn on Scale to Frame Size for clip project items (Clip > Video Options > Scale to Frame Size): clips placed from them afterwards are resampled to the sequence frame size. Clips already in a sequence are not changed; fit_clips_to_frame sets their scale. One undo step

ParameterTypeDescription
itemobjectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique
itemsarraySeveral clip project items instead of item

control_source_monitor Control Source Monitor

Work the Source Monitor: open a clip project item (optionally at a time), play it at a speed (Play-Stop Toggle; negative plays backward, as the J, K and L shuttle keys do), close the clip or every clip, report what is open, or Match Frame (Sequence > Match Frame: open the source of a sequence clip at the frame under the playhead). Positioning needs Premiere Pro 26.3 or later. Playback is the Source Monitor only: the Program Monitor cannot be played from a script

ParameterTypeDescription
action *string
clipobjectWith match_frame: the clip; default the clip under the playhead on the highest video track that has one, else on the first audio track that has one
itemobjectWith open: the clip project item to open
positionnumberWith open: show this time, seconds into the media (26.3 or later)
sequenceobjectWith match_frame: the sequence (default the active one)
speednumberWith play: playback speed, 1 = normal, negative plays backward, 0 stops. Default 1

list_available_effects List Available Effects

List the video effects (match names and display names), audio effects (display names) or video transitions (match names) Premiere Pro has installed. These are the names apply_effect and add_transition take

ParameterTypeDescription
kind *string
filterstringOnly names containing this text (case-insensitive)

list_clip_effects List Clip Effects

List a clip's effects (its component chain, as in Effect Controls) with each parameter's name, value and keyframe times. Component and parameter indexes are what the other effect tools take

ParameterTypeDescription
clip *objectA clip in the sequence, as list_clips reports it
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

apply_effect Apply Effect

Apply an effect to clips: a video effect by match name or display name to video clips, an audio effect by display name to audio clips (names from list_available_effects). Appended to the end of the chain, or inserted at position. One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
effect *stringVideo: match name (e.g. "AE.ADBE Gaussian Blur 2") or display name; audio: display name
positionintegerInsert at this component index instead of appending
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

remove_effect Remove Effect

Remove an applied effect from clips, by component index (from list_clip_effects). One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
component *integerComponent index from list_clip_effects
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

set_effect_param Set Effect Param

Set an effect parameter on clips to one value (not animated). An animated parameter keeps its keyframes unless clearKeyframes is true. Values: numbers, text, true/false, points { x, y }, colours { red, green, blue, alpha } from 0 to 1. One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
component *integerComponent index from list_clip_effects
value *A number, text, true/false, a point { x, y }, or a colour { red, green, blue, alpha } with channels from 0 to 1
clearKeyframesbooleanTurn animation off first (removes the parameter's keyframes). Default false
paramstringParameter name as list_clip_effects reports it, e.g. "Scale"
paramIndexintegerParameter index instead of a name
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

add_keyframes Add Keyframes

Animate an effect parameter on a clip: turn animation on and add keyframes at times (seconds, as list_clip_effects reports keyframe times) with values and optional interpolation. Keyframes are one undo step, interpolation a second

ParameterTypeDescription
clip *objectA clip in the sequence, as list_clips reports it
component *integerComponent index from list_clip_effects
keyframes *array
paramstringParameter name as list_clip_effects reports it, e.g. "Scale"
paramIndexintegerParameter index instead of a name
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

remove_keyframes Remove Keyframes

Remove keyframes from an effect parameter on a clip: at given times, in a time range, or all of them (turns animation off, keeping the value at the start). One undo step

ParameterTypeDescription
clip *objectA clip in the sequence, as list_clips reports it
component *integerComponent index from list_clip_effects
allboolean
fromnumberRange start, seconds (with to)
paramstringParameter name as list_clip_effects reports it, e.g. "Scale"
paramIndexintegerParameter index instead of a name
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
timesarrayKeyframe times, seconds
tonumberRange end, seconds (with from)

add_transition Add Transition

Add a video transition (by match name, from list_available_effects) at the start, end or both ends of video clips, with a duration and optionally single-sided, or replace the transition already there. One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
transition *stringTransition match name
atstringDefault end
durationnumberSeconds. Default 1
replacebooleanRemove the transition already at that end first (Replace transition); there must be one. Default false
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
singleSidedbooleanKeep the transition on this clip only. Default false

remove_transition Remove Transition

Remove the video transition at the start, end or both ends of video clips. One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
atstringDefault both
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

set_clip_transform Set Clip Transform

Set video clips' built-in Motion (or Vector Motion, for graphics) and Opacity settings (Effect Controls): position, scale, rotation, anchor point, anti-flicker, opacity and blend mode, for placing and compositing clips over the tracks below. Values are in the units list_clip_effects reports. An animated setting is refused unless clearKeyframes is true. One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
blendModestringBlend Mode, by its name in the Opacity menu
blendModeIndexintegerBlend Mode as the index Premiere Pro stores, instead of blendMode
clearKeyframesbooleanTurn animation off for the settings given (removes their keyframes). Default false
motionobjectMotion settings (Vector Motion with vectorMotion: true)
opacitynumberOpacity, percent
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
vectorMotionbooleanSet the Vector Motion effect of graphics clips instead of Motion. Default false

copy_clip_effects Copy Clip Effects

Copy a clip's effects to other clips of the same kind (Edit > Copy, then Paste Attributes): applied effects are added to each target with the source's values and keyframes; with intrinsic: true, Motion, Opacity, Time Remapping (video) or Volume, Channel Volume, Panner (audio) values are copied onto the targets' own. Keyframes keep their offset from the clip's In point. Up to three undo steps: adding effects, values, keyframe interpolation

ParameterTypeDescription
from *objectThe clip to copy from, as list_clips reports it
to *objectThe clips to paste onto
componentsarrayOnly these component indexes of the source (from list_clip_effects). Default: every applied effect, plus the fixed ones with intrinsic
intrinsicbooleanAlso copy the fixed effects' values when components is not given. Default false
keyframesbooleanCopy keyframes of animated parameters (otherwise their value at the clip start). Default true
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

manage_source_effects Manage Source Effects

List, apply or remove source clip effects: effects on a clip project item itself (applied in the Source Monitor or Project panel), which every use of the clip in sequences inherits. Video effects only for apply. Applying and removing are one undo step each

ParameterTypeDescription
item *objectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique
actionstringDefault list
componentintegerFor remove: component index from the list
effectstringFor apply: video effect match name or display name (from list_available_effects)
mediastringWhich chain to list or remove from. Default video

jump_to_keyframe Jump To Keyframe

Move the playhead to the next or previous keyframe of an effect parameter on a clip (Effect Controls, Go to Next or Previous Keyframe), from the playhead or a given sequence time. Returns the keyframe's time and the new playhead

ParameterTypeDescription
clip *objectA clip in the sequence, as list_clips reports it
component *integerComponent index from list_clip_effects
direction *string
fromnumberSequence time to search from, seconds. Default: the playhead
paramstringParameter name as list_clip_effects reports it, e.g. "Scale"
paramIndexintegerParameter index instead of a name
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

copy_keyframes Copy Keyframes

Copy an effect parameter's keyframes (values and interpolation) to the same or another parameter on other clips or the same clip (Effect Controls, copy and paste keyframes). Times keep their offset from each clip's In point, plus offset. Keyframes are one undo step, interpolation a second

ParameterTypeDescription
clip *objectThe clip to copy from
component *integerComponent index from list_clip_effects
offsetnumberShift the pasted keyframes by this many seconds. Default 0
paramstringParameter name as list_clip_effects reports it, e.g. "Scale"
paramIndexintegerParameter index instead of a name
replacebooleanRemove the target parameter's own keyframes first. Default false
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
toobjectThe clips to paste onto. Default: the source clip
toComponentintegerTarget component index. Default: the source's
toParamstringTarget parameter name. Default: the source's
toParamIndexintegerTarget parameter index instead of a name

retime_keyframes Retime Keyframes

Change how fast an effect animates by spreading its keyframes further apart or closer together (scale) from the first or last keyframe, and optionally shifting them all (offset), keeping each keyframe's value and interpolation. Keyframes are one undo step, interpolation a second

ParameterTypeDescription
clip *objectA clip in the sequence, as list_clips reports it
component *integerComponent index from list_clip_effects
anchorstringThe keyframe that stays put when scaling. Default first
offsetnumberThen move every keyframe by this many seconds. Default 0
paramstringParameter name as list_clip_effects reports it, e.g. "Scale"
paramIndexintegerParameter index instead of a name
scalenumberSpacing factor: 2 makes the animation take twice as long, 0.5 half as long. Default 1
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

fade_clips Fade Clips

Fade clips in and/or out with keyframes: video clips on Opacity (from 0 to their opacity), audio clips on the Volume effect's Level (from silence to their level), over the given seconds at the start and end of each clip (Effect Controls keyframes; a cross-fade transition is add_transition). One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
fadeInnumberFade-in length, seconds
fadeOutnumberFade-out length, seconds
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

set_lumetri_color Set Lumetri Color

Grade video clips with Lumetri Color (Window > Lumetri Color): set Basic Correction (Input LUT, white balance, tone), Creative (Look, intensity, faded film, vibrance, tints), Color Wheels & Match, HSL Secondary corrections and Vignette settings by their display names, or any Lumetri parameter by index. Adds a Lumetri Color effect to clips that have none. Values as list_clip_effects reports them. One undo step, two when an effect is added

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
addbooleanAdd a Lumetri Color effect to clips without one. Default true
basicobjectBasic Correction: settings by display name, e.g. Input LUT, HDR White, Temperature, Tint, Saturation, Exposure, Contrast, Highlights, Shadows, Whites, Blacks
byIndexarrayLumetri parameters by index (from list_clip_effects), for any setting the sections do not name
clearKeyframesbooleanTurn animation off for animated settings given (removes their keyframes). Default false
componentintegerIndex of the Lumetri Color effect to set (from list_clip_effects). Default: the clip's first Lumetri Color
creativeobjectCreative: settings by display name, e.g. Look, Intensity, Faded Film, Sharpen, Vibrance, Saturation, Shadow Tint, Highlight Tint, Tint Balance
hslobjectHSL Secondary: settings by display name, e.g. Denoise, Blur, Temperature, Tint, Contrast, Sharpen, Saturation
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
vignetteobjectVignette: settings by display name, e.g. Amount, Midpoint, Roundness, Feather
wheelsobjectColor Wheels & Match: settings by display name, e.g. the shadow, midtone and highlight wheels and their lightness

set_clip_input_lut Set Clip Input LUT

Set the Input LUT override of clip project items (Clip > Modify > Input LUT), which converts the footage before any grading: a LUT id, or the override (or embedded LUT) another clip uses. Returns each clip's override and embedded LUT ids before and after. One undo step

ParameterTypeDescription
items *arrayVideo clip project items
embeddedbooleanWith fromItem, use the LUT embedded in its media rather than its override. Default false
fromItemobjectUse the Input LUT this clip has instead of lutId
lutIdstringThe LUT id (a guid, as these results report it)

set_clip_volume Set Clip Volume

Set the Level of audio clips' built-in Volume effect. Premiere Pro stores Level as a linear amplitude, not decibels; read the current value with list_clip_effects first and scale it. Turns off Level keyframes. One undo step

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
level *numberThe Level parameter's value (linear amplitude)
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

adjust_clip_audio Adjust Clip Audio

Change audio clips' volume by a number of decibels (Clip > Audio Options > Increase or Decrease Clip Volume; the Audio Clip Mixer's and Properties panel's volume), scaling every Level keyframe when the volume is animated, and set their pan or balance (the Panner's Balance, or Pan). Volume and pan are one undo step, keyframe interpolation a second

ParameterTypeDescription
clips *objectWhich clips: items (track, trackIndex, clipIndex from list_clips) and/or selected: true for the clips selected in the Timeline
gainDbnumberRaise (positive) or lower (negative) the Volume Level by this many dB
pannumberPanner Balance (stereo clips) or Pan (mono): -100 full left, 0 centre, 100 full right, as Effect Controls shows it
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

list_graphics_templates List Graphics Templates

List the Motion Graphics templates (.mogrt) installed in Premiere Pro's local templates folder (Window > Graphics Templates, Browse). Each filePath can be placed with insert_mogrt. The folder must be inside your home folder or PREMIERE_ALLOWED_DIRS to be listed

ParameterTypeDescription
filterstringOnly templates whose name contains this text (case-insensitive)
limitintegerAt most this many. Default 500

insert_library_mogrt Insert Library Motion Graphics Template

Place a Motion Graphics template from a Creative Cloud Library in a sequence at a time on the given tracks (Libraries panel, or Graphics Templates > Libraries). Needs Creative Cloud Libraries signed in and synced. Its parameters can then be set as effect parameters (list_clip_effects, set_effect_param)

ParameterTypeDescription
element *stringThe template's name in that library
library *stringLibrary name, as the Libraries panel shows it
time *numberSequence time in seconds
audioTrackIndexinteger0 = A1. Default 0
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
videoTrackIndexinteger0 = V1. Default 1 (V2)

list_transcription_languages List Transcription Languages

List the languages Speech to Text can transcribe (Premiere Pro 26.3 or later) and whether each one's language pack is installed (Preferences > Transcription), or check given language codes such as "en-US". Language packs are installed from Creative Cloud or Premiere Pro, not here

ParameterTypeDescription
languagesarrayOnly check these language codes, e.g. ["en-US", "fr-FR"] (works before 26.3 too)

import_captions Import Captions

Import caption files (.srt, .scc, .mcc, .dfxp, .stl, .xml: SubRip, Scenarist, MacCaption, DFXP, EBU STL, W3C/SMPTE/EBU Timed Text XML) into the project without Premiere Pro's dialogs (File > Import), into the root or a bin. Each becomes a captions item to place on a caption track

ParameterTypeDescription
files *arrayAbsolute paths of caption files
binobjectImport into this bin. Default: the project root

transcribe_clip Transcribe Clip

Transcribe a clip project item's audio with Speech to Text (Premiere Pro 26.5 or later). Needs the language pack Premiere Pro uses; waits until the transcript is done, so raise PREMIERE_SCRIPT_TIMEOUT_MS for long clips

ParameterTypeDescription
item *objectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique

export_transcript Export Transcript

Read a clip project item's transcript as JSON (the Text panel's transcript, with word timings). Returns it, or writes it to a .json file when outputFile is given

ParameterTypeDescription
item *objectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique
outputFilestringAbsolute path of a .json file to write instead of returning the transcript

export_sequence Export Sequence

Export a sequence with an encoder preset (.epr) (File > Export > Media, or Quick Export): encode it now in Premiere Pro (the call waits; raise PREMIERE_SCRIPT_TIMEOUT_MS for long exports), or queue it in Adobe Media Encoder or Premiere Pro's own queue. The preset sets the format and every Export setting (video, encoding, keyframe distance, audio, captions, effects such as Image Overlay, metadata, VR, HDR, still image sequences); save one from the Export page or Media Encoder. Whole sequence or in to out (set them with set_sequence_times). Without an extension the preset's is added. importIntoP…

ParameterTypeDescription
outputFile *stringAbsolute path of the file to write
preset *stringAbsolute path of an encoder preset (.epr), e.g. one saved from the Export page or Media Encoder
importBinobjectWith importIntoProject: the bin to import into. Default: the project root
importIntoProjectbooleanWith mode immediately: import the exported file into the project (Import into Project). Default false
modestringDefault immediately
overwritebooleanReplace outputFile if it exists. Default false
rangestringDefault full
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
startQueuebooleanWith queue_to_ame: start Media Encoder's queue (Premiere Pro 26.3 or later). Default false
xmpstringWrite XMP metadata into the file, beside it, both or neither (26.3 or later). Default: Premiere Pro's setting

encode_media Encode Media

Queue a clip or sequence from the project, or a media file on disk, in Adobe Media Encoder with an encoder preset (.epr) (Export > Send to Media Encoder, or Media Encoder's queue). Whole item, its in to out, or (sequences) the work area; a file can be trimmed with inPoint and outPoint. Optionally starts the queue. Returns once the job is queued; wait_for_event with render_complete waits for it to finish

ParameterTypeDescription
outputFile *stringAbsolute path of the file to write, with its extension
preset *stringAbsolute path of an encoder preset (.epr)
filestringAbsolute path of a media file to encode without importing it. Give item or file
inPointnumberWith file: start at this time, seconds. Default the start
itemobjectThe clip or sequence project item to encode. Give item or file
outPointnumberWith file: stop at this time, seconds. Default the end
overwritebooleanReplace outputFile if it exists. Default false
rangestringWith item: the whole item, its in to out, or the work area (sequences only). Default full
removeWhenDonebooleanRemove the job from Media Encoder's queue when it finishes. Default false
startQueuebooleanStart Media Encoder's queue straight away. Default false

export_frame Export Frame

Export one frame of a sequence as an image (Export Frame): PNG, JPEG, TIFF, BMP, DPX, GIF, EXR or TGA, chosen by the file extension. Size defaults to the sequence frame size

ParameterTypeDescription
outputFile *stringAbsolute path; the extension picks the format
heightinteger
overwriteboolean
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence
timenumberSequence time in seconds. Default: the playhead
widthinteger

export_timeline Export Timeline

Export a sequence's edit for another application: Final Cut Pro XML (.xml) or OpenTimelineIO (.otio), Premiere Pro 26.2 or later, or AAF (.aaf) with default options, 26.3 or later

ParameterTypeDescription
format *string
outputFile *stringAbsolute path with the format's extension
overwriteboolean
sequenceobjectWhich sequence. Give its name or guid (from list_sequences); omit for the active sequence

get_metadata Get Metadata

Read a project item's metadata: the project metadata (Project panel columns, as XML) and the XMP metadata (as an XMP packet)

ParameterTypeDescription
item *objectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique
kindstringDefault both

set_metadata Set Metadata

Write a project item's XMP metadata (a whole XMP packet, usually get_metadata's with your changes) or project metadata (XML, with the names of the fields that changed). One undo step

ParameterTypeDescription
item *objectA project item: its id (from list_project_items), its bin path such as "Footage/Interviews/a.mov", or its name when that is unique
fieldsarrayWith projectMetadata: the field names that changed
projectMetadatastringProject metadata XML
xmpstringThe full XMP packet to store

get_metadata_display Get Metadata Display

Read the Project panel's column layout (Metadata Display: which metadata fields show as List view columns, in what order and width), as Premiere Pro's XML

set_metadata_display Set Metadata Display

Change the Project panel's Metadata Display: add fields to the project metadata schema (they become available as columns), and/or set the column layout from XML (usually get_metadata_display's with your changes). Not undoable

ParameterTypeDescription
addFieldsarrayFields to add to the project metadata schema
panelMetadatastringThe column layout XML to apply

wait_for_event Wait For Event

Wait until Premiere Pro reports an event (script events), or until the timeout: a project opening, closing, changing, being activated or its Project panel selection changing; a sequence being activated, closed or its selection changing; a Media Encoder job being queued, progressing, completing, failing or being cancelled; an export or import finishing. Returns whether it happened and the event's details. Other calls wait while this one runs

ParameterTypeDescription
event *stringThe event to wait for
sequenceobjectSequence events: listen on this sequence. Default: any sequence
timeoutnumberGive up after this many seconds. Default 60

clear_media_cache Clear Media Cache

Delete Premiere Pro's media cache files (Settings > Media Cache > Delete): conformed audio, peak files and indexes, which Premiere Pro rebuilds as needed. Premiere Pro 26.5 or later. The cache folder and automatic clean-up settings cannot be changed by script

recover_project Recover Project

Recover a project after a crash: list the copies in its Auto-Save folder (the Auto Save scratch disk, by default "Adobe Premiere Pro Auto-Save" beside the project), newest first, and with open: true open the newest (or a chosen one) as a separate project, with Premiere Pro's dialogs turned off. The original project file is not changed

ParameterTypeDescription
folderstringAbsolute path of the Auto-Save folder, when it is not the project's
limitintegerList at most this many copies. Default 20
openbooleanOpen a copy: the newest, or openFile. Default false
openFilestringWith open: the copy to open, from the list
projectstringAbsolute path of the project (.prproj) to recover. Default: the active project

premiere_status Premiere Status

Check the connection to Premiere Pro: the port the server listens on, whether the plugin is connected, Premiere Pro's version, and (with probe) the active project and sequence. Use this first when a call fails to connect

ParameterTypeDescription
probebooleanAlso ask Premiere Pro for the active project and sequence. Default true

execute_premiere_code Execute Premiere Code

Run your own UXP JavaScript in Premiere Pro, as the body of an async function with ppro (require("premierepro")) and transact(project, undoName, build) in scope; build(add) receives add(action) for each Action, created inside the project lock as Premiere Pro 26.3 requires. Return a JSON-friendly value. It runs unrestricted: it can change or delete anything. Prefer the specific tools

ParameterTypeDescription
code *stringAsync function body, e.g. const p = await ppro.Project.getActiveProject(); return p.name;

help Help

List the tools by area, or describe one tool's parameters

ParameterTypeDescription
toolstringA tool name