Run a Mod

Run the Texto a Imagen Mod

Convierte descripciones textuales en imágenes generadas con el estilo que elijas

POST
/mods/4249664c-588d-4b02-84e3-81fc770f3cb4/run
/mods/4249664c-588d-4b02-84e3-81fc770f3cb4/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/4249664c-588d-4b02-84e3-81fc770f3cb4/run" \
  -H "X-API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "estilo": "(No style)",
      "tamano": "square_hd",
      "descripcion": "",
      "mejorar_prompt": false
    }
  }'

Success

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