@alip as another idea, to add to what @ariestav suggested, if you know the duration, you can also us “dummy” video clips that are the correct duration, then use the Time properties of the Templater Settings effect to match the duration of the images to the duration of the videos. Similarly, you could also have each image precomped, and use the duration of the precomp pre-set to the duration you want, then set the duration of the clip to fill the full duration of the precomp. These two solutions don’t require using ExtendScript, but they would be limited syncing to one song, rather than songs with different durations/transitions on a per-job basis. If you need per-song flexibility, with different timings, you would need to look into using ExtendScript events as previously mentioned.