stphtan94117
/
text_to_speech
- Public
- 35 runs
Run stphtan94117/text_to_speech with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
voice |
string
(enum)
|
v2/en_speaker_9
Options: v2/en_speaker_1, v2/en_speaker_2, v2/en_speaker_3, v2/en_speaker_4, v2/en_speaker_5, v2/en_speaker_6, v2/en_speaker_7, v2/en_speaker_8, v2/en_speaker_9 |
Voice version
|
text |
string
|
Text content to convert to audio
|
{
"type": "object",
"title": "Input",
"properties": {
"text": {
"type": "string",
"title": "Text",
"x-order": 1,
"description": "Text content to convert to audio"
},
"voice": {
"enum": [
"v2/en_speaker_1",
"v2/en_speaker_2",
"v2/en_speaker_3",
"v2/en_speaker_4",
"v2/en_speaker_5",
"v2/en_speaker_6",
"v2/en_speaker_7",
"v2/en_speaker_8",
"v2/en_speaker_9"
],
"type": "string",
"title": "voice",
"description": "Voice version",
"default": "v2/en_speaker_9",
"x-order": 0
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}