suminhthanh
/
xtts-v2-custom
- Public
- 14 runs
Run suminhthanh/xtts-v2-custom 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 |
---|---|---|---|
text |
string
|
Xin chào các bạn
|
Text to synthesize
|
speaker |
string
|
Original speaker audio (wav, mp3, m4a, ogg, or flv). Duration should be at least 6 seconds.
|
|
language |
string
(enum)
|
vi
Options: vi, en, es, fr, de, it, pt, pl, tr, ru, nl, cs, ar, zh, hu, ko, hi |
Output language for the synthesised speech
|
cleanup_voice |
boolean
|
True
|
Whether to apply denoising to the speaker audio (microphone recordings)
|
use_deepfilter |
boolean
|
True
|
Whether to use deepfilter
|
normalize_text |
boolean
|
True
|
Whether to normalize the text
|
aws_access_key_id |
string
|
AWS ACCESS KEY ID
|
|
aws_secret_access_key |
string
|
AWS SECRET ACCESS KEY
|
|
bucket_name |
string
|
AWS S3 Bucket Name
|
|
cdn_download_url |
string
|
CDN Download URL
|
{
"type": "object",
"title": "Input",
"required": [
"speaker"
],
"properties": {
"text": {
"type": "string",
"title": "Text",
"default": "Xin ch\u00e0o c\u00e1c b\u1ea1n",
"x-order": 0,
"description": "Text to synthesize"
},
"speaker": {
"type": "string",
"title": "Speaker",
"format": "uri",
"x-order": 1,
"description": "Original speaker audio (wav, mp3, m4a, ogg, or flv). Duration should be at least 6 seconds."
},
"language": {
"enum": [
"vi",
"en",
"es",
"fr",
"de",
"it",
"pt",
"pl",
"tr",
"ru",
"nl",
"cs",
"ar",
"zh",
"hu",
"ko",
"hi"
],
"type": "string",
"title": "language",
"description": "Output language for the synthesised speech",
"default": "vi",
"x-order": 2
},
"bucket_name": {
"type": "string",
"title": "Bucket Name",
"x-order": 8,
"description": "AWS S3 Bucket Name"
},
"cleanup_voice": {
"type": "boolean",
"title": "Cleanup Voice",
"default": true,
"x-order": 3,
"description": "Whether to apply denoising to the speaker audio (microphone recordings)"
},
"normalize_text": {
"type": "boolean",
"title": "Normalize Text",
"default": true,
"x-order": 5,
"description": "Whether to normalize the text"
},
"use_deepfilter": {
"type": "boolean",
"title": "Use Deepfilter",
"default": true,
"x-order": 4,
"description": "Whether to use deepfilter"
},
"cdn_download_url": {
"type": "string",
"title": "Cdn Download Url",
"x-order": 9,
"description": "CDN Download URL"
},
"aws_access_key_id": {
"type": "string",
"title": "Aws Access Key Id",
"x-order": 6,
"description": "AWS ACCESS KEY ID"
},
"aws_secret_access_key": {
"type": "string",
"title": "Aws Secret Access Key",
"x-order": 7,
"description": "AWS SECRET ACCESS KEY"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "object",
"title": "Output",
"properties": {
"path": {
"title": "Path"
}
}
}