Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
Text to synthesize
Reference audio file to clone from <= 10 seconds
Default: "https://files.catbox.moe/be6df3.wav"
Text in the reference audio file
Default: "We actually haven't managed to meet demand."
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camb-ai/mars5-tts using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camb-ai/mars5-tts:4551575ca547261954c57692dfa21b58b2d6d6052180f3284f41512cb64d0fd9", { input: { ref_audio_file: "https://files.catbox.moe/be6df3.wav", ref_audio_transcript: "We actually haven't managed to meet demand." } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
import replicate
output = replicate.run( "camb-ai/mars5-tts:4551575ca547261954c57692dfa21b58b2d6d6052180f3284f41512cb64d0fd9", input={ "ref_audio_file": "https://files.catbox.moe/be6df3.wav", "ref_audio_transcript": "We actually haven't managed to meet demand." } ) print(output)
To learn more, take a look at the guide on getting started with Python.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "4551575ca547261954c57692dfa21b58b2d6d6052180f3284f41512cb64d0fd9", "input": { "ref_audio_file": "https://files.catbox.moe/be6df3.wav", "ref_audio_transcript": "We actually haven\'t managed to meet demand." } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
No output yet! Press "Submit" to start a prediction.
Choose a file from your machine
Hint: you can also drag files onto the input