Videoslash API
A I Lab

Get AI Lab tool

GET
/v1/ai-lab/tools/{tool}

Retrieve one AI Lab tool. Its inputSchema is the request body for POST /v1/ai-lab/{tool}/runs.

Requires an API key with the read scope.

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication. Create a key in your Account settings.

Pass the full key in the Authorization header:

Authorization: Bearer vsl_...

Keys are shown only once at creation. Treat them like passwords.

In: header

Path Parameters

tool*string

AI Lab tool identifier.

Value in

  • "recast"
  • "reshoot"
  • "erase"
  • "extend"
  • "edit"
  • "recreate"
  • "thumbnail"
  • "upscale"
  • "lipsync"
  • "voice"
  • "translate"
  • "background"
  • "sound"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/ai-lab/tools/recast"
{  "id": "upscale",  "title": "Upscale",  "summary": "Sharpen a video to 720p, 1080p or 4K, optionally up to 60 fps.",  "description": "Restores detail in soft, low-resolution or compressed clips and outputs 720p, 1080p or 4K at 24, 30 or 60 fps. Faces, hair, skin and text get sharper; the original sound is kept. Clips longer than 2 minutes use their first 2 minutes.",  "output": "video",  "media": [    {      "path": "video",      "kind": "video",      "accept": [        "video/mp4",        "video/quicktime"      ],      "maxBytes": 209715200,      "required": true,      "minSeconds": 1,      "maxSeconds": 120,      "label": "Video to upscale",      "notes": "Longer clips use their first 2 minutes."    }  ],  "inputSchema": {    "type": "object",    "properties": {      "video": {        "type": "string",        "minLength": 1,        "maxLength": 600      },      "resolution": {        "type": "string",        "enum": [          "720p",          "1080p",          "4k"        ]      },      "fps": {        "type": "integer"      }    },    "required": [      "video",      "resolution",      "fps"    ]  }}
{  "error": {    "code": "missing_api_key",    "message": "string"  }}
{  "error": {    "code": "missing_api_key",    "message": "string"  }}
{  "error": {    "code": "not_found",    "message": "Unknown AI Lab tool \"upscaler\"."  }}
{  "error": {    "code": "missing_api_key",    "message": "string"  }}