Run a Mod

Run the Ultra-Realistic Image Generator Mod

Create ultra-realistic images from text descriptions with customizable styles and download capability.

POST
/mods/06bf9fd4-7717-4910-a7bb-ae2286063f9a/run
/mods/06bf9fd4-7717-4910-a7bb-ae2286063f9a/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/06bf9fd4-7717-4910-a7bb-ae2286063f9a/run" \
  -H "X-API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "text_description": "",
      "style_reference_image": {
        "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"
}