High-Quality Voice Cloning TTS for 600+ Languages
Python
add more tips
Han Zhu0ca42732e980
diff --git a/docs/generation-parameters.md b/docs/generation-parameters.mdindex 6ddef0d..6ff0a22 100644--- a/docs/generation-parameters.md+++ b/docs/generation-parameters.md@@ -49,6 +49,8 @@ audio = model.generate(text="Hello, this is a test of duration control", speed=1Priority: `duration` > `speed`.+> **Note:** When using `duration`, the default post-processing step may trim trailing silence, causing the actual output to be slightly shorter than the requested duration. If you need the output duration to **exactly** match the specified value, set `postprocess_output=False` to disable silence removal.+## Pre/Post Processing| Parameter | Type | Default | Description |diff --git a/docs/tips.md b/docs/tips.mdindex 58358b4..2fca43e 100644--- a/docs/tips.md+++ b/docs/tips.md@@ -1,5 +1,10 @@# Tips & Notes-- When cloning **Chinese dialects**, provide both `ref_audio` and `instruct` (e.g., `ref_audio="sichuan.wav", instruct="四川话"`) for more stable dialect output.-- **Min Nan Chinese (闽南语, also known as Hokkien)** can only be synthesized using [Tai-lo romanization](https://en.wikipedia.org/wiki/T%C3%A2i-l%C3%B4) as input; Chinese characters are not supported for Min Nan Chinese in the current model version.-- The model may not reliably generate short audio clips (e.g., 1–2 seconds) without reference audio. If you need to generate short clips, provide reference audio to the model.+- **Combination of `ref_audio` and `instruct`**:+ When both `ref_audio` and `instruct` are provided and they **conflict**, the model will most likely follow the style of the reference audio. When the two are **consistent**, `instruct` can improve cloning stability for the attributes it describes. A typical example is **Chinese dialect cloning**: provide both dialect reference audio and a matching dialect instruct (e.g., `ref_audio="sichuan.wav", instruct="四川话"`) for more stable dialect output.++- **Short Audio Generation**:+ The model may not reliably generate short audio clips (e.g., 1–2 seconds) without reference audio. If you need to generate short clips, provide reference audio to the model.++- **Min Nan Chinese (Hokkien) Input Format**:+ Min Nan Chinese (闽南语, also known as Hokkien) can only be synthesized using [Tai-lo romanization](https://en.wikipedia.org/wiki/T%C3%A2i-l%C3%B4) as input; Chinese characters are not supported for Min Nan Chinese in the current model version.\ No newline at end of filediff --git a/docs/voice-design.md b/docs/voice-design.mdindex 6df9012..a98ee4e 100644--- a/docs/voice-design.md+++ b/docs/voice-design.md@@ -126,3 +126,4 @@ for Chinese — the model auto-fixes mismatches).- **Case-insensitive**: `"Male"`, `"MALE"`, and `"male"` are all accepted, the code will normalize them to lower case.- **Accent vs Dialect**: English accents are only applied to English speech, Chinese dialects are only applied to Chinese speech.+- **Attribute combinations**: Due to training data limitations, some attribute combinations may not work well — the model may ignore certain attributes in a combination. If the output doesn't match your expectation, try simplifying the instruct string.