GET
/v1/schemas/runway/image/v1/image_upscale
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracecbe9ae85cc6ad0ff714fd5ad664993f943b9d51a6155383212951177e4bc2acb{
"fetchedAt": 1786771313,
"extractorVersion": "1",
"verifiedAt": null
} |
Request 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/image_upscale",
"kind": "input",
"contentHash": "40613bde00924cca98ef8e6cc463ff43a2430c236b0be1c40e11a054eb62b5f8",
"specRevision": null,
"provenance": {
"sourceUrl": "https://raw.githubusercontent.com/runwayml/openapi/next/openapi.json",
"sourceHash": "cbe9ae85cc6ad0ff714fd5ad664993f943b9d51a6155383212951177e4bc2acb",
"fetchedAt": 1786771313,
"extractorVersion": "1",
"derivation": "upstream-spec",
"verifiedAt": null
},
"createdAt": 1786771313,
"supersededAt": null,
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"title": "magnific_precision_upscaler_v2",
"type": "object",
"properties": {
"imageUri": {
"description": "Image to upscale. See [image inputs](/assets/inputs#images) for URL, upload, and file size limits.",
"example": "https://example.com/image.jpg",
"anyOf": [
{
"description": "A HTTPS URL, Runway upload URI, or base64 data URI (e.g. `data:image/png;base64,...`, up to 5MB) containing an encoded image. See [our docs](/assets/inputs#images) on image inputs for more information.",
"example": "https://example.com/image.jpg",
"type": "string",
"minLength": 13,
"maxLength": 2048,
"pattern": "^https:\\/\\/.*"
},
{
"description": "A Runway upload URI. See https://docs.dev.runwayml.com/assets/uploads for more information.",
"example": "runway://<token>",
"type": "string",
"minLength": 13,
"maxLength": 5000,
"pattern": "^runway:\\/\\/.*"
},
{
"description": "A data URI containing encoded media.",
"example": "data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==",
"type": "string",
"minLength": 13,
"maxLength": 5242880,
"pattern": "^data:image\\/.*"
}
]
},
"scaleFactor": {
"description": "Multiplies each input dimension to produce output width and height. Defaults to 2.",
"type": "number",
"enum": [
2,
4,
8,
16
]
},
"sharpen": {
"description": "Sharpness intensity from 0 (none) to 100.",
"type": "integer",
"minimum": 0,
"maximum": 100
},
"smartGrain": {
"description": "Grain and texture enhancement from 0 to 100.",
"type": "integer",
"minimum": 0,
"maximum": 100
},
"ultraDetail": {
"description": "Fine detail enhancement from 0 to 100.",
"type": "integer",
"minimum": 0,
"maximum": 100
},
"flavor": {
"description": "Optimization preset: `sublime` (illustration), `photo` (photographic), or `photo_denoiser` (noisy photos).",
"type": "string",
"enum": [
"sublime",
"photo",
"photo_denoiser"
]
},
"model": {
"type": "string",
"const": "magnific_precision_upscaler_v2"
}
},
"required": [
"imageUri",
"model"
],
"additionalProperties": false
}
],
"discriminator": {
"propertyName": "model"
}
}
}Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"runway","endpointId":"v1/image_upscale","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}