Run a Mod

Run the Happy Quokka Image Generator Mod

Create an image of a happy quokka in a lush green forest with colorful flowers.

POST
/mods/a1b30c5e-94b8-4d78-aafa-c34ff1d1eca6/run
/mods/a1b30c5e-94b8-4d78-aafa-c34ff1d1eca6/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/a1b30c5e-94b8-4d78-aafa-c34ff1d1eca6/run" \
  -H "X-API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "quokka_description": "A happy quokka hopping through a lush green forest, surrounded by tall trees and colorful flowers. The quokka\'s expression is full of excitement and curiosity."
    }
  }'

Success

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