Skip to main content
POST
/
pipelines
Create and execute a pipeline
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"
      }
    }
  ]
}
'
{
  "data": {
    "pipelineId": "<string>",
    "status": "<string>",
    "nodeCount": 123,
    "edgeCount": 123
  }
}

Body

application/json
name
string
required

Human-readable pipeline name

Minimum string length: 1
nodes
object[]
required

Pipeline job nodes

Minimum array length: 1
edges
object[]
required

Directed edges connecting nodes

description
string

Optional pipeline description

Response

Pipeline created and execution started

data
object
required