When using the
"frame_durations"
parameter, the API expects to receive an input for every frame. You can set the custom duration in an array of values respective to each frame.
Example: Multi-overlay with 2 frames
"frames": [ [ { "name": "WelcomeBG", "image_url": null }, { "name": "text_container_1", "text": null }, { "name": "text_container_2", "text": null }, { "name": "image_container_circle_1", "image_url": null } ], [ { "name": "WelcomeBG", "image_url": null }, { "name": "text_container_1", "text": null }, { "name": "text_container_2", "text": null }, { "name": "image_container_circle_1", "image_url": null } ] ], "frame_durations": [3, 7], "webhook_url": null, "metadata": null
For more info, check out our API Documentation ↗