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.
sruthiselvaraj /indicparlertts:feba89f7
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run sruthiselvaraj/indicparlertts using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"sruthiselvaraj/indicparlertts:feba89f750cb30bd7c5fb53533b78873a313ff7cc168ae2df304f202cca5b1c8",
{
input: {
prompt: "Hey, how are you doing today?",
description: "A female speaker with a British accent delivers a slightly expressive and animated speech with a moderate speed and pitch. The recording is of very high quality, with the speaker's voice sounding clear and very close up."
}
}
);
// To access the file URL:
console.log(output.url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run sruthiselvaraj/indicparlertts using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"sruthiselvaraj/indicparlertts:feba89f750cb30bd7c5fb53533b78873a313ff7cc168ae2df304f202cca5b1c8",
input={
"prompt": "Hey, how are you doing today?",
"description": "A female speaker with a British accent delivers a slightly expressive and animated speech with a moderate speed and pitch. The recording is of very high quality, with the speaker's voice sounding clear and very close up."
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run sruthiselvaraj/indicparlertts using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"version": "sruthiselvaraj/indicparlertts:feba89f750cb30bd7c5fb53533b78873a313ff7cc168ae2df304f202cca5b1c8",
"input": {
"prompt": "Hey, how are you doing today?",
"description": "A female speaker with a British accent delivers a slightly expressive and animated speech with a moderate speed and pitch. The recording is of very high quality, with the speaker\'s voice sounding clear and very close up."
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
{
"completed_at": "2025-04-02T08:32:46.127591Z",
"created_at": "2025-04-02T08:32:35.768000Z",
"data_removed": false,
"error": null,
"id": "v2vksxbvq1rme0cnypgswx8r7m",
"input": {
"prompt": "Hey, how are you doing today?",
"description": "A female speaker with a British accent delivers a slightly expressive and animated speech with a moderate speed and pitch. The recording is of very high quality, with the speaker's voice sounding clear and very close up."
},
"logs": "Tokenizing inputs...\nGenerating audio...\nAudio array shape: (83968,), dtype: float32\nWriting audio file to test.wav...",
"metrics": {
"predict_time": 10.350133131,
"total_time": 10.359591
},
"output": "https://replicate.delivery/xezq/PXSDQ47QyM5DINSDH2JkQuO3CB8dB2Wbaerv2Li7SlbXQVPKA/test.wav",
"started_at": "2025-04-02T08:32:35.777458Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-ihwng5n3t5v35abb42wz2t3mpnv4qhegqkfmwx27manafd76tnfq",
"get": "https://api.replicate.com/v1/predictions/v2vksxbvq1rme0cnypgswx8r7m",
"cancel": "https://api.replicate.com/v1/predictions/v2vksxbvq1rme0cnypgswx8r7m/cancel"
},
"version": "feba89f750cb30bd7c5fb53533b78873a313ff7cc168ae2df304f202cca5b1c8"
}
Tokenizing inputs...
Generating audio...
Audio array shape: (83968,), dtype: float32
Writing audio file to test.wav...