Run a Mod

Run the The Sims 2 Mod

Turn anyone into a classic Sims 2 character.

POST
/mods/73fced18-7c6c-406a-b77b-729a198c6175/run
/mods/73fced18-7c6c-406a-b77b-729a198c6175/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/73fced18-7c6c-406a-b77b-729a198c6175/run" \
  -H "API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "size": "auto",
      "image": {
        "type": "image",
        "url": "https://endless.supabase.co/storage/v1/object/public/static/image.png"
      },
      "quality": "medium"
    }
  }'

Success

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