Run a Mod

Run the Dubbing Mod

Localize content across 29 languages with AI dubbing.

POST
/mods/b89a9f98-b790-4337-951b-0de8c0f3c8c0/run
/mods/b89a9f98-b790-4337-951b-0de8c0f3c8c0/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/b89a9f98-b790-4337-951b-0de8c0f3c8c0/run" \
  -H "API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "media_input": {
        "type": "audio",
        "url": "https://endless.supabase.co/storage/v1/object/public/static/audio.m4a"
      },
      "source_language": "en",
      "target_language": "en",
      "number_of_speakers": 0
    }
  }'

Success

{
  "type": "audio",
  "url": "https://endless.supabase.co/storage/v1/object/public/static/audio.m4a"
}