andreemic / forced-alignment

Match audio timestamps to text using Aeneas.

  • Public
  • 157 runs
  • CPU
Iterate in playground

Input

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

npx create-replicate --model=andreemic/forced-alignment
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 andreemic/forced-alignment using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

const output = await replicate.run(
  "andreemic/forced-alignment:1c50a6ba0ba56e936f16431769dc7d7492d17f8ae79bc1e9960a23e9cdc1a870",
  {
    input: {
      tail: 0
    }
  }
);

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.00018 to run on Replicate, or 5555 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 CPU hardware. Predictions typically complete within 2 seconds.

Readme

Model description

Intended use

Ethical considerations

Caveats and recommendations