Run a Mod

Run the Star Wars Title Mod

Convierte cualquier texto en el estilo de apertura de Star Wars.

POST
/mods/b9717f84-52fe-480d-a2a7-315de543e5bc/run
/mods/b9717f84-52fe-480d-a2a7-315de543e5bc/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/b9717f84-52fe-480d-a2a7-315de543e5bc/run" \
  -H "API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "size": "auto",
      "prompt": "string",
      "quality": "auto",
      "background": "auto",
      "moderation": "auto",
      "output_format": "png",
      "output_compression": 100
    }
  }'

Success

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