Run a Mod

Run the ꧁ renaissance ꧂ Mod.

transform an image into a stunning painting, featuring intricate details reminiscent of renaissance art. it only works if it detects faces.

POST
/mods/30649780-6315-44c3-97a5-19c155a9d1fd/run
/mods/30649780-6315-44c3-97a5-19c155a9d1fd/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/30649780-6315-44c3-97a5-19c155a9d1fd/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"
}