{
"contentType": "application/json",
"properties": {
"text": {
"description": "合成音频的文案;文本内容最大长度1000,内容过长会返回错误码等信息;系统会校验文本内容,如有问题会返回错误码等信息",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Script for synthesized audio; max length 1000; overly long text returns errors; system validates content"
}
}
},
"voice_id": {
"description": "音色ID 系统提供多种音色可供选择,具体音色效果、音色ID、音色语种对应关系;音色试听不支持自定义文案 音色试听文件命名规范:音色名称#音色ID#音色语种 语音合成目前仅支持官方音色哈,不支持自定义音色",
"type": "string",
"x-i18n": {
"en-US": {
"description": "voice ID multiple system voices available, see voice effect / ID / language mapping; voice preview does not support custom text preview file naming: name#id#language TTS currently supports official voices only, not custom voices"
}
}
},
"voice_language": {
"description": "合成音频的文案;文本内容最大长度1000,内容过长会返回错误码等信息;系统会校验文本内容,如有问题会返回错误码等信息",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Script for synthesized audio; max length 1000; overly long text returns errors; system validates content"
}
}
},
"voice_speed": {
"description": "语速有效范围:0.8~2.0,精确至小数点后1位,超出部分将自动四舍五入",
"type": "integer",
"x-i18n": {
"en-US": {
"description": "Speech rate 0.8–2.0, 1 decimal place; out-of-range values are rounded"
}
}
}
},
"required": [
"text",
"voice_id",
"voice_language"
]
}