API Reference

Models

List and retrieve information about available AI video generation models.

GET

/v1/models

Returns a list of all available models that can be used for video generation.

Request

curl -X GET "https://api.vidrouter.com/v1/models" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response

200
Success
{
  "data": [
    {
      "id": "runway-gen3",
      "name": "Runway Gen-3",
      "description": "Advanced video generation with photorealistic quality",
      "provider": "runway",
      "type": "text-to-video",
      "max_duration": 10,
      "aspect_ratios": ["16:9", "9:16", "1:1"],
      "pricing": {
        "per_second": 0.05
      },
      "capabilities": [
        "text-to-video",
        "image-to-video"
      ]
    },
    {
      "id": "veo-1",
      "name": "Google Veo",
      "description": "Google's state-of-the-art video generation model",
      "provider": "google",
      "type": "text-to-video",
      "max_duration": 5,
      "aspect_ratios": ["16:9", "9:16"],
      "pricing": {
        "per_second": 0.03
      },
      "capabilities": [
        "text-to-video"
      ]
    }
  ],
  "object": "list"
}

Response Fields

FieldTypeDescription
idstringUnique identifier for the model
namestringHuman-readable name of the model
descriptionstringBrief description of the model's capabilities
providerstringThe company that created the model
typestringType of generation (e.g., "text-to-video")
max_durationnumberMaximum video duration in seconds
aspect_ratiosarraySupported aspect ratios
pricingobjectPricing information
capabilitiesarrayList of supported generation types
GET

/v1/models/{model_id}

Retrieve detailed information about a specific model.

Path Parameters

ParameterTypeDescription
model_idstringThe ID of the model to retrieve

Request

curl -X GET "https://api.vidrouter.com/v1/models/runway-gen3" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response

200
Success
{
  "id": "runway-gen3",
  "name": "Runway Gen-3",
  "description": "Advanced video generation with photorealistic quality",
  "provider": "runway",
  "type": "text-to-video",
  "max_duration": 10,
  "aspect_ratios": ["16:9", "9:16", "1:1"],
  "pricing": {
    "per_second": 0.05
  },
  "capabilities": [
    "text-to-video",
    "image-to-video"
  ],
  "object": "model"
}