Image sequence API
This script is for those who want to use an image sequence as a parameter for rendering, and it’s only available when creating a rendering using REST API. To set it up, add this script to a video or image layer, and make sure that you don’t parametrize that layer, just add the script. The script will ask you to add a parameter name. To swap it out for an image sequence during rendering, you need to add that parameter name in the parameters
list and send the array containing your image sequence as a parameter.
If you define the parameter with a name image_sequence
in the script, here is an example a body for create render JSON that provides an array of images to be used for the sequence creation:
{
"projectId": "5bf8483b-a591-476a-afff-0db5fe1ea70f",
"parameters": {
"image_sequence": [
"https://cdn.filestackcontent.com/0ITCVdATSZyyUpP4JRvu",
"https://cdn.filestackcontent.com/4eOvgf8hR3OcaPTW5wZb",
"https://cdn.filestackcontent.com/G9JSG5YQhuswnPuCaq8S",
"https://cdn.filestackcontent.com/Wp7VUtnpTpW82jg0Z2h0",
"https://cdn.filestackcontent.com/M05K3YEpSHCoeOx2AFTW"
]
}
}