Run a Mod

Run the Acapella Generator Mod.

Create an acapella version of any song

POST
/mods/de2da5e5-d496-4cd3-8a86-176057e3ccb7/run
/mods/de2da5e5-d496-4cd3-8a86-176057e3ccb7/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/de2da5e5-d496-4cd3-8a86-176057e3ccb7/run" \
  -H "X-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"
      }
    }
  }'

Success

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