ttsds
/
e2
- Public
- 177 runs
-
A100 (80GB)
Prediction
ttsds/e2:5ab0d513ddfb7cd35904877554773eabf0cc6c49a6a7a70f63aaae322d8767dcModelIDatyn6p5pkhrg80cmn07rxjzdfgStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- text
- With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.
- text_reference
- and keeping eternity before the eyes, though much
- speaker_reference
- Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%00:00:000Stream Type LIVERemaining Time -00:00:0001x
- 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.
{ "text": "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "text_reference": "and keeping eternity before the eyes, though much", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run ttsds/e2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "ttsds/e2:5ab0d513ddfb7cd35904877554773eabf0cc6c49a6a7a70f63aaae322d8767dc", { input: { text: "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", text_reference: "and keeping eternity before the eyes, though much", speaker_reference: "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run ttsds/e2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "ttsds/e2:5ab0d513ddfb7cd35904877554773eabf0cc6c49a6a7a70f63aaae322d8767dc", input={ "text": "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "text_reference": "and keeping eternity before the eyes, though much", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run ttsds/e2 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": "5ab0d513ddfb7cd35904877554773eabf0cc6c49a6a7a70f63aaae322d8767dc", "input": { "text": "With tenure, Suzie\'d have all the more leisure for yachting, but her publications are no good.", "text_reference": "and keeping eternity before the eyes, though much", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%00:00:000Stream Type LIVERemaining Time -00:00:0001x- 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-01-27T14:03:26.123591Z", "created_at": "2025-01-27T13:59:49.660000Z", "data_removed": false, "error": null, "id": "atyn6p5pkhrg80cmn07rxjzdfg", "input": { "text": "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "text_reference": "and keeping eternity before the eyes, though much", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" }, "logs": "/tmp/tmpfrof9jz_example_en.wav\nConverting audio...\nUsing custom reference text...\ngen_text 0 With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.\nGenerating audio in 1 batches...\n0%| | 0/1 [00:00<?, ?it/s]Building prefix dict from the default dictionary ...\nDumping model to file cache /tmp/jieba.cache\nLoading model cost 0.928 seconds.\nPrefix dict has been built successfully.\n100%|██████████| 1/1 [00:16<00:00, 16.43s/it]\n100%|██████████| 1/1 [00:16<00:00, 16.43s/it]", "metrics": { "predict_time": 17.166597144, "total_time": 216.463591 }, "output": "https://replicate.delivery/czjl/CU0NmsCnj85IJx2lnkWE2IzYcXR878grWCKvhep85fduQUJUA/generated.wav", "started_at": "2025-01-27T14:03:08.956994Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-cphiyb73k3sd2dafiuamuegz63v354tqmwjfdiw2m6pto733qqdq", "get": "https://api.replicate.com/v1/predictions/atyn6p5pkhrg80cmn07rxjzdfg", "cancel": "https://api.replicate.com/v1/predictions/atyn6p5pkhrg80cmn07rxjzdfg/cancel" }, "version": "5ab0d513ddfb7cd35904877554773eabf0cc6c49a6a7a70f63aaae322d8767dc" }
Generated in/tmp/tmpfrof9jz_example_en.wav Converting audio... Using custom reference text... gen_text 0 With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good. Generating audio in 1 batches... 0%| | 0/1 [00:00<?, ?it/s]Building prefix dict from the default dictionary ... Dumping model to file cache /tmp/jieba.cache Loading model cost 0.928 seconds. Prefix dict has been built successfully. 100%|██████████| 1/1 [00:16<00:00, 16.43s/it] 100%|██████████| 1/1 [00:16<00:00, 16.43s/it]
Prediction
ttsds/e2:5ab0d513ddfb7cd35904877554773eabf0cc6c49a6a7a70f63aaae322d8767dcModelIDatyn6p5pkhrg80cmn07rxjzdfgStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- text
- With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.
- text_reference
- and keeping eternity before the eyes, though much
- speaker_reference
- Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%00:00:000Stream Type LIVERemaining Time -00:00:0001x
- 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.
{ "text": "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "text_reference": "and keeping eternity before the eyes, though much", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run ttsds/e2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "ttsds/e2:5ab0d513ddfb7cd35904877554773eabf0cc6c49a6a7a70f63aaae322d8767dc", { input: { text: "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", text_reference: "and keeping eternity before the eyes, though much", speaker_reference: "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run ttsds/e2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "ttsds/e2:5ab0d513ddfb7cd35904877554773eabf0cc6c49a6a7a70f63aaae322d8767dc", input={ "text": "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "text_reference": "and keeping eternity before the eyes, though much", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run ttsds/e2 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": "5ab0d513ddfb7cd35904877554773eabf0cc6c49a6a7a70f63aaae322d8767dc", "input": { "text": "With tenure, Suzie\'d have all the more leisure for yachting, but her publications are no good.", "text_reference": "and keeping eternity before the eyes, though much", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%00:00:000Stream Type LIVERemaining Time -00:00:0001x- 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-01-27T14:03:26.123591Z", "created_at": "2025-01-27T13:59:49.660000Z", "data_removed": false, "error": null, "id": "atyn6p5pkhrg80cmn07rxjzdfg", "input": { "text": "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "text_reference": "and keeping eternity before the eyes, though much", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" }, "logs": "/tmp/tmpfrof9jz_example_en.wav\nConverting audio...\nUsing custom reference text...\ngen_text 0 With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.\nGenerating audio in 1 batches...\n0%| | 0/1 [00:00<?, ?it/s]Building prefix dict from the default dictionary ...\nDumping model to file cache /tmp/jieba.cache\nLoading model cost 0.928 seconds.\nPrefix dict has been built successfully.\n100%|██████████| 1/1 [00:16<00:00, 16.43s/it]\n100%|██████████| 1/1 [00:16<00:00, 16.43s/it]", "metrics": { "predict_time": 17.166597144, "total_time": 216.463591 }, "output": "https://replicate.delivery/czjl/CU0NmsCnj85IJx2lnkWE2IzYcXR878grWCKvhep85fduQUJUA/generated.wav", "started_at": "2025-01-27T14:03:08.956994Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-cphiyb73k3sd2dafiuamuegz63v354tqmwjfdiw2m6pto733qqdq", "get": "https://api.replicate.com/v1/predictions/atyn6p5pkhrg80cmn07rxjzdfg", "cancel": "https://api.replicate.com/v1/predictions/atyn6p5pkhrg80cmn07rxjzdfg/cancel" }, "version": "5ab0d513ddfb7cd35904877554773eabf0cc6c49a6a7a70f63aaae322d8767dc" }
Generated in/tmp/tmpfrof9jz_example_en.wav Converting audio... Using custom reference text... gen_text 0 With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good. Generating audio in 1 batches... 0%| | 0/1 [00:00<?, ?it/s]Building prefix dict from the default dictionary ... Dumping model to file cache /tmp/jieba.cache Loading model cost 0.928 seconds. Prefix dict has been built successfully. 100%|██████████| 1/1 [00:16<00:00, 16.43s/it] 100%|██████████| 1/1 [00:16<00:00, 16.43s/it]
Want to make some of these yourself?
Run this model