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.
afiaka87 /tortoise-tts:e9658de4
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";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run afiaka87/tortoise-tts using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"afiaka87/tortoise-tts:e9658de4b325863c4fcdc12d94bb7c9b54cbfe351b7ca1b36860008172b91c71",
{
input: {
seed: 0,
text: "The expressiveness of autoregressive transformers is literally nuts! I absolutely adore them.",
preset: "fast",
voice_a: "tom",
voice_b: "disabled",
voice_c: "disabled",
cvvp_amount: 0
}
}
);
console.log(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 afiaka87/tortoise-tts using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"afiaka87/tortoise-tts:e9658de4b325863c4fcdc12d94bb7c9b54cbfe351b7ca1b36860008172b91c71",
input={
"seed": 0,
"text": "The expressiveness of autoregressive transformers is literally nuts! I absolutely adore them.",
"preset": "fast",
"voice_a": "tom",
"voice_b": "disabled",
"voice_c": "disabled",
"cvvp_amount": 0
}
)
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 afiaka87/tortoise-tts 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": "e9658de4b325863c4fcdc12d94bb7c9b54cbfe351b7ca1b36860008172b91c71",
"input": {
"seed": 0,
"text": "The expressiveness of autoregressive transformers is literally nuts! I absolutely adore them.",
"preset": "fast",
"voice_a": "tom",
"voice_b": "disabled",
"voice_c": "disabled",
"cvvp_amount": 0
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
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": "2022-08-11T10:49:37.042797Z",
"created_at": "2022-08-11T10:48:15.709883Z",
"data_removed": false,
"error": null,
"id": "xcxnbxeytbghhegcm2w7jg43te",
"input": {
"seed": 0,
"text": "The expressiveness of autoregressive transformers is literally nuts! I absolutely adore them.",
"preset": "fast",
"voice_a": "tom",
"voice_b": "disabled",
"voice_c": "disabled"
},
"logs": "Generating text using voices: ['tom']",
"metrics": {
"predict_time": 81.138097,
"total_time": 81.332914
},
"output": "https://replicate.delivery/mgxm/c07e881f-0f8d-45ef-9bec-69301e163b6f/tortoise.mp3",
"started_at": "2022-08-11T10:48:15.904700Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/xcxnbxeytbghhegcm2w7jg43te",
"cancel": "https://api.replicate.com/v1/predictions/xcxnbxeytbghhegcm2w7jg43te/cancel"
},
"version": "e9658de4b325863c4fcdc12d94bb7c9b54cbfe351b7ca1b36860008172b91c71"
}
Generating text using voices: ['tom']