lucataco
/
orpheus-3b-0.1-ft
Orpheus 3B - high quality, emotive Text to Speech
Run lucataco/orpheus-3b-0.1-ft 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
Run lucataco/orpheus-3b-0.1-ft 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 = {
text: "Hey there my name is Tara, <chuckle> and I'm a speech generation model that can sound like a person."
};
const output = await replicate.run("lucataco/orpheus-3b-0.1-ft:79f2a473e6a9720716a473d9b2f2951437dbf91dc02ccb7079fb3d89b881207f", { input });
import { writeFile } from "node:fs/promises";
await writeFile("output.wav", output);
//=> output.wav written to disk