Run a Mod

Run the Dogifier Mod.

Ever wondered what you'd look like as a dog? Dogifier transforms your photo into a canine version of yourself.

POST
/mods/67c0ba9a-dd20-4bc7-b050-dfd0b6b8dc0e/run
/mods/67c0ba9a-dd20-4bc7-b050-dfd0b6b8dc0e/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/67c0ba9a-dd20-4bc7-b050-dfd0b6b8dc0e/run" \
  -H "X-API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "media_input": {
        "type": "image",
        "url": "https://endless.supabase.co/storage/v1/object/public/static/image.png"
      }
    }
  }'

Success

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