Add Gpt-SoVITS TTS, change google translate lang to auto (#600)

# PR Checklist
- [ v ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ v ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ v ] Did you added a type def?

# Description

Add connection Gpt-SoVITS Api to ngrok turnel.

ttsReadOnlyQuoted support to japan Quote (「」)

and change google translate api language to auto (experiment)
This commit is contained in:
kwaroran
2024-08-24 19:56:56 +09:00
committed by GitHub
4 changed files with 212 additions and 14 deletions

View File

@@ -807,6 +807,25 @@ export interface character{
voice?: string
version?: string
}
gptSoVitsConfig?:{
url?:string
ref_audio_path?:string
ref_audio_data?: {
fileName:string
assetId:string
}
volume?:number
text_lang?: "auto" | "auto_yue" | "en" | "zh" | "ja" | "yue" | "ko" | "all_zh" | "all_ja" | "all_yue" | "all_ko"
text?:string
use_prompt?:boolean
prompt?:string | null
prompt_lang?: "auto" | "auto_yue" | "en" | "zh" | "ja" | "yue" | "ko" | "all_zh" | "all_ja" | "all_yue" | "all_ko"
top_p?:number
temperature?:number
speed?:number
top_k?:number
text_split_method?: "cut0" | "cut1" | "cut2" | "cut3" | "cut4" | "cut5"
}
supaMemory?:boolean
additionalAssets?:[string, string, string][]
ttsReadOnlyQuoted?:boolean