Run a Mod

Run the Viral Text Generator for YouTube Mod

Generate engaging and viral text content for your YouTube page.

POST
/mods/ac7f3418-60c6-4d4e-b088-001656eaaffb/run
/mods/ac7f3418-60c6-4d4e-b088-001656eaaffb/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/ac7f3418-60c6-4d4e-b088-001656eaaffb/run" \
  -H "X-API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "prompt": "",
      "temperature": 0.7,
      "response_format": "text"
    }
  }'

Success

{
  "type": "text",
  "content": "Lorem ipsum dolor sit amet"
}