
Use workflows to join two or more videos end-to-end into a single file.
Inputs
Create a Workflow and use the + Add Input button to declare your inputs. These are the parameters that you'll supply to the API when you run your workflow.
Note: Available inputs can be found on the Join Videos tool page and the API parameters can be found on the API Reference page.

Each Inputs has:
name- used as references in your steps and API requeststype- the type of input you're supplyingtexturlnumberboolean(true/false)
required- determines whether a run must supply this input
Join Videos
Add a Tool step and select the Join videos option from the list. Use the + ref drop-menu to add your inputs to their corresponding fields.

API Workflow Run
Send a POST request to the /v5/workflow_runs endpoint, along with your workflow UID and your inputs. May also be sent as a bare top-level object instead of nested under input.
var data = {
"workflow": "VymBYa7gMjW6JQ2njM",
"inputs": {
"video_url": "https://cdn.bannerbear.com/sample_videos/clip.mp4",
"title_text": "New Arrival"
}
}
fetch('https://api.bannerbear.com/v5/workflow_runs', {
method: 'POST',
body: JSON.stringify(data),
headers: {
'Content-Type' : 'application/json',
'Authorization' : `Bearer ${API_KEY}`
}
})
Note: Workflows can be created via the API as well. See Create a Workflow for more.

