usamaehsan
/
voice
- Public
- 9 runs
Run usamaehsan/voice 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 |
---|---|---|---|
mode |
string
(enum)
|
zero_shot
Options: zero_shot, cross_lingual, voice_conversion |
Voice synthesis mode
|
text |
string
|
Text to be synthesized (for zero_shot and cross_lingual modes)
|
|
prompt_text |
string
|
Prompt text corresponding to the prompt audio (for zero_shot mode only)
|
|
prompt_audio |
string
|
Prompt audio file (for zero_shot and cross_lingual modes)
|
|
source_audio |
string
|
Source audio file for voice conversion
|
|
target_audio |
string
|
Target audio file for voice conversion
|
{
"type": "object",
"title": "Input",
"properties": {
"mode": {
"enum": [
"zero_shot",
"cross_lingual",
"voice_conversion"
],
"type": "string",
"title": "mode",
"description": "Voice synthesis mode",
"default": "zero_shot",
"x-order": 0
},
"text": {
"type": "string",
"title": "Text",
"x-order": 1,
"description": "Text to be synthesized (for zero_shot and cross_lingual modes)"
},
"prompt_text": {
"type": "string",
"title": "Prompt Text",
"x-order": 2,
"description": "Prompt text corresponding to the prompt audio (for zero_shot mode only)"
},
"prompt_audio": {
"type": "string",
"title": "Prompt Audio",
"format": "uri",
"x-order": 3,
"description": "Prompt audio file (for zero_shot and cross_lingual modes)"
},
"source_audio": {
"type": "string",
"title": "Source Audio",
"format": "uri",
"x-order": 4,
"description": "Source audio file for voice conversion"
},
"target_audio": {
"type": "string",
"title": "Target Audio",
"format": "uri",
"x-order": 5,
"description": "Target audio file for voice conversion"
}
}
}
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"
}