GET
/v1/schemas/runway/video/v1%2Fgenerate%2Fvideo?kind=output
Accept:
Response body
0 properties · 0 required · 0 $defsThis schema isn’t a plain object with properties — showing the raw JSON instead.
application/json
{
"provider": "runway",
"activity": "video",
"endpointId": "v1/generate/video",
"kind": "output",
"contentHash": "7fd4250cd6e73ffcf3ff9cf09627001d0f33ff90268fccf8796a5c453ca59e9e",
"specRevision": null,
"provenance": {
"sourceUrl": "https://raw.githubusercontent.com/runwayml/openapi/next/openapi.json",
"sourceHash": "5a01d3f42368eb879b64dad56a5b99d82f89b12d76978c6edfe496d77ad62b82",
"fetchedAt": 1787289629,
"extractorVersion": "1",
"derivation": "upstream-spec",
"verifiedAt": null
},
"createdAt": 1787289629,
"supersededAt": null,
"schema": {
"oneOf": [
{
"title": "RoutedVideoTaskCreated",
"type": "object",
"properties": {
"id": {
"description": "The ID of the created task. Poll GET /v1/tasks/:id for the result.",
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$"
},
"routing": {
"description": "Metadata describing which model the router selected and why.",
"type": "object",
"properties": {
"model": {
"description": "The public name of the model the router selected.",
"type": "string"
},
"provider": {
"description": "The provider of the selected model.",
"type": "string"
},
"configId": {
"description": "The slug of the router config that was applied to this request.",
"type": "string"
},
"resolvedSettings": {
"description": "The resolved config settings the router used for this request.",
"type": "object",
"properties": {
"optimizeFor": {
"description": "The single optimization preference the config selected, used as the soft weighting when scoring eligible models.",
"type": "string",
"enum": [
"cost",
"latency",
"quality"
]
},
"priceCeiling": {
"description": "The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling.",
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"optimizeFor",
"priceCeiling"
],
"additionalProperties": false
},
"resolvedInput": {
"description": "Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options.",
"type": "object",
"properties": {
"duration": {
"description": "Duration in seconds used for routing display (request value or router default).",
"type": "number"
},
"ratio": {
"description": "Concrete output ratio derived from aspectRatio (e.g. \"1280:720\"), or the router default.",
"type": "string"
},
"resolution": {
"description": "Resolution tier from the request, or the router default when omitted.",
"type": "string"
}
},
"required": [
"duration",
"ratio",
"resolution"
],
"additionalProperties": false
},
"estimatedCost": {
"description": "Estimated cost, computed against current pricing.",
"type": "object",
"properties": {
"credits": {
"description": "Estimated cost of the generation in credits.",
"type": "number"
}
},
"required": [
"credits"
],
"additionalProperties": false
},
"capacityFallback": {
"description": "Present only when the config enables fallback.onCapacity and capacity affected this request.",
"type": "object",
"properties": {
"skipped": {
"description": "Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them.",
"type": "array",
"items": {
"type": "string"
}
},
"allExhausted": {
"description": "True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue.",
"type": "boolean"
}
},
"required": [
"skipped",
"allExhausted"
],
"additionalProperties": false
}
},
"required": [
"model",
"provider",
"configId",
"resolvedSettings",
"resolvedInput",
"estimatedCost"
],
"additionalProperties": false
}
},
"required": [
"id",
"routing"
],
"additionalProperties": false
}
]
}
}Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"runway","endpointId":"v1/generate/video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}