Run a Mod

Run the Convert to Speech Mod

Transform text, images, and videos into speech for easy listening.

POST
/mods/645fe344-a421-4ff6-bcc4-dcf8dcffa7ac/run
/mods/645fe344-a421-4ff6-bcc4-dcf8dcffa7ac/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/645fe344-a421-4ff6-bcc4-dcf8dcffa7ac/run" \
  -H "API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "speed": 1,
      "emotion": "neutral",
      "media_input": {
        "type": "video",
        "url": "https://endless.io"
      },
      "voice_selection": "moss_audio_d02f9705-09ab-11f0-ab96-82dcc6ce9d69"
    }
  }'

Success

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