Run a Mod

Run the Pixar 3D Style Image Generator Mod

Generate images from text or image input with a Pixar 3D style and customizable output format.

POST
/mods/82665a77-a59d-40c3-966c-ce4762e961a8/run
/mods/82665a77-a59d-40c3-966c-ce4762e961a8/run

The Authorization access token

Authorization

API-Key<token>

API key. Example: "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/82665a77-a59d-40c3-966c-ce4762e961a8/run" \
  -H "API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "style_choice": "3D Model",
      "initial_input": {
        "type": "text",
        "content": "Lorem ipsum dolor sit amet"
      },
      "output_format": "square_hd",
      "enhance_prompt": false
    }
  }'

Success

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