Run a Mod

Run the Caption Video Mod

Add subtitles directly to a video.

POST
/mods/d94b19cc-b718-4d90-a633-c75a515a69c8/run
/mods/d94b19cc-b718-4d90-a633-c75a515a69c8/run

The Authorization access token

Authorization

API-Key<token>

API key. Example: "API-Key": "<apiKey>"

In: header

Authorization
Required
Bearer <token>

Session token. Example: "Authorization": "Bearer <token>"

In: header

Request Body

application/jsonRequired

parameters
Required
object

curl -X POST "https://api.endless.io/v1/mods/d94b19cc-b718-4d90-a633-c75a515a69c8/run" \
  -H "API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "video": {
        "type": "video",
        "url": "https://www.youtube.com/watch?v=V3rTaj7zdoc"
      }
    }
  }'

Success

{
  "type": "video",
  "url": "https://www.youtube.com/watch?v=V3rTaj7zdoc"
}