curl --request POST \
--url https://api.rendobar.com/pipelines \
--header 'Content-Type: application/json' \
--data '
{
"name": "Extract, Burn Captions & Watermark",
"description": "3-step pipeline for caption and watermark",
"nodes": [
{
"id": "extract",
"jobType": "caption.extract",
"params": {}
},
{
"id": "burn",
"jobType": "caption.burn",
"params": {}
},
{
"id": "watermark",
"jobType": "watermark.apply",
"params": {
"watermarks": [
{
"type": "image",
"url": "https://cdn.rendobar.com/assets/brand/logo-full.png",
"position": "bottom-right"
}
]
}
}
],
"edges": [
{
"from": "extract",
"to": "burn",
"outputMapping": {
"sourceField": "captionsUrl",
"targetField": "subtitles"
}
},
{
"from": "burn",
"to": "watermark",
"outputMapping": {
"sourceField": "outputUrl",
"targetField": "source"
}
}
]
}
'