pollinations / real-basicvsr-video-superresolution

RealBasicVSR: Investigating Tradeoffs in Real-World Video Super-Resolution

  • Public
  • 9K runs
  • L40S
  • GitHub
  • Paper
  • License

Run pollinations/real-basicvsr-video-superresolution with an API

Use one of our client libraries to get started quickly.

Set the REPLICATE_API_TOKEN environment variable

export REPLICATE_API_TOKEN=<paste-your-token-here>

Learn more about authentication

Install Replicate’s Node.js client library

npm install replicate
Learn more about setup

Run pollinations/real-basicvsr-video-superresolution using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

import Replicate from "replicate";
const replicate = new Replicate();

const input = {
    video: "https://replicate.delivery/pbxt/IDqU5iC06tZXDBhzBqWOUEdNgjCSSge3YvkfrJkqPpXcktKn/terrenas_cut_640x360.mov"
};

const output = await replicate.run("pollinations/real-basicvsr-video-superresolution:005b4db1d719c1672c522b220db3bc899a81889986b5adc7a01b4f4cfb34e4a7", { input });

import { writeFile } from "node:fs/promises";
await writeFile("output.mp4", output);
//=> output.mp4 written to disk
Learn more