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: "This is the best time of my life, Bartley,' she said happily",
description: "A male speaker with a low-pitched voice speaks with a British accent at a fast pace in a small, confined space with very clear audio and an animated tone."
}
}
);
// 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": "This is the best time of my life, Bartley,' she said happily",
"description": "A male speaker with a low-pitched voice speaks with a British accent at a fast pace in a small, confined space with very clear audio and an animated tone."
}
)
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": "This is the best time of my life, Bartley,\' she said happily",
"description": "A male speaker with a low-pitched voice speaks with a British accent at a fast pace in a small, confined space with very clear audio and an animated tone."
}
}' \
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-02T09:09:21.511916Z",
"created_at": "2025-04-02T09:08:15.587000Z",
"data_removed": false,
"error": null,
"id": "c94d2d92cdrm80cnyq19kk1p2g",
"input": {
"prompt": "This is the best time of my life, Bartley,' she said happily",
"description": "A male speaker with a low-pitched voice speaks with a British accent at a fast pace in a small, confined space with very clear audio and an animated tone."
},
"logs": "Tokenizing inputs...\nGenerating audio...\n`prompt_attention_mask` is specified but `attention_mask` is not. A full `attention_mask` will be created. Make sure this is the intended behaviour.\nAudio array shape: (136192,), dtype: float32\nWriting audio file to test.wav...",
"metrics": {
"predict_time": 16.93226892,
"total_time": 65.924916
},
"output": "https://replicate.delivery/xezq/ZcJJ9el6gqSMcyQKrpUDkeeYRswpZ7zMpb6RVVwjgZPCGW9oA/test.wav",
"started_at": "2025-04-02T09:09:04.579647Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-isnzpjapnl5gpbkwz6iwwabq4e67llrbop5u2qeazfxg4tmhpizq",
"get": "https://api.replicate.com/v1/predictions/c94d2d92cdrm80cnyq19kk1p2g",
"cancel": "https://api.replicate.com/v1/predictions/c94d2d92cdrm80cnyq19kk1p2g/cancel"
},
"version": "feba89f750cb30bd7c5fb53533b78873a313ff7cc168ae2df304f202cca5b1c8"
}
Tokenizing inputs...
Generating audio...
`prompt_attention_mask` is specified but `attention_mask` is not. A full `attention_mask` will be created. Make sure this is the intended behaviour.
Audio array shape: (136192,), dtype: float32
Writing audio file to test.wav...