Plotly animations : how to specify duration for each frame?

I wonder if it is possible in a plotly animation to specify different durations for each frame. For example, lets say I have 4 frame, and I want the first to last 500 ms, then 252 ms, 1000 ms, and 736 ms.
Thank you a lot for your help !