Here's how you can combine multiple videos into one using a fade transition.
Add the video elements and place them on the same track so that they play consecutively.
1{
2 "output_format": "mp4",
3 "elements": [
4 {
5 "type": "video",
6 "source": "https://creatomate.com/files/assets/d9daf777-7aef-4173-b383-cda84c7a298f.mp4",
7 "track": 1
8 },
9 {
10 "type": "video",
11 "source": "https://creatomate.com/files/assets/f382bbb1-457c-49f7-94af-06f94a6fb751.mp4",
12 "track": 1
13 }
14 ]
15}
To apply the transition effect between the two videos, we're going to add the animation to the element we're transitioning to. That's it!
1{
2 "output_format": "mp4",
3 "elements": [
4 {
5 "type": "video",
6 "source": "https://creatomate.com/files/assets/d9daf777-7aef-4173-b383-cda84c7a298f.mp4",
7 "track": 1
8 },
9 {
10 "type": "video",
11 "source": "https://creatomate.com/files/assets/f382bbb1-457c-49f7-94af-06f94a6fb751.mp4",
12 "track": 1,
13 "animations": [
14 {
15 "duration": 1,
16 "transition": true,
17 "type": "fade"
18 }
19 ]
20 }
21 ]
22}