Run a Mod

Run the Voice King Mod

Effortlessly transform media into speech with a variety of voice options and audio enhancement.

POST
/mods/01ad1df6-4e0d-46b4-a324-6c13e55e79f4/run
/mods/01ad1df6-4e0d-46b4-a324-6c13e55e79f4/run

The Authorization access token

Authorization

X-API-Key<token>

API key. Example: "X-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/01ad1df6-4e0d-46b4-a324-6c13e55e79f4/run" \
  -H "X-API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "audio": {
        "type": "audio",
        "url": "https://endless.supabase.co/storage/v1/object/public/static/audio.m4a"
      },
      "voice_id": "pNInz6obpgDQGcFmaJgB",
      "media_input": {
        "type": "video",
        "url": "https://endless.io"
      },
      "voice_enhancer": false
    }
  }'

Success

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