Skip to main content
Ghxst_Dz
Participant
Aug 3, 2026 1:16 PM UTC
Open for Voting

Expose Mask API in the Premiere Pro UXP SDK

I'd like to request that Adobe expose mask manipulation through the Premiere Pro UXP API.

Currently developers can work with sequences, clips, markers, and many timeline operations, but there is no public API for accessing or editing masks attached to clips or effects.

It would be extremely valuable if the API allowed developers to:

Read all masks
Create new masks
Duplicate existing masks
Delete masks
Move masks from effect to another or from unassigned masks to an effect

    6 replies

    bbb_999
    Community Manager
    Community Manager
    Oct 28, 2026 6:39 PM UTC

    Interesting! 

    If there is a mask present, and you can’t get at the details of that mask (which will 100% be the case because we haven’t exposed any of our new smart masking), wouldn’t you want to be able to request masked pixels from Pr, rather than just using what’s underneath? 

    “Oh, there’s a mask on this trackItem...I’ll just skip it” seems fraught with peril. :)

     

    Translate
    Mads352754037o59
    Participant
    Oct 28, 2026 7:26 PM UTC

    I see what you mean, but I wouldn't use the masked pixels even if I could access them.

    Storyboard Pro has a single panel track, and our drawings use Toon Boom's proprietary TVG vector format. I take the topmost fully opaque panel because that's the drawing the artist needs to keep working on. The masked clip above it shows what needs to be redrawn.

    I render the first frame of each panel in Premiere and import it as a bitmap on the panel's top layer in Storyboard Pro. The artist can then see the editor's reference while editing the original vector artwork underneath.

    I think I've mostly worked out how to detect an opacity mask programmatically, but I still can't get Premiere to reliably confirm that there isn't one. I'm not confident it works in every case, so the tool still shows a warning. I could inspect the .prproj file itself, but I've avoided that so far.

    Translate
    Bruce Bullis
    Legend
    Aug 3, 2026 1:49 PM UTC

    Hello Ghxst_Dz,

    Mask data isn’t stored in any share-able format; if it were, what would you like to do with that mask data? 

    How do you imagine programmatic mask creation would work? [If you’re creating it via API, you’re creating it without user interaction...]

    If you’re planning to move masks from one trackItem to another (I’m not sure what an unassigned mask would even mean, in Premiere), it sounds like you’re on your way to inventing After Effects. ;)

    More details on the workflows you’d like to enable/support, beyond basic CRUD functionality, might help make the case for prioritizing such work.

    Translate
    Mads352754037o59
    Participant
    Oct 28, 2026 8:14 AM UTC

    Hi Bruce,

    I don’t know about Ghxst_Dz, but I am currently searching for a way to programmatically determining if a clip parameter has a mask. Being able to enumerate connected masks would be useful to me personally.

    Translate
    bbb_999
    Community Manager
    Community Manager
    Oct 28, 2026 5:22 PM UTC

    Which trackItem param(s) are you trying to check for the presence of masks? 

    If you found that a trackItem had a mask applied, what would you do with that information? 

    Translate