Run a Mod

Run the Jenrix Image Mod

Generate an image from a text description with customizable style options, including Pixar and Disney styles, and aspect ratio.

POST
/mods/d75e6f60-8913-40b4-ba76-93b1d63168d6/run
/mods/d75e6f60-8913-40b4-ba76-93b1d63168d6/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/d75e6f60-8913-40b4-ba76-93b1d63168d6/run" \
  -H "X-API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "image_style": "Creative",
      "aspect_ratio": "landscape_16_9",
      "text_description": ""
    }
  }'

Success

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