{"slug":"RealESRGAN_Vid_x2","routeSlug":"realesrgan-vid-x2","name":"RealESRGAN Video 2×","developer":"Xintao","modality":"video","inferenceTypes":["vid-upscale"],"surface":"native-v2","infrastructure":"native-fleet","planRequired":"basic","status":"standard_model","tags":["Native GPU Fleet"],"description":"Fast 2× video super-resolution upscaling on direct GPU capacity.","useCases":["Clean 2× resolution boost for AI-generated or compressed video clips"],"pricing":{"unit":"Resolution × duration × scale","headlineRate":"Live quote via /api/v2/quote","hasLiveQuoteEndpoint":true,"quoteEndpoint":"/api/v2/quote","isEstimated":false,"notes":"Quote exact cost before running via POST /api/v2/quote."},"specs":{"limits":{"scale":2,"max_file_mb":50}},"links":{"html":"https://runstage.dev/models/realesrgan-vid-x2","markdown":"https://runstage.dev/models/realesrgan-vid-x2.md","json":"https://runstage.dev/models/realesrgan-vid-x2.json","playground":"https://runstage.dev/playground?model=RealESRGAN_Vid_x2"},"snippets":{"curl":"# Free pre-run retail quote (optionally pass Authorization: Bearer $RUNSTAGE_API_KEY to verify spend cap)\ncurl -X POST 'https://runstage.dev/api/v2/quote' \\\n  -H \"Content-Type: application/json\" \\\n  -d '{   \"model\": \"RealESRGAN_Vid_x2\",   \"width\": 768,   \"height\": 512,   \"durationSec\": 4,   \"steps\": 8 }'","typescript":"// Free pre-run retail quote (all 50 Runstage catalog models)\nconst quote = await fetch(\"https://runstage.dev/api/v2/quote\", {\n  method: \"POST\",\n  headers: {\n    \"Content-Type\": \"application/json\",\n    // Optional: include Authorization to verify your key's USD spend cap\n    // Authorization: `Bearer ${process.env.RUNSTAGE_API_KEY}`,\n  },\n  body: JSON.stringify({\n  \"model\": \"RealESRGAN_Vid_x2\",\n  \"width\": 768,\n  \"height\": 512,\n  \"durationSec\": 4,\n  \"steps\": 8\n}),\n}).then((r) => r.json());\n\nconsole.log(\"Quoted USD:\", quote.data?.price, quote.data?.basis);","python":"import requests\n\n# Free pre-run retail quote (all 50 Runstage catalog models)\nquote = requests.post(\n    \"https://runstage.dev/api/v2/quote\",\n    json={\n    \"model\": \"RealESRGAN_Vid_x2\",\n    \"width\": 768,\n    \"height\": 512,\n    \"durationSec\": 4,\n    \"steps\": 8\n},\n    timeout=15,\n).json()\n\nprint(\"Quoted USD:\", quote[\"data\"][\"price\"], quote[\"data\"][\"basis\"])"}}