Tools

List a tool's models

Changed on

The models of one tool, paginated by canonical model. Same route and pricing data as GET /models, plus a real generation example and the explicit per-model input_schema (JSON Schema). Auth is optional; pipeline models are visible only to callers granted access.

get/tools/{tool_key}/models

Request

  • Base URL: https://api.varg.ai/v2
  • URL: https://api.varg.ai/v2/tools/{tool_key}/models
  • Auth: one of:
    • none
    • HTTP bearer

Path parameters

tool_keystring required
Example:image

Tool key (image, video, speech, ...).

Query parameters

pageinteger
limitinteger

Models per page. Out-of-range values are clamped.

Response

A page of models

versionstring nullable required
pageinteger required
limitinteger required
totalinteger required

Total models for the tool.

Example response

{
  "data": [
    {
      "model": "kling_v2_6",
      "tool": "video",
      "routes": [
        {
          "model_key": "fal:kling_v2_6/text_to_video",
          "provider": "fal",
          "modality": [
            "text-to-video"
          ],
          "output_type": "video",
          "ops": {
            "delivery": "poll"
          }
        }
      ]
    }
  ]
}

Changes