devxpy / cog-wav2lip

Faster version now available at https://gooey.ai/Lipsync/ & https://gooey.ai/lipsync-maker/

  • Public
  • 2.8M runs
  • A100 (80GB)
  • GitHub

Input

Run this model in Node.js with one line of code:

npx create-replicate --model=devxpy/cog-wav2lip
or set up a project from scratch
npm install replicate
Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Import and set up the client:
import Replicate from "replicate";

const replicate = new Replicate({
  auth: process.env.REPLICATE_API_TOKEN,
});

Run devxpy/cog-wav2lip using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

const output = await replicate.run(
  "devxpy/cog-wav2lip:8d65e3f4f4298520e079198b493c25adfc43c058ffec924f2aefc8010ed25eef",
  {
    input: {
      fps: 25,
      pads: "0 10 0 0",
      smooth: true,
      resize_factor: 1
    }
  }
);
console.log(output);

To learn more, take a look at the guide on getting started with Node.js.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model costs approximately $0.046 to run on Replicate, or 21 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia A100 (80GB) GPU hardware. Predictions typically complete within 33 seconds. The predict time for this model varies significantly based on the inputs.

Readme

Model description

Intended use

Ethical considerations

Caveats and recommendations