GET
/v1/schemas/runway/image/v1%2Fgenerate%2Fimage?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": "image",
"endpointId": "v1/generate/image",
"kind": "output",
"contentHash": "05f682c2034c35c9bee3e668e44d2ac512f421dd5f6b1a9a2b8f083e99221954",
"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": "RoutedImageTaskCreated",
"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": {
"ratio": {
"description": "Concrete output ratio derived from aspectRatio and resolution for the selected model.",
"type": "string"
},
"aspectRatio": {
"description": "Aspect ratio used for routing display.",
"type": "string"
},
"resolution": {
"description": "Megapixel tier used for routing display.",
"type": "string"
}
},
"required": [
"ratio",
"aspectRatio",
"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/image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}